Used for managing Twilio credentials and environment variables required for authentication with the Twilio API.
Enables direct interaction with Twilio's API for subaccount management, phone number control, regulatory compliance handling, and address management for compliance requirements.
Twilio Manager MCP
A Model Context Protocol (MCP) implementation for managing Twilio resources. This package provides tools for managing Twilio subaccounts, phone numbers, and regulatory bundles through a standardized MCP interface.
Features
- List Twilio subaccounts
- Get phone numbers associated with subaccounts
- Transfer phone numbers between subaccounts
- Get regulatory bundle SIDs
- Support for both direct and Server-Sent Events (SSE) communication
- Integration with Claude Desktop, Cursor, and other MCP-compatible tools
Installation
Prerequisites
Install uv
On macOS:
On Windows:
On Linux:
Project Setup
- Clone the repository:
- Install dependencies using uv:
Configuration
- Create a
.env
file in the root directory with your Twilio credentials:
- Configure MCP for your tool (Cursor, Claude Desktop, etc.) by creating a
.cursor/mcp.json
file:
Docker
You can run Twilio Manager MCP using Docker for easier deployment and management.
Using Docker Compose
The project includes a Docker Compose configuration that sets up:
- The Twilio Manager MCP service
- A Traefik reverse proxy with automatic HTTPS
- Configure environment variables in your
.env
file:
- Start the services:
The application will be available at your configured domain with HTTPS enabled.
Using Docker Without Docker Compose
If you prefer to run just the Twilio Manager MCP container without Traefik:
- Build the Docker image:
- Run the container:
The SSE endpoint will be available at http://localhost:8000/sse
.
Usage
With Cursor, Claude Desktop, or other MCP-compatible tools
You have three options to use this MCP:
- Direct UVX Integration (Recommended):
- Use the
twilio_manager_mcp_uvx
configuration - This is the simplest method and works out of the box with uvx
- Use the
- Direct UV Integration:
- Use the
twilio_manager_mcp_abs
configuration - Requires specifying the full path to your installation
- Use the
- SSE Server:
- Use the
twilio_manager_mcp_sse
configuration - Start the SSE server first:
- Use the
Available Tools
Tool Name | Description |
---|---|
list_twilio_subaccounts | List all Twilio subaccounts |
get_account_phone_numbers | Get phone numbers for a specific subaccount |
get_all_phone_numbers | Transfer phone numbers between subaccounts |
get_regulatory_bundle_sid | Get regulatory bundle SID for a subaccount |
Example Usage in Cursor/Claude Desktop
Once configured, you can use the tools directly in your AI assistant conversations:
- List all subaccounts:
- Get phone numbers for a subaccount:
Direct Python Usage
For direct programmatic usage:
Project Structure
Development
For development, you can use uv's virtual environment management:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A server that connects Claude AI to Twilio through the Model Context Protocol, enabling prompt-assisted management of Twilio accounts, phone numbers, and regulatory compliance.
Related MCP Servers
- AsecurityFlicenseAqualityA TypeScript server that provides Claude AI with seamless access to any GraphQL API through the Model Context Protocol.Last updated 4 months ago68JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.Last updated 5 months ago2349JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to initiate and manage real-time voice calls using Twilio and OpenAI's voice models.Last updated 3 months ago44TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that connects Claude AI to QGIS, enabling direct interaction with the GIS software for project creation, layer manipulation, code execution, and processing algorithms through natural language prompts.Last updated 4 months ago5PythonCreative Commons Zero v1.0 Universal