naftiko: 1.0.0-alpha2 info: label: Convex Management API — CustomDomains description: 'Convex Management API — CustomDomains. 3 operations. Lead operation: Create a custom domain. Self-contained Naftiko capability covering one Convex business surface.' tags: - Convex - CustomDomains created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONVEX_API_KEY: CONVEX_API_KEY capability: consumes: - type: http namespace: management-customdomains baseUri: https://api.convex.dev/v1 description: Convex Management API — CustomDomains business capability. Self-contained, no shared references. resources: - name: deployments-deployment_name-custom_domains-create path: /deployments/{deployment_name}/custom_domains/create operations: - name: createcustomdomain method: POST description: Create a custom domain outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-deployment_name-custom_domains-delete path: /deployments/{deployment_name}/custom_domains/delete operations: - name: deletecustomdomain method: POST description: Delete a custom domain outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-deployment_name-custom_domains-list path: /deployments/{deployment_name}/custom_domains/list operations: - name: listcustomdomains method: GET description: List custom domains for a deployment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CONVEX_API_KEY}}' exposes: - type: rest namespace: management-customdomains-rest port: 8080 description: REST adapter for Convex Management API — CustomDomains. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deployments/{deployment-name}/custom-domains/create name: deployments-deployment-name-custom-domains-create description: REST surface for deployments-deployment_name-custom_domains-create. operations: - method: POST name: createcustomdomain description: Create a custom domain call: management-customdomains.createcustomdomain with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deployment-name}/custom-domains/delete name: deployments-deployment-name-custom-domains-delete description: REST surface for deployments-deployment_name-custom_domains-delete. operations: - method: POST name: deletecustomdomain description: Delete a custom domain call: management-customdomains.deletecustomdomain with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deployment-name}/custom-domains/list name: deployments-deployment-name-custom-domains-list description: REST surface for deployments-deployment_name-custom_domains-list. operations: - method: GET name: listcustomdomains description: List custom domains for a deployment call: management-customdomains.listcustomdomains outputParameters: - type: object mapping: $. - type: mcp namespace: management-customdomains-mcp port: 9090 transport: http description: MCP adapter for Convex Management API — CustomDomains. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-custom-domain description: Create a custom domain hints: readOnly: false destructive: false idempotent: false call: management-customdomains.createcustomdomain with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-custom-domain description: Delete a custom domain hints: readOnly: false destructive: false idempotent: false call: management-customdomains.deletecustomdomain with: body: tools.body outputParameters: - type: object mapping: $. - name: list-custom-domains-deployment description: List custom domains for a deployment hints: readOnly: true destructive: false idempotent: true call: management-customdomains.listcustomdomains outputParameters: - type: object mapping: $.