communicationai-ml

Telnyx MCP Server

team-telnyx

by team-telnyx

Telnyx MCP Server: manage phone numbers, calls, SMS and AI assistants with Telnyx API. Real-time webhooks, voice & messa

Enables interaction with Telnyx's telephony, messaging, and AI assistant APIs to manage phone numbers, send messages, make calls, and create AI assistants. Includes webhook support for real-time event handling and comprehensive tools for voice, SMS, cloud storage, and embeddings.

github stars

24

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

best for

  • / General purpose MCP workflows

capabilities

    what it does

    Enables interaction with Telnyx's telephony, messaging, and AI assistant APIs to manage phone numbers, send messages, make calls, and create AI assistants. Includes webhook support for real-time event handling and comprehensive tools for voice, SMS, cloud storage, and embeddings.

    about

    Telnyx MCP Server is an official MCP server published by team-telnyx that provides AI assistants with tools and capabilities via the Model Context Protocol. Telnyx MCP Server: manage phone numbers, calls, SMS and AI assistants with Telnyx API. Real-time webhooks, voice & messa It is categorized under communication, ai ml.

    how to install

    You can install Telnyx MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

    license

    MIT

    Telnyx MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

    readme

    Telnyx Local Model Context Protocol (MCP) Server

    ⚠️ DEPRECATED: This Python-based MCP server is deprecated. Please migrate to the official TypeScript version:

    New Repository: https://github.com/team-telnyx/telnyx-node/tree/master/packages/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 your API key from the Telnyx Portal.
    2. Install uvx (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh , brew install uv or see the uv repo for additional install methods.
    3. 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

    1. Get your API key from the Telnyx Portal.

    2. Install uvx (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh , brew install uv or see the uv repo for additional install methods.

    3. 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
      
    4. 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>"
            }
          }
        }
      }
      
    5. 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
    • Access and view ongoing SMS conversations (resource://sms/conversations)

    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

    Tool Filtering

    You can selectively enable or disable specific tools when running the MCP server. This is useful when you only need a subset of the available functionality.

    Listing Available Tools

    To see all available tools:

    uvx --from /path/to/telnyx-mcp-server telnyx-mcp-server --list-tools
    

    Enabling Specific Tools

    You can enable only specific tools using either:

    1. Command-line argument:

      uvx --from /path/to/telnyx-mcp-server telnyx-mcp-server --tools "send_message,get_message,list_phone_numbers"
      
    2. Environment variable:

      {
        "mcpServers": {
          "Telnyx": {
            "command": "uvx",
            "args": ["--from", "/path/to/telnyx-mcp-server", "telnyx-mcp-server"],
            "env": {
              "TELNYX_API_KEY": "<insert-your-api-key-here>",
              "TELNYX_MCP_TOOLS": "send_message,get_message,list_phone_numbers"
            }
          }
        }
      }
      

    Excluding Specific Tools

    You can exclude specific tools while enabling all others:

    1. Command-line argument:

      uvx --from /path/to/telnyx-mcp-server telnyx-mcp-server --exclude-tools "make_call,send_dtmf"
      
    2. Environment variable:

      {
        "mcpServers": {
          "Telnyx": {
            "command": "uvx",
            "args": ["--from", "/path/to/telnyx-mcp-server", "telnyx-mcp-server"],
            "env": {
              "TELNYX_API_KEY": "<insert-your-api-key-here>",
              "TELNYX_MCP_EXCLUDE_TOOLS": "make_call,send_dtmf"
            }
          }
        }
      }
      

    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"

    Webhook Receiver

    The MCP server includes a webhook receiver that can handle Telnyx webhooks directly through ngrok. This is useful for receiving call events and other notifications from Telnyx.

    Enabling Webhooks

    To enable the webhook receiver, you can either use the --webhook-enabled command-line flag or set the WEBHOOK_ENABLED=true environment variable. If an NGROK_AUTHTOKEN is also provided (see 'Ngrok Integration' below), the ngrok tunnel will be automatically attempted when the server starts. The command-line flag takes precedence if both are set.

    Using Command-Line Flag:

    telnyx-mcp-server --webhook-enabled --ngrok-enabled
    

    Using Environment Variable:

    Alternatively, set the WEBHOOK_ENABLED=true environment variable. This is often convenient when configuring via MCP client settings (see 'Webhook Configuration in Claude Desktop' below) or in .env files.

    # Example for your shell
    export WEBHOOK_ENABLED=true
    export NGROK_AUTHTOKEN=your_ngrok_token # Also needed for ngrok
    telnyx-mcp-server
    

    Ngrok Integration

    To enable ngrok tunneling:

    1. Get an ngrok authentication token from ngrok.com
    2. Set the NGROK_AUTHTOKEN environment variable or use the --ngrok-authtoken flag:
    # Using NGROK_AUTHTOKEN environment variable (recommended)
    export NGROK_AUTHTOKEN=your_ngrok_token
    telnyx-mcp-server --webhook-enabled # Or use WEBHOOK_ENABLED=true env var
    
    # Or using --ngrok-authtoken command line flag
    telnyx-mcp-server --webhook-enabled --ngrok-authtoken your_ngrok_token
    

    If NGROK_AUTHTOKEN is set, the --ngrok-enabled flag is generally not required when webhooks are active.

    When ngrok is enabled, the server will print the public URL that can be used to configure webhooks in the Telnyx Portal.

    Important: If ngrok fails to initialize (e.g., due to an invalid authtoken, network issues, or conflicts with another ngrok process), the MCP server will exit on startup. Check the server logs for details (see Troubleshooting section).

    Parent Process Monitoring

    The MCP server monitors the parent process (Claude Desktop) and automatically exits when the parent process is gone. This ensures proper cleanup of resources even if Claude Desktop closes unexpectedly.

    Webhook Monitoring and Runtime Control

    • You can inspect the current webhook and ngrok status by querying the resource://webhook/info resource.
    • To retrieve a history of received webhook events, use the get_webhook_events tool.

    Webhook Configuration in Claude Desktop

    To enable webhooks in Claude Desktop, update your 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>",
            "NGROK_AUTHTOKEN": "<insert-your-ngrok-token-here>",
            "WEBHOOK_ENABLED": "true", // Enables webhooks via environment variable
            // Alternatively, you can use command-line flags in "args" instead of WEBHOOK_ENABLED in env:
            // e.g., "args": ["--from", "git+https://github.com/team-telnyx/telnyx-mcp-server.git", "telnyx-mcp-server", "--webhook-enabled"],
          }
        }
      }
    }
    

    Webhook Example

    <img width="704" alt="Screenshot Webhook" src="https://github.com/user-attachments/assets/2e1f4a47-df24-4e35-acdf-765ef4a71578" />

    Remote MCP Now Available

    Telnyx now offers a remote MCP implementation based on the latest MCP specification. This allows you to access Telnyx's powerful communications APIs through a remotely hosted MCP server. No need to run the server locally. Learn more in the official documentation.

    Contributing

    If you want to contribute or run from source:

    1. Clone the repository:
    git clone https://github.com/team-telnyx/telnyx-mcp-server.git
    cd telnyx-mcp-server
    
    1. Create a virtual environment and install dependencies using uv:
    uv venv
    source .venv/bin/activate
    uv pip install -e ".[dev]"  # Includes development dependencies like 
    
    ---
    

    FAQ

    What is the Telnyx MCP Server MCP server?
    Telnyx MCP Server is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
    How do MCP servers relate to agent skills?
    Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
    How are reviews shown for Telnyx MCP Server?
    This profile displays 69 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

    Use Cases

    Extended AI Capabilities

    Add new capabilities to Claude beyond text generation

    Example

    Access external data sources, execute code, interact with tools and services

    Transform Claude from chatbot to action-taking agent

    Context Enhancement

    Provide Claude with access to relevant context and data

    Example

    Load project documentation, access knowledge bases, query databases

    Get more accurate, context-aware responses

    Workflow Automation

    Automate multi-step workflows combining AI and external tools

    Example

    Research → Summarize → Create document → Send notification

    Complete complex tasks end-to-end without manual steps

    Implementation Guide

    Prerequisites

    • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
    • Basic understanding of MCP architecture and capabilities
    • Access credentials for integrated services (if required)
    • Willingness to experiment and iterate on configuration

    Time Estimate

    15-60 minutes depending on server complexity

    Installation Steps

    1. 1.Install MCP server: npm install -g [package-name] or via GitHub
    2. 2.Add server configuration to ~/.claude/mcp.json
    3. 3.Provide required credentials and configuration
    4. 4.Restart Claude Desktop to load new server
    5. 5.Test basic functionality with simple prompts
    6. 6.Explore capabilities and experiment with use cases
    7. 7.Document successful patterns for reuse

    Troubleshooting

    • MCP server not loading: Check config syntax, verify installation
    • Connection errors: Check network, firewall, credentials
    • Feature not working: Read server docs, check required parameters
    • Performance issues: Monitor resource usage, check for network latency
    • Conflicts with other servers: Check port assignments, namespace collisions

    Best Practices

    ✓ Do

    • +Read server documentation thoroughly before setup
    • +Start with simple use cases to validate functionality
    • +Test in non-production environment first
    • +Monitor resource usage and performance
    • +Keep servers updated for bug fixes and new features
    • +Document configuration for team members
    • +Use environment variables for sensitive configuration

    ✗ Don't

    • Don't grant overly permissive access to MCP servers
    • Don't skip reading security considerations in docs
    • Don't expose sensitive data without proper controls
    • Don't run untrusted MCP servers without code review
    • Don't ignore error messages—investigate root cause

    💡 Pro Tips

    • Combine multiple MCP servers for powerful workflows
    • Create custom MCP servers for your specific needs
    • Share successful configurations with team
    • Use MCP inspector for debugging
    • Join MCP community for tips and troubleshooting

    Technical Details

    Architecture

    Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

    Protocols

    • Model Context Protocol (MCP)
    • JSON-RPC 2.0
    • stdio or HTTP transport

    Compatibility

    • Claude Desktop
    • Cursor IDE
    • Custom MCP clients

    When to Use This

    ✓ Use When

    Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

    ✗ Avoid When

    Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

    Integration

    • Tool composition: Chain multiple MCP tools in workflows
    • Context augmentation: Provide AI with relevant external data
    • Action delegation: Let AI execute tasks on external systems
    • Bidirectional sync: Keep AI context and external systems in sync

    Discussion

    Product Hunt–style comments (not star reviews)
    • No comments yet — start the thread.

    List & Promote Your MCP Server

    Share your MCP server with the developer community

    GET_STARTED →
    MCP server reviews

    Ratings

    4.669 reviews
    • Aanya Kim· Dec 28, 2024

      Telnyx MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

    • Dhruvi Jain· Dec 16, 2024

      We evaluated Telnyx MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

    • Min Gupta· Dec 16, 2024

      Useful MCP listing: Telnyx MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

    • Aditi Martin· Nov 19, 2024

      We wired Telnyx MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

    • Naina Martinez· Nov 11, 2024

      Strong directory entry: Telnyx MCP Server surfaces stars and publisher context so we could sanity-check maintenance before adopting.

    • Oshnikdeep· Nov 7, 2024

      Telnyx MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

    • Xiao Gupta· Nov 7, 2024

      Telnyx MCP Server is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

    • Rahul Santra· Nov 3, 2024

      I recommend Telnyx MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

    • Ganesh Mohane· Oct 26, 2024

      According to our notes, Telnyx MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

    • Kaira Rao· Oct 26, 2024

      We wired Telnyx MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

    showing 1-10 of 69

    1 / 7