pan mcp
Serve Overdeck’s MCP tools to a client over stdio, manage the OAuth sign-ins that reach
/mcp, and run the Overdeck connector next to a self-hosted bot. This page lists the
commands; MCP server explains the tools and scopes, and
Connect a bot walks through setting up a bot.
serve
Before it serves, the command checks the token against this machine’s token registry. Each
tool then calls the dashboard with that token, so the token’s scopes decide what every call
may do. stdout carries JSON-RPC only; every diagnostic goes to stderr. The command exits 0
when stdin closes.
It exits 1 and prints one of these lines when it refuses to start:
Create the token with
pan token create. A client configured in the
Claude Desktop style points at a token file, so the token never appears in the config:
oauth
Manage OAuth sign-ins to/mcp. Every subcommand calls the dashboard on this machine, so the
dashboard must be running. When it is not, the command prints
The dashboard is not running. Start it with pan up. and exits 1. See
Sign in with OAuth for the browser flow.
A sign-in has one of four access levels:
Any other
--level value prints The level must be one of read, message, operate, approve.
and exits 1.
issue
It prints the client id, the sign-in id, the level, the access token and the refresh token
(
odr_…), followed by:
list
never) and the date its refresh token expires:
No MCP sign-ins.
revoke
<familyId> is the sign-in id from list. It prints
Revoked sign-in <familyId>.; an unknown id prints No active sign-in <familyId>. and exits 1.
pending
No sign-ins are waiting.
approve
The code ignores case and the dash:
KQZT-MWRB, kqztmwrb and kqzt-mwrb name the same
approval. It prints Approved sign-in <code> for <client name> at level <level>. A code that
matches no waiting sign-in prints No waiting sign-in has code <CODE>. and exits 1.
deny
approve and prints Denied sign-in <code> for <client name>.
connector
Run an Overdeck connector for a self-hosted bot. The connector runs on the computer where the bot runs, pairs with one Overdeck machine, and serves that machine’s MCP tools onhttp://127.0.0.1:7466/mcp (or stdio). See
Run the Overdeck connector for the whole
setup.
It needs Node 22.16 or later. On a computer without Overdeck, run each command as
npx -y @overdeck/core@<version> mcp connector <command>; the Connect a bot dialog shows the
exact version.
The connector home is mode 0700 and holds four files, each mode 0600:
account.json,
identity.json, pairing.json and local-token. The connector never reads or writes
~/.overdeck.
login
pair
serve
A
--port that is not an integer from 1 to 65535 prints
--port must be an integer from 1 to 65535 and exits 1.