naftiko: 1.0.0-alpha2 info: label: Dokploy API — gitlab description: 'Dokploy API — gitlab. 7 operations. Lead operation: gitlab.create. Self-contained Naftiko capability covering one Dokploy business surface.' tags: - Dokploy - gitlab created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: DOKPLOY_API_KEY: DOKPLOY_API_KEY DOKPLOY_URL: DOKPLOY_URL capability: consumes: - type: http namespace: dokploy-gitlab baseUri: ${DOKPLOY_URL}/api description: Dokploy API — gitlab business capability. Self-contained, no shared references. resources: - name: create path: /gitlab.create operations: - name: gitlab-create method: POST description: gitlab-create outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: one path: /gitlab.one operations: - name: gitlab-one method: GET description: gitlab-one outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gitlabProviders path: /gitlab.gitlabProviders operations: - name: gitlab-gitlabProviders method: GET description: gitlab-gitlabProviders outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getGitlabRepositories path: /gitlab.getGitlabRepositories operations: - name: gitlab-getGitlabRepositories method: GET description: gitlab-getGitlabRepositories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getGitlabBranches path: /gitlab.getGitlabBranches operations: - name: gitlab-getGitlabBranches method: GET description: gitlab-getGitlabBranches outputRawFormat: json outputParameters: - name: result type: object value: $. - name: testConnection path: /gitlab.testConnection operations: - name: gitlab-testConnection method: POST description: gitlab-testConnection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: update path: /gitlab.update operations: - name: gitlab-update method: POST description: gitlab-update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true exposes: - type: rest namespace: dokploy-gitlab-rest port: 8080 description: REST adapter for Dokploy API — gitlab. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gitlab.create name: create description: REST surface for create. operations: - method: POST name: gitlab-create description: gitlab-create call: dokploy-gitlab.gitlab-create with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gitlab.one name: one description: REST surface for one. operations: - method: GET name: gitlab-one description: gitlab-one call: dokploy-gitlab.gitlab-one outputParameters: - type: object mapping: $. - path: /v1/gitlab.gitlabProviders name: gitlabProviders description: REST surface for gitlabProviders. operations: - method: GET name: gitlab-gitlabProviders description: gitlab-gitlabProviders call: dokploy-gitlab.gitlab-gitlabProviders outputParameters: - type: object mapping: $. - path: /v1/gitlab.getGitlabRepositories name: getGitlabRepositories description: REST surface for getGitlabRepositories. operations: - method: GET name: gitlab-getGitlabRepositories description: gitlab-getGitlabRepositories call: dokploy-gitlab.gitlab-getGitlabRepositories outputParameters: - type: object mapping: $. - path: /v1/gitlab.getGitlabBranches name: getGitlabBranches description: REST surface for getGitlabBranches. operations: - method: GET name: gitlab-getGitlabBranches description: gitlab-getGitlabBranches call: dokploy-gitlab.gitlab-getGitlabBranches outputParameters: - type: object mapping: $. - path: /v1/gitlab.testConnection name: testConnection description: REST surface for testConnection. operations: - method: POST name: gitlab-testConnection description: gitlab-testConnection call: dokploy-gitlab.gitlab-testConnection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gitlab.update name: update description: REST surface for update. operations: - method: POST name: gitlab-update description: gitlab-update call: dokploy-gitlab.gitlab-update with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: dokploy-gitlab-mcp port: 9090 transport: http description: MCP adapter for Dokploy API — gitlab. One tool per consumed operation, routed inline through this capability’s consumes block. tools: - name: gitlab-create description: gitlab-create hints: readOnly: false destructive: false idempotent: false call: dokploy-gitlab.gitlab-create with: body: tools.body outputParameters: - type: object mapping: $. - name: gitlab-one description: gitlab-one hints: readOnly: true destructive: false idempotent: true call: dokploy-gitlab.gitlab-one outputParameters: - type: object mapping: $. - name: gitlab-gitlabProviders description: gitlab-gitlabProviders hints: readOnly: true destructive: false idempotent: true call: dokploy-gitlab.gitlab-gitlabProviders outputParameters: - type: object mapping: $. - name: gitlab-getGitlabRepositories description: gitlab-getGitlabRepositories hints: readOnly: true destructive: false idempotent: true call: dokploy-gitlab.gitlab-getGitlabRepositories outputParameters: - type: object mapping: $. - name: gitlab-getGitlabBranches description: gitlab-getGitlabBranches hints: readOnly: true destructive: false idempotent: true call: dokploy-gitlab.gitlab-getGitlabBranches outputParameters: - type: object mapping: $. - name: gitlab-testConnection description: gitlab-testConnection hints: readOnly: false destructive: false idempotent: false call: dokploy-gitlab.gitlab-testConnection with: body: tools.body outputParameters: - type: object mapping: $. - name: gitlab-update description: gitlab-update hints: readOnly: false destructive: false idempotent: false call: dokploy-gitlab.gitlab-update with: body: tools.body outputParameters: - type: object mapping: $.