Twilio
Interact with Twilio APIs to send messages, manage phone numbers, configure your account, and more.


Twilio MCP Monorepo
This is a monorepo for the Model Context Protocol server that exposes all of Twilio APIs.
What is MCP?
The Model Context Protocol (MCP) is a protocol for exchanging model context information between AI tools and services. This implementation allows you to expose Twilio's APIs to AI assistants and other tools that support the MCP protocol.
Packages
This monorepo contains two main packages:
- mcp - MCP Server for all of Twilio's Public API
- openapi-mcp-server - An MCP server that serves the given OpenAPI spec
Each package has its own comprehensive README with detailed documentation:
Quick Start
The easiest way to get started is by using npx:
{
"mcpServers": {
"twilio": {
"command": "npx",
"args": [
"-y",
"@twilio-alpha/mcp",
"YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET"
]
}
}
}
Visit Twilio API Keys docs for information on how to find/create your API Key and Secret.
Security Recommendations
To guard against injection attacks that may allow untrusted systems access to your Twilio data, the ETI team advises users of Twilio MCP servers to avoid installing or running any community MCP servers alongside our official ones. Doing so helps ensure that only trusted MCP servers have access to tools interacting with your Twilio account, reducing the risk of unauthorized data access.
Basic Configuration Options
Both packages accept configuration parameters. Here's a brief overview:
- MCP Server: Use
--servicesand--tagsto filter which APIs to expose - OpenAPI MCP Server: Use
--apiPathto specify OpenAPI spec files location
For complete configuration details, refer to the package-specific documentation linked above.
Development
# Run tests
npm test
# Run linting
npm run lint
# Fix linting issues
npm run lint:fix
Troubleshooting Common Issues
- Context Size Limitations: Due to LLM context limits, load specific APIs using
--servicesor--tags - Authentication Issues: Verify your Twilio API credentials format and permissions
- API Versioning: Check you're using the correct API version (v1, v2, v3) for your needs
For detailed troubleshooting guidance, see the package-specific documentation.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the ISC License - see the LICENSE file for details.
Máy chủ liên quan
WeCom Bot
Sends various types of messages to a WeCom (WeChat Work) group robot.
Mailinator MCP Server
Free disposable email for AI—check any @mailinator.com inbox, retrieve messages in multiple formats, and extract verification codes for automated workflows.
mcp-gmail
MCP server for full Gmail operations via Unipile API. 9 tools: send, reply, list, read, delete, search, labels, attachments, drafts. Dry-run by default, 55 unit tests. MIT licensed.
Multichat MCP Server
A server for handling parallel unichat requests, configurable via a settings file.
Facebook MCP Server
Automate and manage interactions on a Facebook Page using the Facebook Graph API.
ELEMENT.FM
Create and publish unlimited podcast shows and episodes with ELEMENT.FM
NANDA AI Agent Sunday Hack
An MCP server integrating WhatsApp messaging and ElevenLabs AI voice capabilities into VS Code.
Text-to-Speech MCP
High-quality text-to-speech generation using the OpenAI TTS API.
A2A MCP Server
A bridge server connecting Model Context Protocol (MCP) with Agent-to-Agent (A2A) protocol.
BotEmail MCP Server
Give your AI agent its own email address — instant bot inboxes via API, no human setup required.