naftiko: 1.0.0-alpha2 info: label: GitHub v3 REST API — Projects description: 'GitHub v3 REST API — Projects. 25 operations. Lead operation: GitHub List Organization Projects. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: github-projects baseUri: '' description: GitHub v3 REST API — Projects business capability. Self-contained, no shared references. resources: - name: orgs-org-projects path: /orgs/{org}/projects operations: - name: projectslistfororg method: GET description: GitHub List Organization Projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state in: query type: string description: Indicates the state of the projects to return. - name: projectscreatefororg method: POST description: GitHub Create an Organization Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-columns-cards-card_id path: /projects/columns/cards/{card_id} operations: - name: projectsgetcard method: GET description: GitHub Get a Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projectsupdatecard method: PATCH description: GitHub Update an Existing Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: projectsdeletecard method: DELETE description: GitHub Delete a Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-columns-cards-card_id-moves path: /projects/columns/cards/{card_id}/moves operations: - name: projectsmovecard method: POST description: GitHub Move a Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-columns-column_id path: /projects/columns/{column_id} operations: - name: projectsgetcolumn method: GET description: GitHub Get a Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projectsupdatecolumn method: PATCH description: GitHub Update an Existing Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projectsdeletecolumn method: DELETE description: GitHub Delete a Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-columns-column_id-cards path: /projects/columns/{column_id}/cards operations: - name: projectslistcards method: GET description: GitHub List Project Cards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: archived_state in: query type: string description: Filters the project cards that are returned by the card's state. - name: projectscreatecard method: POST description: GitHub Create a Project Card outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-columns-column_id-moves path: /projects/columns/{column_id}/moves operations: - name: projectsmovecolumn method: POST description: GitHub Move a Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-project_id path: /projects/{project_id} operations: - name: projectsget method: GET description: GitHub Get a Project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projectsupdate method: PATCH description: GitHub Update a Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: projectsdelete method: DELETE description: GitHub Delete a Project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-collaborators path: /projects/{project_id}/collaborators operations: - name: projectslistcollaborators method: GET description: GitHub List Project Collaborators outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: affiliation in: query type: string description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's organization. `direct` - name: projects-project_id-collaborators-username path: /projects/{project_id}/collaborators/{username} operations: - name: projectsaddcollaborator method: PUT description: GitHub Add Project Collaborator outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: projectsremovecollaborator method: DELETE description: GitHub Remove User as a Collaborator outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-collaborators-username-permission path: /projects/{project_id}/collaborators/{username}/permission operations: - name: projectsgetpermissionforuser method: GET description: GitHub Get Project Permission for a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-columns path: /projects/{project_id}/columns operations: - name: projectslistcolumns method: GET description: GitHub List Project Columns outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projectscreatecolumn method: POST description: GitHub Create a Project Column outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-projects path: /repos/{owner}/{repo}/projects operations: - name: projectslistforrepo method: GET description: GitHub List Repository Projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state in: query type: string description: Indicates the state of the projects to return. - name: projectscreateforrepo method: POST description: GitHub Create a Repository Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: user-projects path: /user/projects operations: - name: projectscreateforauthenticateduser method: POST description: GitHub Create a User Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-username-projects path: /users/{username}/projects operations: - name: projectslistforuser method: GET description: GitHub List User Projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state in: query type: string description: Indicates the state of the projects to return. exposes: - type: rest namespace: github-projects-rest port: 8080 description: REST adapter for GitHub v3 REST API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/{org}/projects name: orgs-org-projects description: REST surface for orgs-org-projects. operations: - method: GET name: projectslistfororg description: GitHub List Organization Projects call: github-projects.projectslistfororg with: state: rest.state outputParameters: - type: object mapping: $. - method: POST name: projectscreatefororg description: GitHub Create an Organization Project call: github-projects.projectscreatefororg with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/cards/{card-id} name: projects-columns-cards-card-id description: REST surface for projects-columns-cards-card_id. operations: - method: GET name: projectsgetcard description: GitHub Get a Project Card call: github-projects.projectsgetcard outputParameters: - type: object mapping: $. - method: PATCH name: projectsupdatecard description: GitHub Update an Existing Project Card call: github-projects.projectsupdatecard with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: projectsdeletecard description: GitHub Delete a Project Card call: github-projects.projectsdeletecard outputParameters: - type: object mapping: $. - path: /v1/projects/columns/cards/{card-id}/moves name: projects-columns-cards-card-id-moves description: REST surface for projects-columns-cards-card_id-moves. operations: - method: POST name: projectsmovecard description: GitHub Move a Project Card call: github-projects.projectsmovecard with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/{column-id} name: projects-columns-column-id description: REST surface for projects-columns-column_id. operations: - method: GET name: projectsgetcolumn description: GitHub Get a Project Column call: github-projects.projectsgetcolumn outputParameters: - type: object mapping: $. - method: PATCH name: projectsupdatecolumn description: GitHub Update an Existing Project Column call: github-projects.projectsupdatecolumn with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: projectsdeletecolumn description: GitHub Delete a Project Column call: github-projects.projectsdeletecolumn outputParameters: - type: object mapping: $. - path: /v1/projects/columns/{column-id}/cards name: projects-columns-column-id-cards description: REST surface for projects-columns-column_id-cards. operations: - method: GET name: projectslistcards description: GitHub List Project Cards call: github-projects.projectslistcards with: archived_state: rest.archived_state outputParameters: - type: object mapping: $. - method: POST name: projectscreatecard description: GitHub Create a Project Card call: github-projects.projectscreatecard with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/columns/{column-id}/moves name: projects-columns-column-id-moves description: REST surface for projects-columns-column_id-moves. operations: - method: POST name: projectsmovecolumn description: GitHub Move a Project Column call: github-projects.projectsmovecolumn with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id} name: projects-project-id description: REST surface for projects-project_id. operations: - method: GET name: projectsget description: GitHub Get a Project call: github-projects.projectsget outputParameters: - type: object mapping: $. - method: PATCH name: projectsupdate description: GitHub Update a Project call: github-projects.projectsupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: projectsdelete description: GitHub Delete a Project call: github-projects.projectsdelete outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/collaborators name: projects-project-id-collaborators description: REST surface for projects-project_id-collaborators. operations: - method: GET name: projectslistcollaborators description: GitHub List Project Collaborators call: github-projects.projectslistcollaborators with: affiliation: rest.affiliation outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/collaborators/{username} name: projects-project-id-collaborators-username description: REST surface for projects-project_id-collaborators-username. operations: - method: PUT name: projectsaddcollaborator description: GitHub Add Project Collaborator call: github-projects.projectsaddcollaborator with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: projectsremovecollaborator description: GitHub Remove User as a Collaborator call: github-projects.projectsremovecollaborator outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/collaborators/{username}/permission name: projects-project-id-collaborators-username-permission description: REST surface for projects-project_id-collaborators-username-permission. operations: - method: GET name: projectsgetpermissionforuser description: GitHub Get Project Permission for a User call: github-projects.projectsgetpermissionforuser outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/columns name: projects-project-id-columns description: REST surface for projects-project_id-columns. operations: - method: GET name: projectslistcolumns description: GitHub List Project Columns call: github-projects.projectslistcolumns outputParameters: - type: object mapping: $. - method: POST name: projectscreatecolumn description: GitHub Create a Project Column call: github-projects.projectscreatecolumn with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/projects name: repos-owner-repo-projects description: REST surface for repos-owner-repo-projects. operations: - method: GET name: projectslistforrepo description: GitHub List Repository Projects call: github-projects.projectslistforrepo with: state: rest.state outputParameters: - type: object mapping: $. - method: POST name: projectscreateforrepo description: GitHub Create a Repository Project call: github-projects.projectscreateforrepo with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/user/projects name: user-projects description: REST surface for user-projects. operations: - method: POST name: projectscreateforauthenticateduser description: GitHub Create a User Project call: github-projects.projectscreateforauthenticateduser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{username}/projects name: users-username-projects description: REST surface for users-username-projects. operations: - method: GET name: projectslistforuser description: GitHub List User Projects call: github-projects.projectslistforuser with: state: rest.state outputParameters: - type: object mapping: $. - type: mcp namespace: github-projects-mcp port: 9090 transport: http description: MCP adapter for GitHub v3 REST API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-organization-projects description: GitHub List Organization Projects hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistfororg with: state: tools.state outputParameters: - type: object mapping: $. - name: github-create-organization-project description: GitHub Create an Organization Project hints: readOnly: false destructive: false idempotent: false call: github-projects.projectscreatefororg with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-project-card description: GitHub Get a Project Card hints: readOnly: true destructive: false idempotent: true call: github-projects.projectsgetcard outputParameters: - type: object mapping: $. - name: github-update-existing-project-card description: GitHub Update an Existing Project Card hints: readOnly: false destructive: false idempotent: true call: github-projects.projectsupdatecard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-project-card description: GitHub Delete a Project Card hints: readOnly: false destructive: true idempotent: true call: github-projects.projectsdeletecard outputParameters: - type: object mapping: $. - name: github-move-project-card description: GitHub Move a Project Card hints: readOnly: false destructive: false idempotent: false call: github-projects.projectsmovecard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-project-column description: GitHub Get a Project Column hints: readOnly: true destructive: false idempotent: true call: github-projects.projectsgetcolumn outputParameters: - type: object mapping: $. - name: github-update-existing-project-column description: GitHub Update an Existing Project Column hints: readOnly: false destructive: false idempotent: true call: github-projects.projectsupdatecolumn with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-project-column description: GitHub Delete a Project Column hints: readOnly: false destructive: true idempotent: true call: github-projects.projectsdeletecolumn outputParameters: - type: object mapping: $. - name: github-list-project-cards description: GitHub List Project Cards hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistcards with: archived_state: tools.archived_state outputParameters: - type: object mapping: $. - name: github-create-project-card description: GitHub Create a Project Card hints: readOnly: false destructive: false idempotent: false call: github-projects.projectscreatecard with: body: tools.body outputParameters: - type: object mapping: $. - name: github-move-project-column description: GitHub Move a Project Column hints: readOnly: false destructive: false idempotent: false call: github-projects.projectsmovecolumn with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-project description: GitHub Get a Project hints: readOnly: true destructive: false idempotent: true call: github-projects.projectsget outputParameters: - type: object mapping: $. - name: github-update-project description: GitHub Update a Project hints: readOnly: false destructive: false idempotent: true call: github-projects.projectsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-project description: GitHub Delete a Project hints: readOnly: false destructive: true idempotent: true call: github-projects.projectsdelete outputParameters: - type: object mapping: $. - name: github-list-project-collaborators description: GitHub List Project Collaborators hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistcollaborators with: affiliation: tools.affiliation outputParameters: - type: object mapping: $. - name: github-add-project-collaborator description: GitHub Add Project Collaborator hints: readOnly: false destructive: false idempotent: true call: github-projects.projectsaddcollaborator with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-user-collaborator description: GitHub Remove User as a Collaborator hints: readOnly: false destructive: true idempotent: true call: github-projects.projectsremovecollaborator outputParameters: - type: object mapping: $. - name: github-get-project-permission-user description: GitHub Get Project Permission for a User hints: readOnly: true destructive: false idempotent: true call: github-projects.projectsgetpermissionforuser outputParameters: - type: object mapping: $. - name: github-list-project-columns description: GitHub List Project Columns hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistcolumns outputParameters: - type: object mapping: $. - name: github-create-project-column description: GitHub Create a Project Column hints: readOnly: false destructive: false idempotent: false call: github-projects.projectscreatecolumn with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-repository-projects description: GitHub List Repository Projects hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistforrepo with: state: tools.state outputParameters: - type: object mapping: $. - name: github-create-repository-project description: GitHub Create a Repository Project hints: readOnly: false destructive: false idempotent: false call: github-projects.projectscreateforrepo with: body: tools.body outputParameters: - type: object mapping: $. - name: github-create-user-project description: GitHub Create a User Project hints: readOnly: false destructive: false idempotent: false call: github-projects.projectscreateforauthenticateduser with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-user-projects description: GitHub List User Projects hints: readOnly: true destructive: false idempotent: true call: github-projects.projectslistforuser with: state: tools.state outputParameters: - type: object mapping: $.