orca-duet 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-duet MCP
A small MCP server that lets Claude on claude.ai (for example Duet, or any chat with a custom connector) read the "needs you" items of your Orca bots and send questions to one Orca bot on your own computer, while you are away from it.
It is added to claude.ai as a custom connector. claude.ai calls it from Anthropic's cloud, so your computer needs a way to be reached from the internet. This README uses Tailscale Funnel for that.
Status: version 0.1.0, an early release. See What has been tested for exactly what was checked and what was not. The Tailscale steps below were written from its public documentation. For claude.ai, screen names differ between apps and languages; see Add it to claude.ai.
What it can do (five tools)
Tool | What it does | Suggested permission in claude.ai |
| Lists items that need you or are waiting, for the bots you configured | Always allow |
| Shows one item and its recent events (bot name + item number) | Always allow |
| Sends one question to your orchestrator bot. A line ( | Ask every time |
| Waits for the reply to a question it sent. One call waits up to 45 s, reading the inbox every 5 s; up to 8 calls per question (about 6 minutes). Read only | Always allow |
| Shows replies to earlier questions, grouped by question id. Does not wait. Read only | Always allow |
What it cannot do: change items, change status, run automations, create bots, create terminals, or send
to any bot other than the orchestrator. Only four exact orca command shapes can run (list items, show one
item, send a question, read the inbox); everything else is refused before orca is started
(check_allowed in server.py). The inbox is read with orca orchestration inbox, which does not mark
messages read, and only messages linked to questions this server sent are returned.
Related MCP server: OpenClaw MCP Server
Requirements
Orca installed, with at least one bot (the "orchestrator" you want to talk to). Find bot names with
orca bot list.Python 3.11 or newer (for
tomllib).A way for claude.ai to reach your computer over HTTPS. This guide uses Tailscale (free Personal plan) with Funnel. Checked with Tailscale 1.106.4 on Windows; earlier versions have not been checked.
A claude.ai plan that allows custom connectors.
Git to download this repository (or use GitHub's "Download ZIP" button and unpack it instead).
This server runs on your computer with your user's permissions and can run the orca command as you
(limited to the four command shapes above). Read server.py (about 900 lines) before you run it,
as you would with any software you install.
Install
git clone https://github.com/atoreti/orca-duet-mcp.git
cd orca-duet-mcp
python -m venv .venv
# Windows
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -r requirements.txt -c constraints.txt
# macOS / Linux
./.venv/bin/python -m pip install --upgrade pip
./.venv/bin/python -m pip install -r requirements.txt -c constraints.txtUpgrade pip before installing anything: python -m venv copies the pip that came with your Python, so an older
Python gives you an older pip with known vulnerabilities (a check of a fresh environment found six in pip 25.0.1).
Those vulnerabilities concern installing packages; the running server does not use pip.
Configure
Settings come from, in order of strength: environment variables > config file > built-in defaults.
Copy
config.example.tomlto~/.config/orca-duet-mcp/config.toml(Windows:%USERPROFILE%\.config\orca-duet-mcp\config.toml), or pass--config <path>, or setORCA_DUET_CONFIG=<path>. The config file is looked for only there (or at--config/ORCA_DUET_CONFIG). Changingstate_dirdoes not move it: aconfig.tomlplaced in your ownstate_diris not read.Set at least
orchestratorto the name of your bot as shown byorca bot list, without thebot:in front (orca bot listprints"bot:Research bot"; write"Research bot", the server addsbot:itself). Add other bots you want Claude to read tobots. Listing the orchestrator inbotsas well is fine (it is not counted twice). Names may use any language; save the file as UTF-8.Windows paths in the file: write them with forward slashes (
"D:/orca-duet/state") or in single quotes ('D:\orca-duet\state'). A backslash inside double quotes is read as an escape and the server stops with aConfig error: cannot read ...message such asUnescaped '\' in a stringorInvalid hex value.Check what the server will use (the key is never printed):
python server.py --show-config This prints the values in use, not which file was read. If no file is found at the default place, the
built-in defaults are used without a warning, so check that orchestrator shows your bot's name, not Orchestrator.
If you use --config <path>, add it to every command: starting the server, --show-config and --new-key.
Without it the server uses the default place, and --new-key would replace the key there instead of yours.
Setting ORCA_DUET_CONFIG once in the terminal avoids this.
Key | Default | Environment variable | Meaning |
|
|
| Bot that |
|
|
| Bots Claude may read |
| auto ( |
| Path to the orca CLI |
|
|
| Where the server listens |
|
|
| Key, call log, sent question ids |
|
|
| First line of every question |
|
|
| Door lock after wrong keys (see Security) |
|
|
| Max questions per rolling hour; |
Start
Start it in a terminal tab inside Orca (not in an agent chat tab). orca needs to know which terminal is
sending (ORCA_TERMINAL_HANDLE); started elsewhere, the read tools work but ask_orchestrator cannot send.
Started inside an agent session, the server refuses to start, because messages would go out in that agent's name.
cd orca-duet-mcp
.\.venv\Scripts\python.exe server.py # Windows
./.venv/bin/python server.py # macOS / LinuxWith your own config file, add --config <path> to the command (see Configure).
When it prints listening on http://127.0.0.1:8791/mcp, it is running. Keep the tab open.
The first start creates the key file in state_dir (the line also shows where: Key file: ...).
Only one program can listen on a port. If another copy of this server (or anything else) already uses port,
stop it first or choose another port; otherwise the start fails with an "address already in use" style error.
Replies from the orchestrator arrive in the inbox of the Orca terminal that sent the question. The server
remembers each sent question id and that terminal (sent.jsonl, no subject or body), so replies can still be
read after restarting the server in another tab.
Stop
Press Ctrl+C in the tab (or close the tab). Then also stop Funnel (below) so nothing is exposed.
python server.py --version prints the version you have.
Make it reachable (Tailscale Funnel)
Create a Tailscale account at https://login.tailscale.com/start (the free Personal plan is enough).
Install Tailscale (Windows:
winget install --id Tailscale.Tailscale -e) and log in. Check withtailscale status.With the server running, expose its port:
tailscale funnel --bg 8791 The first time, Tailscale prints a link to enable Funnel (and HTTPS certificates) for your tailnet.
Open it, enable, and run the command again.
4. tailscale funnel status shows a URL like https://<machine>.<tailnet>.ts.net/.
The connector URL is that URL plus mcp, for example https://my-pc.example-tailnet.ts.net/mcp.
To stop exposing it: tailscale funnel --https=443 off (or tailscale funnel reset to remove everything).
Add it to claude.ai as a custom connector
Screen names differ between the web, the desktop app and the language of the screen, and they change over time. Two layouts are known:
From Anthropic's documentation (not checked on screen): Settings → Connectors (or Customize → Connectors), then Add custom connector.
Seen once in the Windows desktop app with Japanese screens (December 2026): the side menu プラグイン ("Plugins") → マイプラグイン ("My plugins") → the connector's page, which has a row for the connector with a button 連携/連携させる ("Connect") and an 権限 ("Permissions") tab. The English labels in brackets are translations; the English screen was not checked.
Steps:
Open the connector list in one of the places above and add a custom connector.
Name:
orca-duet. URL: the Funnel URL ending in/mcp.Give it the key as an API key, then connect (the Connect / 連携 button). Where the key field appears depends on the screen; in the documentation it is Advanced settings → sign-in method API key. claude.ai sends it as
Authorization: Bearer <key>. Never put the key in the URL (the server refuses it). Copy the key without printing it (the key file iskeyin yourstate_dir; the lines below use the default place):Windows PowerShell:
Get-Content "$env:USERPROFILE\.config\orca-duet-mcp\key" | Set-ClipboardmacOS:
pbcopy < ~/.config/orca-duet-mcp/key
Paste right after copying. If you take a screenshot or copy anything else in between, the clipboard now holds that instead, and claude.ai gets a wrong key (this happened once while testing). If connecting fails, copy the key again and paste it at once.
Set tool permissions as in the table above. Keep
ask_orchestratoron ask every time so you see each question before it reaches Orca. Keepwait_replyon always allow, or every wait will ask you.
To replace the key of a connector you already added (for example after --new-key): delete the connector and
add it again as a new custom connector with the new key (steps 1 to 4 above). Disconnecting it from its "..." menu
and pressing Connect (連携/連携させる) again does not ask for a key, so it does not connect (checked once in the
Japanese desktop app).
After replacing the key, wait 5 minutes (auth_lockout_sec, default 300 seconds) before you delete and re-add the
connector. A connector that still holds the old key locks the door after a single request (see Security), and
while the door is locked even the new key is refused, so re-adding it at once looks like a failure.
If claude.ai cannot connect
claude.ai's message does not say why. With a wrong key it was only "could not connect ... check the server URL
and that the server is running" (seen in the Japanese desktop app). Look at the last lines of calls.log in state_dir:
Last lines of | Meaning | What to do |
| The key reached the server but is not the right one | Copy the key again and paste it at once (see the clipboard note above) |
| A request came without any key | If every try gives |
| The door is locked after wrong keys | Wait |
No new line at the time you tried | The request did not reach the server | Check that the server is running, Funnel is on, and the URL ends in |
All note values are listed under "What it stores" in the Security section.
Try it in a chat: "Do I have any Orca items waiting for me?", "Show item 1 of Orchestrator.", "Tell Orchestrator I will answer item 1 tonight."
What leaves your computer
What | Where it goes | How to stop it |
Tool results: titles, questions, recent events and descriptions of open items of the bots in | Anthropic (claude.ai), when Claude calls a tool | Remove bots from |
The questions Claude sends to your orchestrator | Stay on your computer (written by Claude in claude.ai, delivered to Orca locally) | Set |
HTTPS requests from claude.ai and the server's answers | Pass through Tailscale's Funnel relay to your computer |
|
The key | Stored in your claude.ai connector settings | Replace it with |
The server itself makes no outgoing network connections: it only listens, and runs the local orca command.
Services you rely on, and your responsibility
Using this server means using Orca, Tailscale (Funnel) and claude.ai (custom connectors). Each has its own terms of service and acceptable-use rules, and your organisation may have rules about exposing a computer or sending work data to an AI service. This project does not interpret those terms for you: check them yourself before use, and use the server at your own responsibility (see also the no-warranty clause in LICENSE).
Security: read this before you expose it
You are opening a path from the internet to your computer. Anyone who finds the Funnel URL can knock. Only the key stands between them and the tools. Expose it only while you need it, and stop Funnel when done.
One key protects everything. It is 48 random bytes, compared in constant time, accepted only in the
Authorization: Bearerheader. Requests with a key-like word in the URL are refused.Repeated wrong keys lock the door. After
auth_fail_limitwrong keys withinauth_fail_window_sec, every request, even with the right key, gets HTTP 429 forauth_lockout_sec. Requests without any key get 401 but do not count, so random scanners cannot lock you out. Someone who keeps guessing can keep you locked out; if that happens, change the Funnel URL or stop Funnel. claude.ai retries a refused key by itself: in testing it sent the same wrong key 5 times within about 5 seconds (seen twice), which is exactly the defaultauth_fail_limit. So one request from a connector that still holds an old key is enough to lock the door forauth_lockout_sec(default 5 minutes). After you replace the key, wait for the lock to end, then delete and re-add the connector with the new key.Sending is capped. At most
send_limit_per_hourquestions per rolling hour (0makes the server read only).wait_replyis capped per question.If the key may have leaked, replace it at once:
python server.py --new-key If you start the server with --config <path>, run this with the same --config <path>, or it replaces the
key in the default place instead. The old key stops working when you restart the server. Then paste the new key
into claude.ai by deleting the connector and adding it again (see "To replace the key of a connector you already added").
What it stores (in
state_dir, outside this folder by default): the key;calls.logwith one line per request: time, tool name, success, and for failures a short reason codenote(no key, no message text);sent.jsonlwith question ids, the sending terminal handle and time (no subject or body);errors.logwith the full text of errors, which may contain local paths..gitignorekeeps these out of git if you pointstate_dirhere.The
notevalues incalls.log:toolnoteMeaning
(auth)no_keyRequest without any key; refused with 401, not counted for the lock
(auth)wrong_keyBearer key that is not the right one; 401, counted
(auth)not_bearerAuthorizationheader that is notBearer; 401, counted(auth)key_in_urlA key-like word in the URL (even with the right header); 401, counted
(auth)lockedRefused with 429 because the door is locked
a tool name
refusedThe tool refused the input (unknown bot, wrong number, send limit, ...)
a tool name
timeoutorca did not answer in time
a tool name
another word (an error type)
Unexpected error; the full text is in
errors.logErrors shown to Claude are short: a fixed message and an error id, never the exception text, so local paths, your account name and command lines do not reach claude.ai. The full text is in
errors.logunder the same id.What Claude can see: the titles, questions and recent events of open items of the bots you list in
bots, and replies to questions this server sent. Do not list bots whose items you do not want in claude.ai.Item text from Orca is passed to Claude as data. Treat what bots write there like any other untrusted input.
Uninstall: what stays on your computer
Stop the server (
Ctrl+C) and stop Funnel:tailscale funnel reset.In claude.ai, remove the
orca-duetconnector (where you added it; see "Add it to claude.ai").Delete
state_dir(default~/.config/orca-duet-mcp, Windows%USERPROFILE%\.config\orca-duet-mcp). It holds the key,calls.log,errors.logandsent.jsonl, and with the defaultstate_diralsoconfig.toml(if you made one). If you changedstate_diror used--config, delete that folder and that config file too. The logs and the sent list grow by one line per call, error or question and are never trimmed; deleting them while the server is stopped is safe (the server then forgets earlier questions, soread_repliesno longer finds their replies).Delete this folder (it contains
.venv).If you installed Tailscale only for this, uninstall it from your system's app settings.
Tests
python -m unittest test_server -v # unit tests, never run orca
python check_live.py # starts the real server on port 8792 with a temporary key and calls the read tools
python check_live.py --send # also sends one real test question (run it in an Orca terminal tab)check_live.py --seed <msg_id>@<term_handle> puts an earlier question into the sent list first, so
read_replies and wait_reply can be checked without sending anything new.
What has been tested
Checked (Windows 11, Python 3.12, Orca 1.4.291, mcp 1.30.0, uvicorn 0.55.0, version 0.1.0):
Unit tests (
test_server.py), also withORCA_DUET_*variables set to unusual values.Each safeguard broken on purpose makes the unit tests fail (lockout, counting rules, send cap, config loading, command gate).
A fresh copy installed into a new virtual environment from
requirements.txtandconstraints.txt, without any Git or GitHub login (in Git Bash and in PowerShell), passes the tests.check_live.pyagainst a real Orca: 401 for no key / wrong key / key in URL, 200 for the right key, the read tools return real items. Nothing was sent.The real path on 2026-12-06: Claude in claude.ai (Duet) → Tailscale Funnel (1.106.4) → a Windows PC → Orca, with this version set up from this README.
list_needs_you,show_item,ask_orchestratorandwait_replyworked.After
ask_orchestrator, Claude calledwait_replywithout being told and showed the bot's reply in the chat. Tried twice, worked both times. Both tries were in the same Duet chat, and before the first one Claude had read the test steps through a tool result; a chat with no earlier exchange was not tried.Through the Funnel URL: 401 for no key / wrong key / key in URL, 200 for the right key; after 5 wrong keys, 429 with
Retry-After: 300, and 200 again after 5 minutes. These requests were sent from the same PC, so whether they went through Tailscale's outside relay was not checked.
Not checked yet:
macOS and Linux (including the
pbcopyand./.venv/bin/pythonlines above).Tailscale versions other than 1.106.4.
read_repliesthrough claude.ai (it was not called during the test above).Cloning from GitHub (the repository was not public when this was written).
Why the numbers
One
wait_replycall waits 45 s because claude.ai's tool-call time limit is not clearly documented (different pages mention 60, 180 and 240 seconds); 45 s fits under all of them.MCP progress notifications are not used, because it is unclear whether claude.ai shows them.
License
MIT. See LICENSE.
Built on the MCP Python SDK (MIT) and
Uvicorn (BSD-3-Clause), installed by requirements.txt.
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
Your own WhatsApp in Claude and ChatGPT: read chats, draft replies, send messages you approve.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Connect any IMAP/SMTP mailbox to Claude & ChatGPT: search, read, sort, draft. Sends only with OK.
Related MCP Servers
- AlicenseAqualityCmaintenanceConnects Claude to Open WebUI, enabling chat management, RAG knowledge bases, files, functions, and prompts directly from Claude.26103 npm1MIT
- AlicenseNot gradedqualityAmaintenanceEnables Claude.ai and Claude Desktop to delegate tasks to self-hosted OpenClaw assistant gateways through a secure, OAuth 2.1-authenticated bridge. Supports synchronous chat, asynchronous task queuing and polling, health checks, and routing requests across multiple isolated instances.398 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Desktop or Claude Code to ask ChatGPT and use shared task-board and file tools, with approvals handled through the desktop app or a command-line helper.GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables Claude Desktop, Claude Code, and Codex to send approved coding tasks to separate Oh My Pi sessions on Windows, monitor their progress, and wake the assistant when work finishes.MIT