MCP ExplorerExplorer

Mcp Run Twilio

@dylibsoon 9 months ago
5 BSD-3-Clause
FreeCommunity
AI Systems
Integrates Twilio with MCP.run using Cloudflare Workers for messaging.

Overview

What is Mcp Run Twilio

mcp-run-twilio is an integration that uses a Cloudflare worker to respond to Twilio messages and route them to MCP.run tasks.

Use cases

Use cases include responding to customer inquiries via WhatsApp, sending notifications, and automating SMS interactions for businesses.

How to use

To use mcp-run-twilio, set up your Twilio account with necessary secrets, configure your Cloudflare worker to handle incoming messages, and point it to your MCP.run tasks.

Key features

Key features include seamless integration with Twilio, support for WhatsApp sandbox, and the ability to handle SMS and call responses.

Where to use

mcp-run-twilio can be used in customer support, automated messaging systems, and any application requiring real-time communication via Twilio.

Content

MCP.run Twilio Integration

This uses a cloudflare worker as a twilio responder and shuttles the messages to
mcp.run tasks.

Example connected to the whatsapp sandbox:

Demo

Setup

You need some secrets:

wrangler secret put TWILIO_ACCOUNT_SID = "<sid>"
wrangler secret put TWILIO_AUTH_TOKEN = "<token>"
wrangler secret put MCP_RUN_TOKEN = "<token>"
wrangler secret put SECRET_NONCE = "<any-generated-secret-nonce>"

The easiest setup to get started is whatsapp sandbox

Configure it to point at your cloudflare worker with your nonce as the url parameter, example:

When a message comes in                                                            Method
------------------------------------------------------------------------------------------
https://my-twillio-agent.mycompany.workers.dev/5bf4e85cbd047446e843a8856e164974    POST

You could also set this up with an SMS number or even call into it. But that’s beyond the scope of this example.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers