naftiko: 1.0.0-alpha2 info: label: HashiCorp Consul HTTP API — Transaction description: 'HashiCorp Consul HTTP API — Transaction. 1 operations. Lead operation: Execute a transaction. Self-contained Naftiko capability covering one Consul business surface.' tags: - Consul - Transaction created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CONSUL_API_KEY: CONSUL_API_KEY capability: consumes: - type: http namespace: http-transaction baseUri: http://localhost:8500/v1 description: HashiCorp Consul HTTP API — Transaction business capability. Self-contained, no shared references. resources: - name: txn path: /txn operations: - name: executetxn method: PUT description: Execute a transaction outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Consul-Token value: '{{env.CONSUL_API_KEY}}' placement: header exposes: - type: rest namespace: http-transaction-rest port: 8080 description: REST adapter for HashiCorp Consul HTTP API — Transaction. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/txn name: txn description: REST surface for txn. operations: - method: PUT name: executetxn description: Execute a transaction call: http-transaction.executetxn with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: http-transaction-mcp port: 9090 transport: http description: MCP adapter for HashiCorp Consul HTTP API — Transaction. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: execute-transaction description: Execute a transaction hints: readOnly: false destructive: false idempotent: true call: http-transaction.executetxn with: body: tools.body outputParameters: - type: object mapping: $.