MCP.so
Sign In
Servers

Twilio Messaging MCP Server

@deshartman

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.

FAQ from Twilio Messaging MCP Server

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.

What environment variables are required?

NGROK_AUTH_TOKEN is required for callback handling; NGROK_CUSTOM_DOMAIN is optional.

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.

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

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

Can I run the server without installing it?

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

More from Communication