naftiko: 1.0.0-alpha2 info: label: NetworkCalc API — Encoder description: 'NetworkCalc API — Encoder. 1 operations. Lead operation: Encode or decode a value. Self-contained Naftiko capability covering one Networkcalc business surface.' tags: - Networkcalc - Encoder created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NETWORKCALC_API_KEY: NETWORKCALC_API_KEY capability: consumes: - type: http namespace: networkcalc-encoder baseUri: https://networkcalc.com/api description: NetworkCalc API — Encoder business capability. Self-contained, no shared references. resources: - name: encoder-type-value path: /encoder/{type}/{value} operations: - name: get method: GET description: Encode or decode a value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: type in: path type: string required: true - name: value in: path type: string required: true exposes: - type: rest namespace: networkcalc-encoder-rest port: 8080 description: REST adapter for NetworkCalc API — Encoder. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/encoder/{type}/{value} name: encoder-type-value description: REST surface for encoder-type-value. operations: - method: GET name: get description: Encode or decode a value call: networkcalc-encoder.get with: type: rest.type value: rest.value outputParameters: - type: object mapping: $. - type: mcp namespace: networkcalc-encoder-mcp port: 9090 transport: http description: MCP adapter for NetworkCalc API — Encoder. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: encode-decode-value description: Encode or decode a value hints: readOnly: true destructive: false idempotent: true call: networkcalc-encoder.get with: type: tools.type value: tools.value outputParameters: - type: object mapping: $.