https://github.com/dylibso/mcp-run-twilio
https://github.com/dylibso/mcp-run-twilio
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dylibso/mcp-run-twilio
- Owner: dylibso
- License: bsd-3-clause
- Created: 2025-01-21T15:00:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-21T21:54:22.000Z (over 1 year ago)
- Last Synced: 2025-01-21T22:33:20.704Z (over 1 year ago)
- Language: JavaScript
- Size: 247 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MCP.run Twilio Integration
This uses a cloudflare worker as a twilio responder and shuttles the messages to
[mcp.run tasks](https://docs.mcp.run/tasks/using-tasks).
Example connected to the whatsapp sandbox:

## Setup
You need some secrets:
```
wrangler secret put TWILIO_ACCOUNT_SID = ""
wrangler secret put TWILIO_AUTH_TOKEN = ""
wrangler secret put MCP_RUN_TOKEN = ""
wrangler secret put SECRET_NONCE = ""
```
The easiest setup to get started is [whatsapp sandbox](https://console.twilio.com/us1/develop/sms/try-it-out/whatsapp-learn)
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.