naftiko: 1.0.0-alpha2 info: label: SonarCloud API — Projects description: 'SonarCloud API — Projects. 1 operations. Lead operation: Search Projects. Self-contained Naftiko capability covering one Sonar business surface.' tags: - Sonar - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SONAR_API_KEY: SONAR_API_KEY capability: consumes: - type: http namespace: sonarcloud-projects baseUri: https://sonarcloud.io/api description: SonarCloud API — Projects business capability. Self-contained, no shared references. resources: - name: projects-search path: /projects/search operations: - name: searchprojects method: GET description: Search Projects outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization in: query type: string description: Organization key required: true - name: q in: query type: string description: Search query for project name or key - name: qualitygate in: query type: string description: Filter by quality gate name - name: p in: query type: integer description: Page number - name: ps in: query type: integer description: Page size authentication: type: bearer token: '{{env.SONAR_API_KEY}}' exposes: - type: rest namespace: sonarcloud-projects-rest port: 8080 description: REST adapter for SonarCloud API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/search name: projects-search description: REST surface for projects-search. operations: - method: GET name: searchprojects description: Search Projects call: sonarcloud-projects.searchprojects with: organization: rest.organization q: rest.q qualitygate: rest.qualitygate p: rest.p ps: rest.ps outputParameters: - type: object mapping: $. - type: mcp namespace: sonarcloud-projects-mcp port: 9090 transport: http description: MCP adapter for SonarCloud API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-projects description: Search Projects hints: readOnly: true destructive: false idempotent: true call: sonarcloud-projects.searchprojects with: organization: tools.organization q: tools.q qualitygate: tools.qualitygate p: tools.p ps: tools.ps outputParameters: - type: object mapping: $.