MCP.so
Sign In

Twilio Messaging MCP Server

@deshartman

Basic information

Category

Communication

License

MIT

Transports

stdio

Author

deshartman

About Twilio Messaging MCP Server

No overview available yet

Twilio Messaging MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "twilio-messaging-mcp-server": {
      "command": "npx",
      "args": [
        "@deshartman/twilio-messaging-mcp-server",
        "<accountSid>",
        "<apiKey>",
        "<apiSecret>",
        "<number>"
      ]
    }
  }
}

Twilio Messaging MCP Server tools

1

Send an SMS message via Twilio with server readiness validation

Overview

What is Twilio Messaging MCP Server?

An MCP server for sending SMS messages via the Twilio API. It provides tools, resources, and prompts for interacting with the Twilio Messaging API and integrates with Claude AI through the Model Context Protocol (MCP).

How to use Twilio Messaging MCP Server?

Install with npm i @deshartman/twilio-messaging-mcp-server or run directly via npx with required arguments: npx @deshartman/twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>. Optionally use a .env file with run-server.sh for credentials and ngrok settings. Status callbacks require ngrok authentication token and optional custom domain.

Key features of Twilio Messaging MCP Server

  • Send SMS messages through Twilio.
  • Get status callbacks from Twilio with enhanced error handling.
  • Integrates with Claude AI via the Model Context Protocol.
  • Executable via npx without installation.
  • Supports ngrok tunnels for callback handling.

Use cases of Twilio Messaging MCP Server

  • Automate SMS sending from Claude AI conversations.
  • Create AI-powered messaging workflows with Twilio.
  • Receive and process SMS status callbacks in real time.
  • Rapidly prototype messaging features without manual API calls.

Frequently asked questions

1

What are the prerequisites to use this server?

Node.js >= 18.0.0, a Twilio account with Account SID, API Key/Secret, and a Twilio phone number, plus an ngrok account with an auth token.

2

What environment variables are required?

`NGROK_AUTH_TOKEN` is required for callback handling; `NGROK_CUSTOM_DOMAIN` is optional.

3

How do I resolve an ngrok tunnel “already online” error?

Stop the existing endpoint first, use a different domain name, or start both endpoints with `--pooling-enabled` to load balance.

4

What should I do if I get an ENOTEMPTY error with npm?

Try running the server directly with Node.js instead of using npx.

5

Can I run the server without installing it?

Yes, use npx: `npx @deshartman/twilio-messaging-mcp-server <accountSid> <apiKey> <apiSecret> <number>`.

Comments

More Communication MCP servers