KosmoKrator

communication

Telnyx MCP, CLI, and Lua Integration for AI Agents

Telnyx integration docs for AI agents: MCP gateway setup, Telnyx CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write API key auth

Telnyx for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
telnyx
route_slug
telnyx
package
telnyx
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Telnyx MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Telnyx.

Telnyx CLI Matrix

Use these pages for direct Telnyx CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
telnyx.telnyx_list_phone_numbers Read read 4 List phone numbers on your Telnyx account. Returns phone number IDs, numbers in E.164 format, status, and billing details.
telnyx.telnyx_get_phone_number Read read 1 Get details for a specific phone number by its ID. Returns the number, status, connection, and billing information.
telnyx.telnyx_list_messages Read read 6 List SMS and MMS messages sent and received on your Telnyx account. Supports filtering by direction, phone number, and date range.
telnyx.telnyx_send_sms Write write 6 Send an SMS or MMS message via Telnyx. Provide a sender phone number (from your Telnyx account), a destination number, and the message body.
telnyx.telnyx_list_calls Read read 3 List voice calls made on your Telnyx account. Returns call session IDs, status, participants, and duration.
telnyx.telnyx_get_call Read read 1 Get details for a specific voice call by its call session ID. Returns participants, status, duration, and call metadata.
telnyx.telnyx_list_call_records Read read 4 List call recordings stored on your Telnyx account. Returns recording IDs, associated call sessions, download URLs, duration, and creation timestamps.