GitLab CI/CD · Capability

GitLab API — ldap

GitLab API — ldap. 1 operations. Lead operation: ldap. Self-contained Naftiko capability covering one Gitlab Ci business surface.

Run with Naftiko Gitlab Cildap

What You Can Do

POST
Postapiv4groupsidldapsync — Sync a group with LDAP.
/v1/api/v4/groups/{id}/ldap-sync

MCP Tools

sync-group-ldap

Sync a group with LDAP.

Capability Spec

gitlab-ci-ldap.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitLab API — ldap
  description: 'GitLab API — ldap. 1 operations. Lead operation: ldap. Self-contained Naftiko capability covering one Gitlab
    Ci business surface.'
  tags:
  - Gitlab Ci
  - ldap
  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-ldap
    baseUri: https://gitlab.com
    description: GitLab API — ldap business capability. Self-contained, no shared references.
    resources:
    - name: api-v4-groups-id-ldap_sync
      path: /api/v4/groups/{id}/ldap_sync
      operations:
      - name: postapiv4groupsidldapsync
        method: POST
        description: Sync a group with LDAP.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
  exposes:
  - type: rest
    namespace: gitlab-ci-ldap-rest
    port: 8080
    description: REST adapter for GitLab API — ldap. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/v4/groups/{id}/ldap-sync
      name: api-v4-groups-id-ldap-sync
      description: REST surface for api-v4-groups-id-ldap_sync.
      operations:
      - method: POST
        name: postapiv4groupsidldapsync
        description: Sync a group with LDAP.
        call: gitlab-ci-ldap.postapiv4groupsidldapsync
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gitlab-ci-ldap-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitLab API — ldap. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: sync-group-ldap
      description: Sync a group with LDAP.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gitlab-ci-ldap.postapiv4groupsidldapsync
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.