The TwilioManager MCP server enables programmatic management of Twilio resources through a standardized Model Context Protocol interface, providing seamless integration with AI assistants and development tools.
Core Capabilities:
List Twilio Subaccounts: Retrieve all subaccounts or filter by friendly name
Get Phone Numbers by Account: Fetch all phone numbers associated with a specific subaccount using the account SID
Transfer Phone Numbers: Move phone numbers between subaccounts (requires phone number SID, source account SID, and target account SID)
Retrieve Regulatory Bundle Information: Get regulatory bundle SIDs for subaccounts to manage compliance requirements
Integration Options:
Direct integration via uv/uvx
Server-Sent Events (SSE) for flexible deployment
Docker deployment with automatic HTTPS through Traefik reverse proxy
Compatible with Claude Desktop, Cursor, and other MCP-compatible AI assistants
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
Related MCP server: Twilio MCP Server
Installation
Prerequisites
Install uv
On macOS:
On Windows:
On Linux:
Project Setup
Clone the repository:
Install dependencies using uv:
Configuration
Create a
.envfile in the root directory with your Twilio credentials:
Configure MCP for your tool (Cursor, Claude Desktop, etc.) by creating a
.cursor/mcp.jsonfile:
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
.envfile:
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_uvxconfigurationThis is the simplest method and works out of the box with uvx
Direct UV Integration:
Use the
twilio_manager_mcp_absconfigurationRequires specifying the full path to your installation
SSE Server:
Use the
twilio_manager_mcp_sseconfigurationStart the SSE server first:
uvicorn twilio_manager_mcp_sse:app --host 0.0.0.0 --port 8000
Available Tools
Tool Name | Description |
| List all Twilio subaccounts |
| Get phone numbers for a specific subaccount |
| Transfer phone numbers between subaccounts |
| 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