naftiko: 1.0.0-alpha2 info: label: TVDB API V4 — Countries description: 'TVDB API V4 — Countries. 1 operations. Lead operation: Get All Countries. Self-contained Naftiko capability covering one TheTVDB business surface.' tags: - TheTVDB - Television - Countries created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: TVDB_BEARER_TOKEN: TVDB_BEARER_TOKEN capability: consumes: - type: http namespace: v4-countries baseUri: 'https://api4.thetvdb.com/v4' description: TVDB API V4 — Countries business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.TVDB_BEARER_TOKEN}}' resources: - name: countries path: /countries operations: - name: getAllCountries method: GET description: TheTVDB Get All Countries inputParameters: [] outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: v4-countries-rest port: 8080 description: REST adapter for TVDB API V4 — Countries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/countries name: countries description: REST surface for countries. operations: - method: GET name: getAllCountries description: TheTVDB Get All Countries call: v4-countries.getAllCountries outputParameters: - type: object mapping: $. - type: mcp namespace: v4-countries-mcp port: 9090 transport: http description: MCP adapter for TVDB API V4 — Countries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-countries description: TheTVDB Get All Countries hints: readOnly: true destructive: false idempotent: true call: v4-countries.getAllCountries outputParameters: - type: object mapping: $.