Skip to content

dylibso/mcp-run-twilio

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published