naftiko: 1.0.0-alpha2 info: label: GitLab API — agents description: 'GitLab API — agents. 1 operations. Lead operation: Get current agents. Self-contained Naftiko capability covering one Gitlab Ci business surface.' tags: - Gitlab Ci - agents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITLAB_CI_API_KEY: GITLAB_CI_API_KEY capability: consumes: - type: http namespace: gitlab-ci-agents baseUri: https://gitlab.com description: GitLab API — agents business capability. Self-contained, no shared references. resources: - name: api-v4-job-allowed_agents path: /api/v4/job/allowed_agents operations: - name: getapiv4joballowedagents method: GET description: Get current agents outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: gitlab-ci-agents-rest port: 8080 description: REST adapter for GitLab API — agents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v4/job/allowed-agents name: api-v4-job-allowed-agents description: REST surface for api-v4-job-allowed_agents. operations: - method: GET name: getapiv4joballowedagents description: Get current agents call: gitlab-ci-agents.getapiv4joballowedagents outputParameters: - type: object mapping: $. - type: mcp namespace: gitlab-ci-agents-mcp port: 9090 transport: http description: MCP adapter for GitLab API — agents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-current-agents description: Get current agents hints: readOnly: true destructive: false idempotent: true call: gitlab-ci-agents.getapiv4joballowedagents outputParameters: - type: object mapping: $.