TwilioManager MCP
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
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:Copy
- 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
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.