naftiko: 1.0.0-alpha2 info: label: Open Exchange Rates API — Reference description: 'Open Exchange Rates API — Reference. 1 operations. Lead operation: List available currencies. Self-contained Naftiko capability covering one Forex business surface.' tags: - Forex - Reference created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FOREX_API_KEY: FOREX_API_KEY capability: consumes: - type: http namespace: forex-reference baseUri: https://openexchangerates.org/api description: Open Exchange Rates API — Reference business capability. Self-contained, no shared references. resources: - name: currencies.json path: /currencies.json operations: - name: listcurrencies method: GET description: List available currencies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: app_id in: query type: string authentication: type: apikey key: app_id value: '{{env.FOREX_API_KEY}}' placement: query exposes: - type: rest namespace: forex-reference-rest port: 8080 description: REST adapter for Open Exchange Rates API — Reference. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/currencies-json name: currencies-json description: REST surface for currencies.json. operations: - method: GET name: listcurrencies description: List available currencies call: forex-reference.listcurrencies with: app_id: rest.app_id outputParameters: - type: object mapping: $. - type: mcp namespace: forex-reference-mcp port: 9090 transport: http description: MCP adapter for Open Exchange Rates API — Reference. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-available-currencies description: List available currencies hints: readOnly: true destructive: false idempotent: true call: forex-reference.listcurrencies with: app_id: tools.app_id outputParameters: - type: object mapping: $.