naftiko: 1.0.0-alpha2 info: label: Convex Management API — Projects description: 'Convex Management API — Projects. 5 operations. Lead operation: Get a project by ID. Self-contained Naftiko capability covering one Convex business surface.' tags: - Convex - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONVEX_API_KEY: CONVEX_API_KEY capability: consumes: - type: http namespace: management-projects baseUri: https://api.convex.dev/v1 description: Convex Management API — Projects business capability. Self-contained, no shared references. resources: - name: projects-project_id path: /projects/{project_id} operations: - name: getproject method: GET description: Get a project by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-project_id-delete path: /projects/{project_id}/delete operations: - name: deleteproject method: POST description: Delete a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id_or_slug-projects-project_slug path: /teams/{team_id_or_slug}/projects/{project_slug} operations: - name: getprojectbyslug method: GET description: Get a project by team and project slug outputRawFormat: json outputParameters: - name: result type: object value: $. - name: teams-team_id-create_project path: /teams/{team_id}/create_project operations: - name: createproject method: POST description: Create a new project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: teams-team_id-list_projects path: /teams/{team_id}/list_projects operations: - name: listprojects method: GET description: List projects in a team outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CONVEX_API_KEY}}' exposes: - type: rest namespace: management-projects-rest port: 8080 description: REST adapter for Convex Management API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - 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 by ID call: management-projects.getproject outputParameters: - type: object mapping: $. - path: /v1/projects/{project-id}/delete name: projects-project-id-delete description: REST surface for projects-project_id-delete. operations: - method: POST name: deleteproject description: Delete a project call: management-projects.deleteproject outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id-or-slug}/projects/{project-slug} name: teams-team-id-or-slug-projects-project-slug description: REST surface for teams-team_id_or_slug-projects-project_slug. operations: - method: GET name: getprojectbyslug description: Get a project by team and project slug call: management-projects.getprojectbyslug outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/create-project name: teams-team-id-create-project description: REST surface for teams-team_id-create_project. operations: - method: POST name: createproject description: Create a new project call: management-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-id}/list-projects name: teams-team-id-list-projects description: REST surface for teams-team_id-list_projects. operations: - method: GET name: listprojects description: List projects in a team call: management-projects.listprojects outputParameters: - type: object mapping: $. - type: mcp namespace: management-projects-mcp port: 9090 transport: http description: MCP adapter for Convex Management API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-project-id description: Get a project by ID hints: readOnly: true destructive: false idempotent: true call: management-projects.getproject outputParameters: - type: object mapping: $. - name: delete-project description: Delete a project hints: readOnly: false destructive: false idempotent: false call: management-projects.deleteproject outputParameters: - type: object mapping: $. - name: get-project-team-and-project description: Get a project by team and project slug hints: readOnly: true destructive: false idempotent: true call: management-projects.getprojectbyslug outputParameters: - type: object mapping: $. - name: create-new-project description: Create a new project hints: readOnly: false destructive: false idempotent: false call: management-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: list-projects-team description: List projects in a team hints: readOnly: true destructive: false idempotent: true call: management-projects.listprojects outputParameters: - type: object mapping: $.