Discover our GTM Flywheel: Content, Ads & Outbound working as oneLearn more
Skip to main content
MCP Server

Twilio MCP

Jun 21, 2026
About

Twilio MCP is a monorepo that exposes all Twilio APIs as MCP tools and generates OpenAPI to MCP tool servers. It enables seamless integration of Twilio APIs with AI assistants and tools supporting the MCP protocol.

How to Use

How to Install and Use Twilio MCP

Twilio MCP is a tool that helps you connect to and use all the Twilio APIs easily. This guide will show you how to install Twilio MCP and use it with simple code examples.

Step 1: What You Need Before Installing

Before you start, make sure you have the following:

  • A computer with Node.js installed (Node.js lets you run JavaScript outside the browser).
  • Your Twilio Account SID, API Key, and API Secret. You can find or create these in the Twilio API Keys docs.

You will use these credentials to connect Twilio MCP with your Twilio account.

Step 2: Installing Twilio MCP Quickly with npx

To get started fast, you can use npx, a tool that runs packages without installing them globally. Here is how to run Twilio MCP using npx:

{
  "mcpServers": {
    "twilio": {
      "command": "npx",
      "args": [
        "-y",
        "@twilio-alpha/mcp",
        "YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET"
      ]
    }
  }
}

Replace YOUR_ACCOUNT_SID, YOUR_API_KEY, and YOUR_API_SECRET with your real Twilio credentials.

This command starts the MCP server that exposes Twilio APIs for use.

Step 3: Running Twilio MCP from the Command Line

Instead of the JSON above, you can also run the following command directly in your terminal:

npx -y @twilio-alpha/mcp YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET

Again, remember to replace the placeholders with your actual Twilio credentials.

Running this command will start the MCP server which allows AI tools and other programs to call Twilio APIs using the Model Context Protocol.

Step 4: Controlling Which APIs to Use

Twilio MCP lets you choose which parts of Twilio APIs you want to work with. To filter APIs by service or tag, use these options:

  • Use --services to list specific API services.
  • Use --tags to filter APIs by tags.

This can be helpful if you want to limit the APIs exposed and keep your app focused and safe.

Step 5: Important Security Tips

When using Twilio MCP, be cautious about running other community MCP servers on the same machine. This helps stop untrusted tools from accessing your Twilio data. Stick to trusted MCP servers to keep your account secure.

Summary Example

Here’s a simple step-by-step you can use in your terminal to quickly try Twilio MCP:

  1. Open your terminal.

  2. Run this (with your credentials):

    npx -y @twilio-alpha/mcp ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/apiKey:apiSecret
    
  3. The MCP server will start and you can connect AI tools or other MCP clients to it.

By following these steps, you will have Twilio MCP ready to help you use Twilio’s APIs seamlessly. For full details and advanced setup, check the specific package README files in the twilio-labs/mcp GitHub repo.

Details

TypeMCP Server
UpdatedJun 21, 2026
CreatedMar 16, 2026
DocumentationView docs
View Documentation