Twilio is an MCP server that exposes Twilio public APIs directly to AI assistants and LLM applications using the Model Context Protocol. Maintained under twilio-labs, this monorepo includes an MCP server implementation as well as an OpenAPI-based MCP server. Software developers, support teams, and operations engineers use this tool to allow AI models to interact directly with Twilio services without writing custom integration glue code. The server enables assistants to compose and send SMS or WhatsApp messages, initiate and modify phone calls through Twilio Voice, search and provision phone numbers, and inspect caller metadata via Twilio Lookup. Because loading the entire surface of Twilio public endpoints can exceed LLM context window limits, users can filter exposed tools using dedicated service and tag parameters. This design optimizes payload sizes, protects execution context, and provides fine-grained control over which telephony and messaging capabilities an assistant can invoke across communication workflows.
Category: Communication & Messaging
Tags: messaging, sms, telephony, twilio
To install and register the Twilio MCP server, follow these steps: 1. Obtain your Twilio Account SID, API Key, and API Secret from the Twilio Console. 2. Open your MCP client configuration file (such as claude_desktop_config.json). 3. Add the server under the mcpServers object using the following JSON snippet: json { "mcpServers": { "twilio": { "command": "npx", "args": [ "-y", "@twilio-alpha/mcp", "YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET" ] } } } 4. Replace YOUR_ACCOUNT_SID, YOUR_API_KEY, and YOUR_API_SECRET with your actual Twilio credentials. 5. Save the configuration and restart your MCP client to load the tools.
Part of MCP Servers
You can run the Twilio MCP server directly with npx. In your MCP client configuration file, add an entry under mcpServers with the command set to npx and args containing -y, @twilio-alpha/mcp, and your credentials formatted as YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET.
The server gives AI assistants access to Twilio APIs. It allows assistants to send SMS and WhatsApp messages, place and track voice calls, look up carrier and caller information, and buy or configure phone numbers. Users can also restrict the exposed endpoints to specific services and tags.
Because the full Twilio API catalog is very large, loading every endpoint can exceed client context windows. You can limit the tools exposed to the model by using the --services and --tags configuration flags, which reduces context overhead to only the tools your assistant requires.
Yes, the Twilio MCP server monorepo is open-source software licensed under the ISC License. The source code and documentation can be inspected, modified, and contributed to on GitHub under the twilio-labs organization.