naftiko: 1.0.0-alpha2 info: label: GitLab API — ci_catalog description: 'GitLab API — ci_catalog. 1 operations. Lead operation: Publish a new component project release as version to the CI/CD catalog. Self-contained Naftiko capability covering one Gitlab Ci business surface.' tags: - Gitlab Ci - ci_catalog 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-ci-catalog baseUri: https://gitlab.com description: GitLab API — ci_catalog business capability. Self-contained, no shared references. resources: - name: api-v4-projects-id-catalog-publish path: /api/v4/projects/{id}/catalog/publish operations: - name: postapiv4projectsidcatalogpublish method: POST description: Publish a new component project release as version to the CI/CD catalog outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID or URL-encoded path of the project required: true - name: postApiV4ProjectsIdCatalogPublish in: body type: string required: true exposes: - type: rest namespace: gitlab-ci-ci-catalog-rest port: 8080 description: REST adapter for GitLab API — ci_catalog. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v4/projects/{id}/catalog/publish name: api-v4-projects-id-catalog-publish description: REST surface for api-v4-projects-id-catalog-publish. operations: - method: POST name: postapiv4projectsidcatalogpublish description: Publish a new component project release as version to the CI/CD catalog call: gitlab-ci-ci-catalog.postapiv4projectsidcatalogpublish with: id: rest.id postApiV4ProjectsIdCatalogPublish: rest.postApiV4ProjectsIdCatalogPublish outputParameters: - type: object mapping: $. - type: mcp namespace: gitlab-ci-ci-catalog-mcp port: 9090 transport: http description: MCP adapter for GitLab API — ci_catalog. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: publish-new-component-project-release description: Publish a new component project release as version to the CI/CD catalog hints: readOnly: false destructive: false idempotent: false call: gitlab-ci-ci-catalog.postapiv4projectsidcatalogpublish with: id: tools.id postApiV4ProjectsIdCatalogPublish: tools.postApiV4ProjectsIdCatalogPublish outputParameters: - type: object mapping: $.