naftiko: 1.0.0-alpha2 info: label: Koyeb Rest API — Projects description: 'Koyeb Rest API — Projects. 6 operations. Lead operation: List projects. Self-contained Naftiko capability covering one Koyeb business surface.' tags: - Koyeb - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KOYEB_API_KEY: KOYEB_API_KEY capability: consumes: - type: http namespace: koyeb-projects baseUri: https://app.koyeb.com description: Koyeb Rest API — Projects business capability. Self-contained, no shared references. resources: - name: v1-projects path: /v1/projects operations: - name: listprojects method: GET description: List projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: string description: (Optional) The number of items to return - name: offset in: query type: string description: (Optional) The offset in the list of item to return - name: createproject method: POST description: Create project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: body type: string required: true - name: v1-projects-id path: /v1/projects/{id} operations: - name: getproject method: GET description: Get project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: deleteproject method: DELETE description: Delete project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: updateproject method: PUT description: Update project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: project in: body type: string required: true - name: update_mask in: query type: string - name: updateproject2 method: PATCH description: Update project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: project in: body type: string required: true - name: update_mask in: query type: string exposes: - type: rest namespace: koyeb-projects-rest port: 8080 description: REST adapter for Koyeb Rest API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/projects name: v1-projects description: REST surface for v1-projects. operations: - method: GET name: listprojects description: List projects call: koyeb-projects.listprojects with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create project call: koyeb-projects.createproject with: project: rest.project outputParameters: - type: object mapping: $. - path: /v1/v1/projects/{id} name: v1-projects-id description: REST surface for v1-projects-id. operations: - method: GET name: getproject description: Get project call: koyeb-projects.getproject with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete project call: koyeb-projects.deleteproject with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateproject description: Update project call: koyeb-projects.updateproject with: id: rest.id project: rest.project update_mask: rest.update_mask outputParameters: - type: object mapping: $. - method: PATCH name: updateproject2 description: Update project call: koyeb-projects.updateproject2 with: id: rest.id project: rest.project update_mask: rest.update_mask outputParameters: - type: object mapping: $. - type: mcp namespace: koyeb-projects-mcp port: 9090 transport: http description: MCP adapter for Koyeb Rest API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-projects description: List projects hints: readOnly: true destructive: false idempotent: true call: koyeb-projects.listprojects with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: create-project description: Create project hints: readOnly: false destructive: false idempotent: false call: koyeb-projects.createproject with: project: tools.project outputParameters: - type: object mapping: $. - name: get-project description: Get project hints: readOnly: true destructive: false idempotent: true call: koyeb-projects.getproject with: id: tools.id outputParameters: - type: object mapping: $. - name: delete-project description: Delete project hints: readOnly: false destructive: true idempotent: true call: koyeb-projects.deleteproject with: id: tools.id outputParameters: - type: object mapping: $. - name: update-project description: Update project hints: readOnly: false destructive: false idempotent: true call: koyeb-projects.updateproject with: id: tools.id project: tools.project update_mask: tools.update_mask outputParameters: - type: object mapping: $. - name: update-project-2 description: Update project hints: readOnly: false destructive: false idempotent: true call: koyeb-projects.updateproject2 with: id: tools.id project: tools.project update_mask: tools.update_mask outputParameters: - type: object mapping: $.