naftiko: 1.0.0-alpha2 info: label: HashiCorp Consul HTTP API — Coordinates description: 'HashiCorp Consul HTTP API — Coordinates. 2 operations. Lead operation: Read WAN coordinates. Self-contained Naftiko capability covering one Consul business surface.' tags: - Consul - Coordinates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONSUL_API_KEY: CONSUL_API_KEY capability: consumes: - type: http namespace: http-coordinates baseUri: http://localhost:8500/v1 description: HashiCorp Consul HTTP API — Coordinates business capability. Self-contained, no shared references. resources: - name: coordinate-datacenters path: /coordinate/datacenters operations: - name: getcoordinatedatacenters method: GET description: Read WAN coordinates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: coordinate-nodes path: /coordinate/nodes operations: - name: getcoordinatenodes method: GET description: Read LAN coordinates outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-Consul-Token value: '{{env.CONSUL_API_KEY}}' placement: header exposes: - type: rest namespace: http-coordinates-rest port: 8080 description: REST adapter for HashiCorp Consul HTTP API — Coordinates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/coordinate/datacenters name: coordinate-datacenters description: REST surface for coordinate-datacenters. operations: - method: GET name: getcoordinatedatacenters description: Read WAN coordinates call: http-coordinates.getcoordinatedatacenters outputParameters: - type: object mapping: $. - path: /v1/coordinate/nodes name: coordinate-nodes description: REST surface for coordinate-nodes. operations: - method: GET name: getcoordinatenodes description: Read LAN coordinates call: http-coordinates.getcoordinatenodes outputParameters: - type: object mapping: $. - type: mcp namespace: http-coordinates-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Consul HTTP API — Coordinates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: read-wan-coordinates description: Read WAN coordinates hints: readOnly: true destructive: false idempotent: true call: http-coordinates.getcoordinatedatacenters outputParameters: - type: object mapping: $. - name: read-lan-coordinates description: Read LAN coordinates hints: readOnly: true destructive: false idempotent: true call: http-coordinates.getcoordinatenodes outputParameters: - type: object mapping: $.