Skip to main content

Telnyx Local Model Context Protocol (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.

Quickstart with Claude Desktop

1

Get a Telnyx API key

Generate or copy an API key in the Telnyx Mission Control Portal.
2

Install `uvx`

Install the Python package manager with curl -LsSf https://astral.sh/uv/install.sh | sh, brew install uv, or any other method documented in the uv repository.
3

Add the MCP server to Claude

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json, then add the Telnyx server configuration:
{
  "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’re using Windows, you will have to enable “Developer Mode” in Claude Desktop to use the MCP server. Click “Help” in the hamburger menu at the top left and select “Enable Developer Mode”.

Running After Download

1

Get a Telnyx API key

Copy an API key from the Mission Control Portal so the MCP server can authenticate.
2

Install `uvx`

Install the Python package manager via curl -LsSf https://astral.sh/uv/install.sh | sh, brew install uv, or another method listed in the uv documentation.
3

Clone the MCP server repository

git clone https://github.com/team-telnyx/telnyx-mcp-server.git
cd telnyx-mcp-server
4

Point Claude to your local clone

Update your Claude config to reference the local folder by using the --from argument:
{
  "mcpServers": {
    "Telnyx": {
      "command": "uvx",
      "args": ["--from", "/path/to/telnyx-mcp-server", "telnyx-mcp-server"],
      "env": {
        "TELNYX_API_KEY": "<insert-your-api-key-here>"
      }
    }
  }
}
5

Run the MCP server locally

Claude now invokes the server from the cloned directory. Replace /path/to/telnyx-mcp-server with the actual local path.

Available Tools

Assistant Tools

  • Create AI assistants with custom instructions and configurations
  • List existing assistants
  • Get assistant details
  • Update assistant properties
  • Delete assistants
  • Get assistant TEXML configurations

Call Control Tools

  • Make outbound phone calls
  • Hang up active calls
  • Transfer calls to new destinations
  • Play audio files during calls
  • Stop audio playback
  • Send DTMF tones
  • Speak text using text-to-speech

Messaging Tools

  • Send SMS and MMS messages
  • Get message details

Phone Number Tools

  • List your phone numbers
  • Buy new phone numbers
  • Update phone number configurations
  • List available phone numbers

Connection Tools

  • List voice connections
  • Get connection details
  • Update connection configurations

Cloud Storage Tools

  • Create buckets compatible with Telnyx Cloud Storage
  • List buckets across all regions
  • Upload files
  • Download files
  • List objects in a bucket
  • Delete objects
  • Get bucket location information

Embeddings Tools

  • List existing embedded buckets
  • Scrape and embed a website URL
  • Create embeddings for your own files

Secrets Manager Tools

  • List integration secrets
  • Create new bearer or basic secrets
  • Delete integration secrets

Example Usage

Try asking Claude:
  • “Create an AI agent that can handle customer service for an e-commerce business”
  • “Send a text message to +5555551234 saying ‘Your appointment is confirmed for tomorrow at 3pm’”
  • “Make a call to my customer at +5555551234 and transfer them to my support team”
  • “Find me a phone number in Chicago with area code 312”
  • “Create an auto-attendant system using Telnyx AI assistants and voice features”
  • “Upload /Volumes/Drive/contract.pdf to the ‘legal-docs’ bucket in Telnyx Cloud Storage”
  • “Embed the knowledge base at https://example.com/docs so the assistant can answer user questions”
  • “Create a integration secret named openai-token with my openai key XYZ”

Contributing

See https://github.com/team-telnyx/telnyx-mcp-server for more information.