
Telnyx-MCP-Server
官方Telnyx本地模型上下文协议(MCP)服务器,可以与强大的电话,消息传递和AI Assistant API进行交互。该服务器允许MCP客户端,例如Claude Desktop,Cursor,Windsurf,Openai Agents等人,可以管理电话号码,发送消息,拨打电话并创建AI助手。
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
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
- Get your API key from the Telnyx Portal.
- Install
uvx
(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | sh
,brew install uv
or see theuv
repo for additional install methods. - Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"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
-
Get your API key from the Telnyx Portal.
-
Install
uvx
(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | sh
,brew install uv
or see theuv
repo for additional install methods. -
Clone the Git Repository
Use Git to download the Telnyx MCP Server locally:git clone https://github.com/team-telnyx/telnyx-mcp-server.git cd telnyx-mcp-server
-
Configure and Run with uvx
In your Claude config, you can reference the local folder by using the--from
argument. For example:{ "mcpServers": { "Telnyx": { "command": "uvx", "args": ["--from", "/path/to/telnyx-mcp-server", "telnyx-mcp-server"], "env": { "TELNYX_API_KEY": "<insert-your-api-key-here>" } } } }
-
This instructs Claude to run the server from the folder you cloned. Replace “/path/to/telnyx-mcp-server” with the actual location of the repository.
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
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"
Coming Soon
Telnyx is working on a remote MCP implementation with OAuth authentication based on the latest MCP specification. This will enable access to Telnyx's powerful communications APIs through a remotely hosted server without having to run the MCP server locally.
Contributing
If you want to contribute or run from source:
- Clone the repository:
git clone https://github.com/team-telnyx/telnyx-mcp-server.git
cd telnyx-mcp-server
- Create a virtual environment and install dependencies using uv:
uv venv
source .venv/bin/activate
uv pip install -e .
- Create a
.env
file and add your Telnyx API key:
echo "TELNYX_API_KEY=YOUR_API_KEY" > .env
- Run the tests to make sure everything is working:
pytest
- Install the server in Claude Desktop:
mcp install src/telnyx_mcp_server/server.py
- Debug and test locally with MCP Inspector:
mcp dev src/telnyx_mcp_server/server.py
Troubleshooting
Logs when running with Claude Desktop can be found at:
-
Windows:
%APPDATA%\Claude\logs\mcp-server-telnyx.log
-
macOS:
~/Library/Logs/Claude/mcp-server-telnyx.log
MCP Telnyx: spawn uvx ENOENT
If you encounter the error "MCP Telnyx: spawn uvx ENOENT", confirm its absolute path by running this command in your terminal:
which uvx
Once you obtain the absolute path (e.g., /usr/local/bin/uvx
), update your configuration to use that path (e.g., "command": "/usr/local/bin/uvx"
). This ensures that the correct executable is referenced.
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_LZ6CuByX
I've been using the Telnyx-MCP-Server for a while now, and I've been thoroughly impressed. The server is incredibly reliable and offers fantastic performance for my applications. Team Telnyx has done an exceptional job with the design, making it easy to integrate and use. The documentation is clear, and the support is top-notch. Highly recommended!

user_lnBI5fYU
I've been using telnyx-mcp-server for a while now, and I must say it's incredibly reliable and efficient. The team at Telnyx has done a fantastic job ensuring seamless communication services. The server's performance has been consistently impressive, with zero downtime experienced. Highly recommend it for anyone looking for a robust MCP solution.

user_PfdbZQRi
The Telnyx-MCP-Server by Team-Telnyx has been an essential part of my toolkit. Its seamless integration and robust performance have significantly streamlined my workflow. The user-friendly interface and prompt customer support make it a standout in its category. Highly recommend giving it a try!