naftiko: 1.0.0-alpha2 info: label: Bugsnag Data Access API — Projects description: 'Bugsnag Data Access API — Projects. 6 operations. Lead operation: List organization projects. Self-contained Naftiko capability covering one Bugsnag business surface.' tags: - Bugsnag - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BUGSNAG_API_KEY: BUGSNAG_API_KEY capability: consumes: - type: http namespace: data-access-projects baseUri: https://api.bugsnag.com description: Bugsnag Data Access API — Projects business capability. Self-contained, no shared references. resources: - name: organizations-organization_id-projects path: /organizations/{organization_id}/projects operations: - name: listorganizationprojects method: GET description: List organization projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sort in: query type: string description: The field to sort results by. Supported values include created_at and name. - name: direction in: query type: string description: The sort direction, either ascending or descending. - name: createproject method: POST description: Create a project 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: getproject method: GET description: Get a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateproject method: PATCH description: Update a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Delete a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-api_key path: /projects/{project_id}/api_key operations: - name: regenerateprojectapikey method: DELETE description: Regenerate a project API key outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.BUGSNAG_API_KEY}}' placement: header exposes: - type: rest namespace: data-access-projects-rest port: 8080 description: REST adapter for Bugsnag Data Access API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organization-id}/projects name: organizations-organization-id-projects description: REST surface for organizations-organization_id-projects. operations: - method: GET name: listorganizationprojects description: List organization projects call: data-access-projects.listorganizationprojects with: sort: rest.sort direction: rest.direction outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create a project call: data-access-projects.createproject 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: getproject description: Get a project call: data-access-projects.getproject outputParameters: - type: object mapping: $. - method: PATCH name: updateproject description: Update a project call: data-access-projects.updateproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete a project call: data-access-projects.deleteproject outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/api-key name: projects-project-id-api-key description: REST surface for projects-project_id-api_key. operations: - method: DELETE name: regenerateprojectapikey description: Regenerate a project API key call: data-access-projects.regenerateprojectapikey outputParameters: - type: object mapping: $. - type: mcp namespace: data-access-projects-mcp port: 9090 transport: http description: MCP adapter for Bugsnag Data Access API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-organization-projects description: List organization projects hints: readOnly: true destructive: false idempotent: true call: data-access-projects.listorganizationprojects with: sort: tools.sort direction: tools.direction outputParameters: - type: object mapping: $. - name: create-project description: Create a project hints: readOnly: false destructive: false idempotent: false call: data-access-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: get-project description: Get a project hints: readOnly: true destructive: false idempotent: true call: data-access-projects.getproject outputParameters: - type: object mapping: $. - name: update-project description: Update a project hints: readOnly: false destructive: false idempotent: true call: data-access-projects.updateproject with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project description: Delete a project hints: readOnly: false destructive: true idempotent: true call: data-access-projects.deleteproject outputParameters: - type: object mapping: $. - name: regenerate-project-api-key description: Regenerate a project API key hints: readOnly: false destructive: true idempotent: true call: data-access-projects.regenerateprojectapikey outputParameters: - type: object mapping: $.