Twilio Messaging MCP Server
Overview
Twilio Messaging MCP Server is a Model Context Protocol (MCP) server that allows users to send SMS messages using the Twilio API.
To use the server, you can either run it directly via npx or install it globally using npm. You need to provide your Twilio account credentials and the destination phone number in E.164 format.
- Send SMS messages via the Twilio API. - Integrates seamlessly with MCP clients like Claude Desktop. - Secure handling of credentials without the need for environment variables.
- Sending automated SMS notifications to users.
- Integrating SMS functionality into applications using MCP clients.
- Testing SMS sending capabilities during development.
Add to your AI client
Use these steps to connect Twilio Messaging MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"twilio-messaging-mcp-server-deshartman": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"twilio-messaging-mcp-server-deshartman": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"twilio-messaging-mcp-server-deshartman": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"twilio-messaging-mcp-server-deshartman": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"twilio-messaging-mcp-server-deshartman": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"twilio-messaging-mcp-server-deshartman": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-twilio-messaging-mcp-server-deshartman"
]
}
}
}FAQ
Can I use this server without a Twilio account?
No, you need a Twilio account to send SMS messages.
Is there a limit to the number of messages I can send?
Yes, Twilio has pricing plans that may limit the number of messages based on your account type.
How do I secure my Twilio credentials?
The server handles credentials securely without exposing them in environment variables.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3293,"uuid":"7c82e4b2-d5b9-4c8e-a32d-71da39f122a4","name":"twilio-messaging-mcp-server","title":"Twilio Messaging MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/47675451?v=4","created_at":"$D2025-03-18T15:38:07.022Z","updated_at":"$D2025-03-18T15:41:10.997Z","status":"created","author_name":"deshartman","author_avatar_url":"https://avatars.githubusercontent.com/u/47675451?v=4","tags":"[]","category":"communication","is_featured":false,"sort":1,"url":"https://github.com/deshartman/twilio-messaging-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"2\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-08 05:45:14\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]