Twilio MCP server
Last verified: 2026-09
Send SMS and look up numbers.
Community Chat, mail & docs Needs a secret Claude Desktop, Cursor, Windsurf, Claude Code
What it does
Twilio Labs MCP meta-repo. Messages and calls through account SID + auth token (or API keys). Exact tools depend on which Twilio MCP package you enable.
It sits in Chat, mail & docs: These servers act as the bot or the integration you install.
Good for
- Send one SMS to yourself to prove the key works.
- List recent messages on a test number.
- Look up a number type without sending.
- Set a spend cap on the Twilio account before the model can loop.
Tools
- messages / calls / numbers — Send SMS or list recent messages when that package is on.
Config (Claude Desktop / Cursor / Windsurf)
Paste the JSON below. Same mcpServers shape. Replace placeholder paths and secrets.
Windows paths look like C:\\Users\\you\\project, not /path/to.
Host-side steps →
Claude Desktop
| OS | Config file |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json
(usually C:\Users\<you>\AppData\Roaming\Claude\) |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Cursor
| Scope | macOS / Linux | Windows |
|---|---|---|
| This project | .cursor/mcp.json in the repo root | |
| This user | ~/.cursor/mcp.json |
%USERPROFILE%\.cursor\mcp.json |
Windsurf
| OS | Config file |
|---|---|
| macOS / Linux | ~/.codeium/windsurf/mcp_config.json |
| Windows | %USERPROFILE%\.codeium\windsurf\mcp_config.json |
{
"mcpServers": {
"twilio": {
"command": "npx",
"args": [
"-y",
"twilio-mcp"
],
"env": {
"TWILIO_ACCOUNT_SID": "AC...",
"TWILIO_AUTH_TOKEN": "..."
}
}
}
}
Windsurf remote MCP: use serverUrl instead of url if the block below is HTTP.
One-liner: npx -y twilio-mcp
Secrets it wants: TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN
How to get started
- Use an API key pair, not the account auth token, if you can. Restrict to one service.
- Send one SMS to yourself first.
- Set a spend cap on the Twilio account.
Access risk
SMS and voice cost money and can spam customers. Auth token is the account.
When to skip it
Skip it if you only needed Discord/Slack chat, or if SMS should stay in a human on-call tool (PagerDuty).
Vs alternatives
| Server | Official? | Needs a secret? | Best for |
|---|---|---|---|
| Twilio | No | Yes | Send SMS and look up numbers. |
| Slack | Yes | Yes | Read channels and post messages. |
| PagerDuty | No | Yes | Incidents and on-call. |
| Discord | No | Yes | Read and send Discord messages. |
More in Chat, mail & docs
FAQ
Auth token or API key?
Prefer an API key pair over the account auth token. Restrict to one service.
Can it spam customers?
Yes. SMS and voice cost money. This is not Slack.
Twilio or PagerDuty?
Twilio sends messages. PagerDuty pages humans. Different jobs.
Which package?
twilio-labs/mcp is a meta-repo. Enable only the Twilio MCP package you need.