GitLab CI/CD · Capability

GitLab API — web_commits

GitLab API — web_commits. 1 operations. Lead operation: Get the public key for web commits. Self-contained Naftiko capability covering one Gitlab Ci business surface.

Run with Naftiko Gitlab Ciweb_commits

What You Can Do

GET
Getapiv4webcommitspublickey — Get the public key for web commits
/v1/api/v4/web-commits/public-key

MCP Tools

get-public-key-web-commits

Get the public key for web commits

read-only idempotent

Capability Spec

gitlab-ci-web-commits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitLab API — web_commits
  description: 'GitLab API — web_commits. 1 operations. Lead operation: Get the public key for web commits. Self-contained
    Naftiko capability covering one Gitlab Ci business surface.'
  tags:
  - Gitlab Ci
  - web_commits
  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-web-commits
    baseUri: https://gitlab.com
    description: GitLab API — web_commits business capability. Self-contained, no shared references.
    resources:
    - name: api-v4-web_commits-public_key
      path: /api/v4/web_commits/public_key
      operations:
      - name: getapiv4webcommitspublickey
        method: GET
        description: Get the public key for web commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: gitlab-ci-web-commits-rest
    port: 8080
    description: REST adapter for GitLab API — web_commits. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v4/web-commits/public-key
      name: api-v4-web-commits-public-key
      description: REST surface for api-v4-web_commits-public_key.
      operations:
      - method: GET
        name: getapiv4webcommitspublickey
        description: Get the public key for web commits
        call: gitlab-ci-web-commits.getapiv4webcommitspublickey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gitlab-ci-web-commits-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitLab API — web_commits. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-public-key-web-commits
      description: Get the public key for web commits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gitlab-ci-web-commits.getapiv4webcommitspublickey
      outputParameters:
      - type: object
        mapping: $.