naftiko: 1.0.0-alpha2 info: label: GitLab API — users description: 'GitLab API — users. 2 operations. Lead operation: Create a runner owned by currently authenticated user. Self-contained Naftiko capability covering one Gitlab Ci business surface.' tags: - Gitlab Ci - users 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-users baseUri: https://gitlab.com description: GitLab API — users business capability. Self-contained, no shared references. resources: - name: api-v4-user-runners path: /api/v4/user/runners operations: - name: postapiv4userrunners method: POST description: Create a runner owned by currently authenticated user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: postApiV4UserRunners in: body type: string required: true - name: api-v4-user_counts path: /api/v4/user_counts operations: - name: getapiv4usercounts method: GET description: Return the user specific counts outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: gitlab-ci-users-rest port: 8080 description: REST adapter for GitLab API — users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v4/user/runners name: api-v4-user-runners description: REST surface for api-v4-user-runners. operations: - method: POST name: postapiv4userrunners description: Create a runner owned by currently authenticated user call: gitlab-ci-users.postapiv4userrunners with: postApiV4UserRunners: rest.postApiV4UserRunners outputParameters: - type: object mapping: $. - path: /v1/api/v4/user-counts name: api-v4-user-counts description: REST surface for api-v4-user_counts. operations: - method: GET name: getapiv4usercounts description: Return the user specific counts call: gitlab-ci-users.getapiv4usercounts outputParameters: - type: object mapping: $. - type: mcp namespace: gitlab-ci-users-mcp port: 9090 transport: http description: MCP adapter for GitLab API — users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-runner-owned-currently-authenticated description: Create a runner owned by currently authenticated user hints: readOnly: false destructive: false idempotent: false call: gitlab-ci-users.postapiv4userrunners with: postApiV4UserRunners: tools.postApiV4UserRunners outputParameters: - type: object mapping: $. - name: return-user-specific-counts description: Return the user specific counts hints: readOnly: true destructive: false idempotent: true call: gitlab-ci-users.getapiv4usercounts outputParameters: - type: object mapping: $.