Twilio MCP Server
for AI Agents
Connect your AI agent to StackOne's Twilio MCP server and give it 40 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
40 Agent Actions
Create, read, update, and delete across Twilio — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Twilio MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Twilio tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Twilio call.
Tools Discovery →What is the Twilio MCP Server?
A Twilio MCP server lets AI agents read and write Twilio data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Twilio MCP server ships with 40 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Twilio MCP Tools
Every action from Twilio's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Messages
- Create Message
Create a new SMS or MMS message
- List Messages
List all messages sent or received by your Twilio account
- Get Message
Retrieve details of a specific message by SID
- Update Message
Update a message (redact message body or cancel scheduled message)
- Delete Message
Delete a message record
Message Medias
- List Message Media
List all media associated with a message
- Get Message Media
Retrieve details of a specific media item attached to a message
- Delete Message Media
Delete a specific media instance
Calls
- List Calls
List all calls made to and from your Twilio account
- Get Call
Retrieve details of a specific call by SID
- Update Call
Modify an in-progress call (redirect, cancel, or complete)
- Delete Call
Delete a call record
Make Calls
- Make Call
Initiate an outbound call
Call Recordings
- List Call Recordings
List all recordings for a specific call
Accounts
- Create Account
Create a new account under the main account
- Get Account
Retrieve account information and current status
- List Accounts
List all accounts including the main account and subaccounts
- Update Account
Update account properties (friendly name or status)
Conversations
- Create Conversation
Create a new conversation
- List Conversations
List all conversations in your account
- Get Conversation
Retrieve details of a specific conversation by SID
- Update Conversation
Update an existing conversation
- Delete Conversation
Delete a conversation
Conversation Messages
- Create Conversation Message
Create a new message in a conversation
- List Conversation Messages
List all messages in a conversation
- Get Conversation Message
Retrieve details of a specific message in a conversation
- Update Conversation Message
Update an existing message in a conversation
- Delete Conversation Message
Delete a message from a conversation
Conversation Participants
- Create Conversation Participant
Create a new participant in a conversation
- List Conversation Participants
List all participants in a conversation
- Get Conversation Participant
Retrieve details of a specific participant in a conversation
- Update Conversation Participant
Update a participant in a conversation
- Delete Conversation Participant
Delete a participant from a conversation
Conversation Users
- Create Conversation User
Create a new user in the conversations service
- List Conversation Users
List all users in the conversations service
- Get Conversation User
Retrieve details of a specific user
- Update Conversation User
Update an existing user
- Delete Conversation User
Delete a user from the conversations service
Conversation Webhooks
- List Conversation Webhooks
List all webhooks configured for a specific conversation
User Conversations
- List User Conversations
List all conversations a specific user belongs to
Set Up Your Twilio MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Twilio in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Twilio MCP Server FAQ
Does StackOne have a Twilio MCP server?
Twilio MCP server vs direct API integration — what's the difference?
How does Twilio authentication work for AI agents?
origin_owner_id.Are Twilio MCP tools vulnerable to prompt injection?
What is the context bloat of a Twilio agent and how do I avoid it?
Can I limit which actions my Twilio agent can access?
Can I create custom agent actions for my Twilio MCP server?
When should I NOT use a Twilio MCP server?
What AI frameworks and AI clients does the StackOne Twilio MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.