naftiko: 1.0.0-alpha2 info: label: Uptrace API — Projects description: 'Uptrace API — Projects. 5 operations. Lead operation: List Projects. Self-contained Naftiko capability covering one Uptrace business surface.' tags: - Uptrace - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UPTRACE_API_KEY: UPTRACE_API_KEY capability: consumes: - type: http namespace: uptrace-projects baseUri: https://api.uptrace.dev description: Uptrace API — Projects business capability. Self-contained, no shared references. resources: - name: api-v1-projects path: /api/v1/projects operations: - name: listprojects method: GET description: List Projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproject method: POST description: Create Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v1-projects-projectId path: /api/v1/projects/{projectId} operations: - name: getproject method: GET description: Get Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: integer required: true - name: updateproject method: PUT description: Update Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: integer required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Delete Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: integer required: true authentication: type: bearer token: '{{env.UPTRACE_API_KEY}}' exposes: - type: rest namespace: uptrace-projects-rest port: 8080 description: REST adapter for Uptrace API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/projects name: api-v1-projects description: REST surface for api-v1-projects. operations: - method: GET name: listprojects description: List Projects call: uptrace-projects.listprojects outputParameters: - type: object mapping: $. - method: POST name: createproject description: Create Project call: uptrace-projects.createproject with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/projects/{projectid} name: api-v1-projects-projectid description: REST surface for api-v1-projects-projectId. operations: - method: GET name: getproject description: Get Project call: uptrace-projects.getproject with: projectId: rest.projectId outputParameters: - type: object mapping: $. - method: PUT name: updateproject description: Update Project call: uptrace-projects.updateproject with: projectId: rest.projectId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Delete Project call: uptrace-projects.deleteproject with: projectId: rest.projectId outputParameters: - type: object mapping: $. - type: mcp namespace: uptrace-projects-mcp port: 9090 transport: http description: MCP adapter for Uptrace 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: uptrace-projects.listprojects outputParameters: - type: object mapping: $. - name: create-project description: Create Project hints: readOnly: false destructive: false idempotent: false call: uptrace-projects.createproject with: body: tools.body outputParameters: - type: object mapping: $. - name: get-project description: Get Project hints: readOnly: true destructive: false idempotent: true call: uptrace-projects.getproject with: projectId: tools.projectId outputParameters: - type: object mapping: $. - name: update-project description: Update Project hints: readOnly: false destructive: false idempotent: true call: uptrace-projects.updateproject with: projectId: tools.projectId body: tools.body outputParameters: - type: object mapping: $. - name: delete-project description: Delete Project hints: readOnly: false destructive: true idempotent: true call: uptrace-projects.deleteproject with: projectId: tools.projectId outputParameters: - type: object mapping: $.