- Home
- MCP servers
- Twilio
Twilio
- typescript
89
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"twilio-labs-mcp": {
"command": "npx",
"args": [
"-y",
"@twilio-alpha/mcp",
"YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET"
]
}
}
}You can expose Twilio APIs to AI assistants and other MCP-enabled tools by running a dedicated MCP server. This server translates between the MCP protocol and Twilio’s public API endpoints, letting you use natural language-like requests to access Twilio features securely and consistently.
How to use
Use an MCP client to connect to your Twilio MCP server. You provide your credentials through the server configuration, and the client issues commands that map to Twilio API actions. You’ll typically expose a curated subset of Twilio APIs to control costs and improve security, while keeping the rest hidden behind the MCP layer.
How to install
Prerequisites: make sure you have a supported runtime environment and the required tooling for MCP servers.
# Ensure Node.js is installed
node -v
npm -v
# Install and run the Twilio MCP server via the recommended approach
# The quickest way to start is to use the provided MCP command configuration with npx
Basic usage configuration
Configure the Twilio MCP server to connect using your Twilio API credentials. The following example shows how to specify the server in your MCP configuration using npx. This config is intended to be used by your MCP client setup and is kept here for quick reference.
{
"mcpServers": {
"twilio": {
"command": "npx",
"args": [
"-y",
"@twilio-alpha/mcp",
"YOUR_ACCOUNT_SID/YOUR_API_KEY:YOUR_API_SECRET"
]
}
}
}
Security and best practices
Limit exposure by only loading trusted MCP servers alongside official providers. Keep API credentials secure, rotate API keys regularly, and monitor access to your MCP endpoints to minimize the risk of unauthorized data access.
Troubleshooting
If you encounter issues, verify that your Twilio credentials are correctly formatted and have the necessary permissions. For API versioning or context size questions, ensure you are enabling the appropriate services and annotations in your MCP configuration.
Contributing
Contributions are welcome. Submit a pull request with any improvements or fixes you’ve implemented to enhance the Twilio MCP server.
License
This project is licensed under the ISC License. Review the LICENSE file for details.
Available tools
MCP server for Twilio API
An MCP server that exposes Twilio's public API through the MCP protocol, enabling AI tools to access Twilio features via MCP.
OpenAPI MCP server
An MCP server component that serves a given OpenAPI specification for MCP-enabled clients.