GitLab CI/CD · Capability

GitLab API — organizations

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

Run with Naftiko Gitlab Ciorganizations

What You Can Do

POST
Postapiv4organizations — Create an organization
/v1/api/v4/organizations

MCP Tools

create-organization

Create an organization

Capability Spec

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