naftiko: 1.0.0-alpha2 info: label: HubSpot CMS Domains API — Domain Management description: 'HubSpot CMS Domains API — Domain Management. 2 operations. Lead operation: Hubspot List All Domains. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - Domain Management created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: domains-domain-management baseUri: https://api.hubapi.com description: HubSpot CMS Domains API — Domain Management business capability. Self-contained, no shared references. resources: - name: cms-v3-domains path: /cms/v3/domains/ operations: - name: listdomains method: GET description: Hubspot List All Domains outputRawFormat: json outputParameters: - name: result type: object value: $. - name: cms-v3-domains-domainId path: /cms/v3/domains/{domainId} operations: - name: getdomainbyid method: GET description: Hubspot Get a Domain by Id outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: domains-domain-management-rest port: 8080 description: REST adapter for HubSpot CMS Domains API — Domain Management. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cms/v3/domains name: cms-v3-domains description: REST surface for cms-v3-domains. operations: - method: GET name: listdomains description: Hubspot List All Domains call: domains-domain-management.listdomains outputParameters: - type: object mapping: $. - path: /v1/cms/v3/domains/{domainid} name: cms-v3-domains-domainid description: REST surface for cms-v3-domains-domainId. operations: - method: GET name: getdomainbyid description: Hubspot Get a Domain by Id call: domains-domain-management.getdomainbyid outputParameters: - type: object mapping: $. - type: mcp namespace: domains-domain-management-mcp port: 9090 transport: http description: MCP adapter for HubSpot CMS Domains API — Domain Management. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-list-all-domains description: Hubspot List All Domains hints: readOnly: true destructive: false idempotent: true call: domains-domain-management.listdomains outputParameters: - type: object mapping: $. - name: hubspot-get-domain-id description: Hubspot Get a Domain by Id hints: readOnly: true destructive: false idempotent: true call: domains-domain-management.getdomainbyid outputParameters: - type: object mapping: $.