Twilio MCP Monorepo
@twilio-labs
Monorepo providing 1) OpenAPI to MCP Tool generator 2) Exposing all of Twilio's API as MCP Tools
Overview
What is Twilio MCP Monorepo?
A monorepo containing an MCP server that exposes all of Twilio’s public APIs to AI assistants and other MCP-compatible tools.
How to use Twilio MCP Monorepo?
Run the server via npx with your Twilio credentials:
npx -y @twilio-alpha/mcp YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET
Optionally filter exposed APIs using --services or --tags.
Key features of Twilio MCP Monorepo
- Exposes all Twilio public APIs through MCP
- Filter available APIs using
--servicesand--tags - Includes both a Twilio-specific MCP server and an OpenAPI-based MCP server
- Uses the Model Context Protocol for AI tool integration
- Easy start via
npxwith no installation required
Use cases of Twilio MCP Monorepo
- Enable AI assistants to send SMS, make calls, or manage Twilio resources via natural language
- Automate communication workflows by connecting LLMs to Twilio’s API
- Query Twilio logs, messages, and account data through an MCP host
- Manage Twilio resources programmatically with conversational interfaces
FAQ from Twilio MCP Monorepo
What packages are in the monorepo?
Two packages: @twilio-alpha/mcp (Twilio API MCP server) and @twilio-alpha/openapi-mcp-server (generic OpenAPI-to-MCP server).
How do I authenticate?
Provide your Twilio Account SID and API Key/Secret in the format YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET when starting the server.
Can I limit which APIs the server exposes?
Yes, use --services or --tags to load only specific API groups, which also helps with LLM context size limits.
What should I do about context size limitations?
Load specific APIs using --services or --tags to reduce the number of tools presented to the LLM.
Are there security recommendations?
Avoid installing any community MCP servers alongside this official server to prevent injection attacks on your Twilio data.