Orca Bots Webhook MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Orca Bots Webhook MCP
A self-hosted MCP server, deployed on Cloudflare Workers (free plan), that lets an AI assistant send JSON to your bots' webhooks. For example, ChatGPT or Claude can post a task to an Orca bot. It works with any client that supports remote MCP servers over streamable HTTP. Whether a client's mobile voice mode can call connectors depends on that client.
Two tools:
list_botsandsend_webhook.Webhook URLs are kept in a Cloudflare secret. They never appear in code, Git or chat. The assistant only names the bot.
Stateless and needs no database. Free plan: 100,000 requests a day. No cold start and no expiry.
AI assistant ──MCP──▶ Worker (/mcp?key=…) ──POST JSON──▶ bot webhook
looks up bot name in WEBHOOKS secretTools
Tool | Input | Returns |
| none | Every configured bot, what it does, its intents and each intent's fields (from |
|
|
|
|
| New replies (all threads or one), or a thread's recent asks and replies |
|
| Notebook docs |
|
| A short doc whole; a long one as an outline; one part; or only parts changed after a revision |
|
| Changes one part of a doc |
The POSTed body is { "intent": "<intent>", "thread": "<thread>", ...data } (no intent for bots without intents). data is checked against bots.json before sending: required fields, types, enum, pattern, and unknown fields.
The webhook URL is never returned. Requests to a webhook time out after 15 seconds.
Related MCP server: ConvoKit MCP
Threads and replies
Webhooks only go one way, so replies come back through the Worker. A thread is a name like groove (a project) or groove/034 (feature 034 of it); it defaults to the bot name. Every send_webhook is saved in its thread, and the thread name is passed to the bot.
Whoever does the work (a bot, or Claude Code through a bot) posts back:
curl -X POST https://<worker>/reply \
-H "Authorization: Bearer <REPLY_KEY>" -H "Content-Type: application/json" \
-d '{"thread":"groove/034","from":"captain","status":"done","text":"Added 3 retries."}'status is one of received, working, question, done, failed. The assistant reads replies with get_updates; each reply is shown as new once. Messages are stored in D1. A weekly cron deletes messages older than 30 days and notebook docs not changed for 90 days (any edit resets a doc's clock).
Notebook
Replies stay short; long material (plans, research, findings) goes in notebook docs, shared both ways. A doc is split into parts on its ## headings, and each part remembers the revision it last changed in, so:
the assistant edits one part with
write_doc, never the whole doc;the assistant reads a long doc as an outline first, then one part, or only parts changed since a revision;
the laptop side uploads a whole local file with
PUT /doc, and only the parts whose text changed get a new revision.
PUT /doc takes a base revision and refuses (409) if the doc changed since, so edits from the other side aren't overwritten.
Laptop endpoints (Authorization: Bearer <REPLY_KEY>): GET /docs?thread=, GET /doc?thread=&doc=[&since=], PUT /doc?thread=&doc=[&base=] with markdown as the body.
Self-host
Needs Node.js 18+ and a free Cloudflare account (no card needed for Workers).
git clone <this repo> && cd orca-bots-webhook-mcp
npm install
cp bots.example.json bots.json # then describe your own bots
npx wrangler login # opens the browser once
npx wrangler d1 create orca-bots-webhook-mcp # paste the printed database_id into wrangler.jsonc
npx wrangler d1 migrations apply DB --remote
npx wrangler deploy # first time: pick your workers.dev subdomainSet the three secrets. Each secret put deploys immediately; no redeploy is needed.
openssl rand -hex 32 # make an access key, save it in a password manager
npx wrangler secret put ACCESS_KEY # paste the key
npx wrangler secret put REPLY_KEY # another random key, for the laptop side: /reply and /doc
npx wrangler secret put WEBHOOKS # paste: {"router":"https://your-bot-webhook"}Your MCP endpoint:
https://orca-bots-webhook-mcp.<your-subdomain>.workers.dev/mcp?key=<ACCESS_KEY>Add that URL as a remote MCP server (streamable HTTP) in your client. If the client supports headers, you can send Authorization: Bearer <ACCESS_KEY> instead of ?key=. Leave OAuth off.
Check it:
/mcpwith no key or a wrong key returns 404.With the key,
list_botsshows your bots.npx wrangler tailshows live logs.
Bots and webhooks
Each bot has two parts, matched by name:
bots.jsondescribes what the bot does, its intents and each intent's fields. The assistant reads it throughlist_bots. It is bundled at deploy and git-ignored;bots.example.jsonshows the format, with a router bot and a free-form test bot.WEBHOOKSsecret maps the bot name to its URL:
{
"router": "https://hooks.example.com/router-bot",
"testing": "https://hooks.example.com/test-bot"
}Only bots that have a URL are listed. A bot with a URL but no bots.json entry takes free-form JSON.
Field options in bots.json: type (string, number, boolean, object, array), required, description, enum, pattern. Put "when to use" rules in intent descriptions; the assistant follows them.
Task | How | Redeploy? |
Add a bot or change a URL |
| No |
Describe a bot, add an intent or a field | edit | Yes |
Rotate the access key |
| No |
Change the code | edit | Yes |
Cloudflare can't show a secret after it's set, so keep a copy of the JSON somewhere safe.
The laptop side (Orca)
The Worker only reaches your bots over webhooks; this repo also has the pieces for the laptop end:
Path | What it is |
| Instructions for an Orca bot named |
| Posts a short reply to a thread: |
| Pushes and pulls notebook docs: |
| Claude Code skill: how a captain handles a voice request and replies |
Setup: copy bin/* onto your PATH; put WORKER_URL=https://... in ~/.config/voice-router/config and the REPLY_KEY alone in ~/.config/voice-router/reply-key (chmod 600 both); copy the skill to ~/.claude/skills/; create the router bot in Orca, paste router/SOUL.md, and give it a webhook automation whose URL goes into WEBHOOKS.
Local development
cp .dev.vars.example .dev.vars # test keys; bots point at httpbin.org
npx wrangler d1 migrations apply DB --local
npm run dev # http://localhost:8787/mcp?key=local-test-key
npm run typecheckTry it with the MCP Inspector (npx @modelcontextprotocol/inspector) or curl:
curl -X POST 'http://localhost:8787/mcp?key=local-test-key' \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_webhook","arguments":{"bot":"testing","data":{"hello":"world"}}}}'Files
File | Purpose |
| Worker entry: |
| The |
| D1 reads and writes for threads |
| Turns messages into short lines |
| Notebook: split into parts, storage, reading, MCP tools, laptop endpoints |
| D1 tables |
| Reads |
| The MCP server and its two tools |
| Types for |
| Joins |
| Checks intent and fields before sending |
| Parses |
| Example bot catalog |
| Laptop side, see above |
| Worker settings (no secrets) |
Security notes
Anyone with the full URL, including the key, can trigger your webhooks. Treat it like a password.
A missing or wrong key gets a plain 404.
With
observabilityon, Cloudflare logs record request URLs, including?key=. Use the Bearer header, or turnobservabilityoff, if that matters to you.Until
ACCESS_KEYis set, every request gets a 404.Keep
workers_dev: trueinwrangler.jsonc, or the workers.dev URL is switched off on the next deploy.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect assistants to your workspace knowledge, skills, and work tools.
Webhooks for AI agents: send events, manage endpoints, inspect and retry deliveries.
Shared workspace for people and AI bots: read rooms, post as your bot, share files, manage tasks.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables managing AI meeting bots that can join, record, transcribe meetings, speak, send messages, and display media across platforms like Zoom, Google Meet, and Microsoft Teams.12MIT
- AlicenseAqualityBmaintenanceEnables coding assistants to integrate the platform using official SDK, UI, authentication, and REST documentation guides, and to manage an app's users, scoped tokens, memberships, conversation metadata, and messages through configurable connections.5MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to register instances, send and receive persistent messages, and communicate across platforms and sessions using natural language commands.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to register instances, exchange persistent messages across platforms and sessions, and check inboxes using simple natural language commands.-