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_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Telnyx CLIHeadless setup and direct function calls. Telnyx MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Telnyx MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Telnyx.
Claude Code Telnyx MCP setup for Claude Code. Cursor Telnyx MCP setup for Cursor. Codex Telnyx MCP setup for Codex. OpenAI Agents Telnyx MCP setup for OpenAI Agents SDK. Claude Agent SDK Telnyx MCP setup for Claude Agent SDK. Vercel AI SDK Telnyx MCP setup for Vercel AI SDK. LangChain Telnyx MCP setup for LangChain. LangGraph Telnyx MCP setup for LangGraph. CrewAI Telnyx MCP setup for CrewAI. MCP clients Telnyx MCP setup for Generic MCP Clients.
Telnyx CLI Matrix
Use these pages for direct Telnyx CLI workflows in scripts, CI, cron, and agent wrappers.
CI Telnyx CLI for CI. Cron Jobs Telnyx CLI for cron jobs. Shell Scripts Telnyx CLI for shell scripts. Headless Automation Telnyx CLI for headless automation. Coding Agents Telnyx CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |