naftiko: 1.0.0-alpha2 info: label: JetBrains Space HTTP API — Projects description: 'JetBrains Space HTTP API — Projects. 2 operations. Lead operation: JetBrains List Projects. Self-contained Naftiko capability covering one Jetbrains business surface.' tags: - Jetbrains - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JETBRAINS_API_KEY: JETBRAINS_API_KEY capability: consumes: - type: http namespace: space-projects baseUri: https://{organization}.jetbrains.space/api/http description: JetBrains Space HTTP API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects operations: - name: listprojects method: GET description: JetBrains List Projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $skip in: query type: integer - name: $top in: query type: integer - name: projects-projectId path: /projects/{projectId} operations: - name: getproject method: GET description: JetBrains Get Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true authentication: type: bearer token: '{{env.JETBRAINS_API_KEY}}' exposes: - type: rest namespace: space-projects-rest port: 8080 description: REST adapter for JetBrains Space HTTP API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects name: projects description: REST surface for projects. operations: - method: GET name: listprojects description: JetBrains List Projects call: space-projects.listprojects with: $skip: rest.$skip $top: rest.$top outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid} name: projects-projectid description: REST surface for projects-projectId. operations: - method: GET name: getproject description: JetBrains Get Project call: space-projects.getproject with: projectId: rest.projectId outputParameters: - type: object mapping: $. - type: mcp namespace: space-projects-mcp port: 9090 transport: http description: MCP adapter for JetBrains Space HTTP API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jetbrains-list-projects description: JetBrains List Projects hints: readOnly: true destructive: false idempotent: true call: space-projects.listprojects with: $skip: tools.$skip $top: tools.$top outputParameters: - type: object mapping: $. - name: jetbrains-get-project description: JetBrains Get Project hints: readOnly: true destructive: false idempotent: true call: space-projects.getproject with: projectId: tools.projectId outputParameters: - type: object mapping: $.