home / mcp / telnyx mcp server
Official Telnyx Local Model Context Protocol (MCP) Server that enables interaction with powerful telephony, messaging, and AI assistant APIs. This server allows MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others to manage phone numbers, send messages, make calls, and create AI assistants.
Configuration
View docs{
"mcpServers": {
"team-telnyx-telnyx-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/team-telnyx/telnyx-mcp-server.git",
"telnyx-mcp-server"
],
"env": {
"TELNYX_API_KEY": "<insert-your-api-key-here>",
"NGROK_AUTHTOKEN": "YOUR_NGROK_TOKEN",
"WEBHOOK_ENABLED": "true"
}
}
}
}You can run and connect to a Telnyx MCP Server locally to manage numbers, messages, calls, and AI assistants from your MCP clients. This server lets you leverage Telnyx APIs through a local or remote MCP workflow, with flexible tooling and webhook support for real-time events.
Use an MCP client (such as Claude Desktop or other MCP-enabled apps) to interact with the Telnyx MCP Server. You configure the client to start the MCP server process locally or point to a remote MCP server, then you can create, list, and manage assistants, handle phone numbers, send messages, make calls, and control cloud storage, embeddings, and secrets through the available tools. Enable webhooks if you want to receive call events and other notifications, and optionally run ngrok to expose a public webhook URL.
Prerequisites: you need Python-based tooling and a compatible MCP runtime. You will also install a local MCP server and a package manager to run the MCP process.
# Prerequisites
# 1) Ensure Python and the uvx helper are available
# 2) Install uvx (Python package manager) via your preferred method
# 3) Have a Telnyx API key ready
# Step 1: Get your Telnyx API key (from the Telnyx Portal) and store it securely
export TELNYX_API_KEY=YOUR_API_KEY
# Step 2: Clone the MCP server repository locally
git clone https://github.com/team-telnyx/telnyx-mcp-server.git
cd telnyx-mcp-server
# Step 3: Run the MCP server using uvx from your local copy
uvx --from /path/to/telnyx-mcp-server telnyx-mcp-server
# When configuring via Claude Desktop, you can reference the local folder as shown in the example below{
"mcpServers": {
"Telnyx": {
"command": "uvx",
"args": ["--from", "git+https://github.com/team-telnyx/telnyx-mcp-server.git", "telnyx-mcp-server"],
"env": {
"TELNYX_API_KEY": "<insert-your-api-key-here>"
}
}
}
}If you prefer to run the MCP server from a locally cloned folder, use this variant in your client configuration.
{
"mcpServers": {
"Telnyx": {
"command": "uvx",
"args": ["--from", "/path/to/telnyx-mcp-server", "telnyx-mcp-server"],
"env": {
"TELNYX_API_KEY": "<insert-your-api-key-here>"
}
}
}
}Create AI assistants with custom instructions and configurations
List existing AI assistants and their details
Get details of a specific AI assistant
Update properties of an existing AI assistant
Delete an AI assistant
Get TEXML configuration for an assistant
Make outbound phone calls
Hang up an active call
Transfer a call to a new destination
Play an audio file during a call
Stop audio playback during a call
Send SMS/MMS messages
Get message details
List ongoing SMS conversations (resource://sms/conversations)
List your phone numbers
Buy new phone numbers
Update phone number configurations
List voice connections
Get connection details
Update connection configurations
Create Telnyx Cloud Storage buckets
List buckets across regions
Upload files to a bucket
Download files from a bucket
List objects in a bucket
Delete objects from a bucket
Get bucket location information
List existing embedded buckets
Scrape and embed a website URL
Create embeddings for your own files
List integration secrets
Create new secrets
Delete integration secrets