naftiko: 1.0.0-alpha2 info: label: Azure Repos Git API — Repositories description: 'Azure Repos Git API — Repositories. 5 operations. Lead operation: Azure Repos List repositories. Self-contained Naftiko capability covering one Microsoft Azure Repo business surface.' tags: - Microsoft Azure Repo - Repositories created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_REPO_API_KEY: MICROSOFT_AZURE_REPO_API_KEY capability: consumes: - type: http namespace: azure-repo-git-repositories baseUri: https://dev.azure.com/{organization}/{project}/_apis description: Azure Repos Git API — Repositories business capability. Self-contained, no shared references. resources: - name: git-repositories path: /git/repositories operations: - name: repositorieslist method: GET description: Azure Repos List repositories outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: includeAllUrls in: query type: boolean description: Set to true to include all remote URLs in the response. Defaults to false. - name: includeHidden in: query type: boolean description: Set to true to include hidden repositories. Defaults to false. - name: repositoriescreate method: POST description: Azure Repos Create a repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: git-repositories-repositoryId path: /git/repositories/{repositoryId} operations: - name: repositoriesget method: GET description: Azure Repos Get a repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositoriesupdate method: PATCH description: Azure Repos Update a repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositoriesdelete method: DELETE description: Azure Repos Delete a repository outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_REPO_API_KEY}}' exposes: - type: rest namespace: azure-repo-git-repositories-rest port: 8080 description: REST adapter for Azure Repos Git API — Repositories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/git/repositories name: git-repositories description: REST surface for git-repositories. operations: - method: GET name: repositorieslist description: Azure Repos List repositories call: azure-repo-git-repositories.repositorieslist with: includeAllUrls: rest.includeAllUrls includeHidden: rest.includeHidden outputParameters: - type: object mapping: $. - method: POST name: repositoriescreate description: Azure Repos Create a repository call: azure-repo-git-repositories.repositoriescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/git/repositories/{repositoryid} name: git-repositories-repositoryid description: REST surface for git-repositories-repositoryId. operations: - method: GET name: repositoriesget description: Azure Repos Get a repository call: azure-repo-git-repositories.repositoriesget outputParameters: - type: object mapping: $. - method: PATCH name: repositoriesupdate description: Azure Repos Update a repository call: azure-repo-git-repositories.repositoriesupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repositoriesdelete description: Azure Repos Delete a repository call: azure-repo-git-repositories.repositoriesdelete outputParameters: - type: object mapping: $. - type: mcp namespace: azure-repo-git-repositories-mcp port: 9090 transport: http description: MCP adapter for Azure Repos Git API — Repositories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-repos-list-repositories description: Azure Repos List repositories hints: readOnly: true destructive: false idempotent: true call: azure-repo-git-repositories.repositorieslist with: includeAllUrls: tools.includeAllUrls includeHidden: tools.includeHidden outputParameters: - type: object mapping: $. - name: azure-repos-create-repository description: Azure Repos Create a repository hints: readOnly: false destructive: false idempotent: false call: azure-repo-git-repositories.repositoriescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-repos-get-repository description: Azure Repos Get a repository hints: readOnly: true destructive: false idempotent: true call: azure-repo-git-repositories.repositoriesget outputParameters: - type: object mapping: $. - name: azure-repos-update-repository description: Azure Repos Update a repository hints: readOnly: false destructive: false idempotent: true call: azure-repo-git-repositories.repositoriesupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-repos-delete-repository description: Azure Repos Delete a repository hints: readOnly: false destructive: true idempotent: true call: azure-repo-git-repositories.repositoriesdelete outputParameters: - type: object mapping: $.