GitLab CI/CD · Capability

GitLab API — applications

GitLab API — applications. 4 operations. Lead operation: Create a new application. Self-contained Naftiko capability covering one Gitlab Ci business surface.

Run with Naftiko Gitlab Ciapplications

What You Can Do

POST
Postapiv4applications — Create a new application
/v1/api/v4/applications
GET
Getapiv4applications — Get applications
/v1/api/v4/applications
DELETE
Deleteapiv4applicationsid — Delete an application
/v1/api/v4/applications/{id}
POST
Postapiv4applicationsidrenewsecret — Renew an application secret
/v1/api/v4/applications/{id}/renew-secret

MCP Tools

create-new-application

Create a new application

get-applications

Get applications

read-only idempotent
delete-application

Delete an application

idempotent
renew-application-secret

Renew an application secret

Capability Spec

gitlab-ci-applications.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitLab API — applications
  description: 'GitLab API — applications. 4 operations. Lead operation: Create a new application. Self-contained Naftiko
    capability covering one Gitlab Ci business surface.'
  tags:
  - Gitlab Ci
  - applications
  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-applications
    baseUri: https://gitlab.com
    description: GitLab API — applications business capability. Self-contained, no shared references.
    resources:
    - name: api-v4-applications
      path: /api/v4/applications
      operations:
      - name: postapiv4applications
        method: POST
        description: Create a new application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: postApiV4Applications
          in: body
          type: string
          required: true
      - name: getapiv4applications
        method: GET
        description: Get applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v4-applications-id
      path: /api/v4/applications/{id}
      operations:
      - name: deleteapiv4applicationsid
        method: DELETE
        description: Delete an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the application (not the application_id)
          required: true
    - name: api-v4-applications-id-renew-secret
      path: /api/v4/applications/{id}/renew-secret
      operations:
      - name: postapiv4applicationsidrenewsecret
        method: POST
        description: Renew an application secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The ID of the application (not the application_id)
          required: true
  exposes:
  - type: rest
    namespace: gitlab-ci-applications-rest
    port: 8080
    description: REST adapter for GitLab API — applications. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v4/applications
      name: api-v4-applications
      description: REST surface for api-v4-applications.
      operations:
      - method: POST
        name: postapiv4applications
        description: Create a new application
        call: gitlab-ci-applications.postapiv4applications
        with:
          postApiV4Applications: rest.postApiV4Applications
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getapiv4applications
        description: Get applications
        call: gitlab-ci-applications.getapiv4applications
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v4/applications/{id}
      name: api-v4-applications-id
      description: REST surface for api-v4-applications-id.
      operations:
      - method: DELETE
        name: deleteapiv4applicationsid
        description: Delete an application
        call: gitlab-ci-applications.deleteapiv4applicationsid
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v4/applications/{id}/renew-secret
      name: api-v4-applications-id-renew-secret
      description: REST surface for api-v4-applications-id-renew-secret.
      operations:
      - method: POST
        name: postapiv4applicationsidrenewsecret
        description: Renew an application secret
        call: gitlab-ci-applications.postapiv4applicationsidrenewsecret
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gitlab-ci-applications-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitLab API — applications. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-new-application
      description: Create a new application
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gitlab-ci-applications.postapiv4applications
      with:
        postApiV4Applications: tools.postApiV4Applications
      outputParameters:
      - type: object
        mapping: $.
    - name: get-applications
      description: Get applications
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gitlab-ci-applications.getapiv4applications
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-application
      description: Delete an application
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: gitlab-ci-applications.deleteapiv4applicationsid
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: renew-application-secret
      description: Renew an application secret
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gitlab-ci-applications.postapiv4applicationsidrenewsecret
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.