MCP server bridging Claude Code to the OpenClaw gateway management plane via JSON-RPC.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Openclaw Control MCP.
openclaw_introspectReturns server version, your role/scopes, and the full `methods[]` / `events[]` list the gateway publishes in its `hello-ok`.
openclaw_callEscape hatch** β call any JSON-RPC method with arbitrary params. Useful when the gateway adds new methods between releases. Prefer typed wrappers when they exist.
openclaw_setupPersist `{ gatewayUrl, gatewayToken, gatewayPassword? }` to local config.
openclaw_setup_showReport effective config (env vs store), without printing tokens.
openclaw_setup_clearWipe persisted gateway config. Device identity + tokens are kept.
The OpenClaw control plane MCP server. Operate the gateway's full management surface from Claude Code, Cursor, or any MCP client β list and trigger crons, inspect sessions, configure agents and channels, manage skills and secrets, drive the doctor memory plane, pair devices, approve exec/plugin calls. 143 typed tools covering every JSON-RPC method the gateway publishes.

Different from the upstream
openclaw-mcp, which only wraps/v1/chat/completions. This one talks the JSON-RPC protocol used by the OpenClaw Control panel β so you can operate the gateway itself (its crons, sessions, agents, channels, skills, secrets, β¦), not just chat through it.
Without openclaw-control-mcp β you bounce between the Control panel UI, your terminal, and Claude Code. "List my crons" means opening the SPA. "Tail this agent session" means staying in the panel and refreshing. "Why did this skill fail?" means hunting through logs.tail manually. The assistant can chat through the gateway but it cannot operate it.
With openclaw-control-mcp β the same assistant queries openclaw_cron_list, follows up with openclaw_sessions_tail to watch a turn in flight, asks openclaw_skills_status for diagnostic data, rotates a secret via openclaw_secrets_set, and approves a stuck openclaw_exec_approval β without you ever leaving the chat. The Control panel becomes an audit interface, not a daily-driver.
One-click install from supported clients:
On first start the wrapper generates an Ed25519 device identity and surfaces a pairing request id. Approve it once in the OpenClaw Control panel, the gateway issues a device token, and every subsequent call uses it transparently. Full pairing flow below.
0.8.0 β published on npm, indexed on the official MCP Registry as io.github.smurfy92/openclaw-control-mcp. Multi-instance gateway configs, file-based secrets (.env + store.json mode 0600, no OS keychain access β see ADR-006), 143 typed tools across the 128 published JSON-RPC methods, plus two escape hatches: openclaw_introspect enumerates every method/event the gateway publishes in its hello-ok, and openclaw_call lets you reach any method that doesn't have a typed wrapper yet β so new gateway endpoints are reachable without waiting on a release.
The Ed25519 signed handshake is verified live against gateway 2026.4.12+. On first start, the wrapper generates a long-lived device identity, persists it under ${XDG_CONFIG_HOME:-~/.config}/openclaw-control-mcp/store.json (mode 0600), signs the connect frame, and surfaces the resulting pairing request id so you can approve it once via the Control panel. After approval the gateway issues a device token (in hello-ok.auth.deviceToken) which is cached per-gateway and used on subsequent connects to grant scopes.
The wire format (frame types, field names, signing canonicalisation, scopes) was reverse-engineered from the minified Control panel bundle (/api-docs/assets/index-*.js) and cross-checked against openclaw/openclaw/scripts/dev/gateway-smoke.ts. It is not officially documented. Behaviour may change without notice if OpenClaw updates the gateway.
~/.claude.json).openclaw_device_status. The first call:
connect frame,PAIRING_REQUIRED and a requestId,{ pendingPairing: { requestId }, nextStep: "approve in Control panelβ¦" }.openclaw_device_status again. This time the gateway accepts the connect, returns auth.deviceToken in hello-ok, the wrapper caches it, and paired: true plus the granted scopes appear in the response.openclaw_cron_list, _status, β¦) work normally.Restart Claude Code, then jump to Configuration.
The wrapper requires the WebSocket URL of your OpenClaw gateway. The public Hostinger HTTPS hostname does not expose the WS endpoint β you need the URL the Control panel itself uses internally.
Find it from your browser:
gatewayUrl field (typically ws://127.0.0.1:18789, a Tailscale ws://100.x.y.z:18789, or a dedicated wss://β¦ host).The slickest path β no ~/.claude.json editing, no env vars. After installing (npx or from source), in chat:
"Configure OpenClaw with gateway
wss://your-gateway.example.comand token<your-token>"
Claude calls openclaw_setup({ gatewayUrl, gatewayToken }), the values get persisted to ~/.config/openclaw-control-mcp/store.json (mode 0600). The next call to openclaw_device_status triggers the WS handshake and pairing flow.
openclaw_setup_show reports the effective configuration, openclaw_setup_clear wipes the persisted config (without touching the device identity / token).
If you prefer env vars (they take precedence over the stored config), edit ~/.claude.json:
Restart Claude Code β openclaw_cron_list and friends will be available.
.env fileThe server never touches your OS keychain β no security / secret-tool call, no permission prompt, nothing to approve. Since 0.8.0 secrets resolve from exactly two places, in this order:
| # | Source | Notes |
|---|---|---|
| 1 | Real environment variables | Always win. OPENCLAW_GATEWAY_TOKEN=β¦ npx -y openclaw-control-mcp is a valid one-shot override. |
| 2 | A .env file | Loaded into the environment at startup. Never overwrites a variable that is already set. |
| 3 | store.json (mode 0600) | What openclaw_setup and the pairing flow write. Plain JSON, in your config dir. |
.env candidates, highest precedence first:
$OPENCLAW_ENV_FILE β explicit path./.env β the directory the server is started from${XDG_CONFIG_HOME:-~/.config}/openclaw-control-mcp/.envCopy .env.example, fill it in, then chmod 600 .env. The server warns on stderr if the file is readable by other users. The parser is deliberately minimal β KEY=value, export KEY=value, "quoted", '''raw''', # comments β with no variable interpolation, so a secret is never expanded or reinterpreted.
Want the server to never write a secret to disk? Put OPENCLAW_DEVICE_PRIVATE_KEY + OPENCLAW_DEVICE_TOKEN in the .env (get them from an already-paired install with npx tsx scripts/export-ci-secrets.ts). Env-supplied identity short-circuits the store entirely.
--health reports which .env files were loaded and which variables they supplied.
Those versions kept secrets in the OS keychain and left blank fields in store.json. Run the one-shot import once, before your next session:
It reads the keychain, writes the values into store.json (mode 0600), and prints the security delete-generic-password β¦ / secret-tool clear β¦ commands for the now-unused items β it never deletes anything from your keychain itself. Running it twice is a no-op. This is the only code path in the package that reads a keychain at all; it is dynamically imported behind that flag and never runs on normal startup.
If you'd rather not migrate, openclaw_device_repair wipes the orphaned device and the next connect re-pairs from scratch.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/openclaw-control-mcp)<a href="https://allmcps.com/mcp/openclaw-control-mcp"><img src="https://allmcps.com/api/badge/openclaw-control-mcp?style=directory" alt="Openclaw Control MCP on AllMCPs" /></a>