naftiko: 1.0.0-alpha2 info: label: Telnyx API — MCP Servers description: 'Telnyx API — MCP Servers. 5 operations. Lead operation: List MCP Servers. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - MCP Servers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-mcp-servers baseUri: https://api.telnyx.com/v2 description: Telnyx API — MCP Servers business capability. Self-contained, no shared references. resources: - name: ai-mcp_servers path: /ai/mcp_servers operations: - name: listmcpservers method: GET description: List MCP Servers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: type in: query type: string - name: url in: query type: string - name: page[size] in: query type: integer - name: page[number] in: query type: integer - name: createmcpserver method: POST description: Create MCP Server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ai-mcp_servers-mcp_server_id path: /ai/mcp_servers/{mcp_server_id} operations: - name: deletemcpserver method: DELETE description: Delete MCP Server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: mcp_server_id in: path type: string required: true - name: getmcpserver method: GET description: Get MCP Server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: mcp_server_id in: path type: string required: true - name: updatemcpserver method: PUT description: Update MCP Server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: mcp_server_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-mcp-servers-rest port: 8080 description: REST adapter for Telnyx API — MCP Servers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ai/mcp-servers name: ai-mcp-servers description: REST surface for ai-mcp_servers. operations: - method: GET name: listmcpservers description: List MCP Servers call: telnyx-mcp-servers.listmcpservers with: type: rest.type url: rest.url page[size]: rest.page[size] page[number]: rest.page[number] outputParameters: - type: object mapping: $. - method: POST name: createmcpserver description: Create MCP Server call: telnyx-mcp-servers.createmcpserver with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ai/mcp-servers/{mcp-server-id} name: ai-mcp-servers-mcp-server-id description: REST surface for ai-mcp_servers-mcp_server_id. operations: - method: DELETE name: deletemcpserver description: Delete MCP Server call: telnyx-mcp-servers.deletemcpserver with: mcp_server_id: rest.mcp_server_id outputParameters: - type: object mapping: $. - method: GET name: getmcpserver description: Get MCP Server call: telnyx-mcp-servers.getmcpserver with: mcp_server_id: rest.mcp_server_id outputParameters: - type: object mapping: $. - method: PUT name: updatemcpserver description: Update MCP Server call: telnyx-mcp-servers.updatemcpserver with: mcp_server_id: rest.mcp_server_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-mcp-servers-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — MCP Servers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-mcp-servers description: List MCP Servers hints: readOnly: true destructive: false idempotent: true call: telnyx-mcp-servers.listmcpservers with: type: tools.type url: tools.url page[size]: tools.page[size] page[number]: tools.page[number] outputParameters: - type: object mapping: $. - name: create-mcp-server description: Create MCP Server hints: readOnly: false destructive: false idempotent: false call: telnyx-mcp-servers.createmcpserver with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-mcp-server description: Delete MCP Server hints: readOnly: false destructive: true idempotent: true call: telnyx-mcp-servers.deletemcpserver with: mcp_server_id: tools.mcp_server_id outputParameters: - type: object mapping: $. - name: get-mcp-server description: Get MCP Server hints: readOnly: true destructive: false idempotent: true call: telnyx-mcp-servers.getmcpserver with: mcp_server_id: tools.mcp_server_id outputParameters: - type: object mapping: $. - name: update-mcp-server description: Update MCP Server hints: readOnly: false destructive: false idempotent: true call: telnyx-mcp-servers.updatemcpserver with: mcp_server_id: tools.mcp_server_id body: tools.body outputParameters: - type: object mapping: $.