OpenClaw MCP Server
About
MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
OPENCLAW_URL OPENCLAW_GATEWAY_TOKEN OPENCLAW_MODEL OPENCLAW_TIMEOUT_MSClaude Code
claude mcp add --env OPENCLAW_URL= --env OPENCLAW_GATEWAY_TOKEN= --env OPENCLAW_MODEL= --env OPENCLAW_TIMEOUT_MS= openclaw-mcp -- npx openclaw-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"openclaw-mcp","command":"npx","args":["openclaw-mcp"],"env":{"OPENCLAW_URL":"","OPENCLAW_GATEWAY_TOKEN":"","OPENCLAW_MODEL":"","OPENCLAW_TIMEOUT_MS":""}}'
JSON
{
"mcpServers": {
"openclaw-mcp": {
"command": "npx",
"args": [
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "",
"OPENCLAW_GATEWAY_TOKEN": "",
"OPENCLAW_MODEL": "",
"OPENCLAW_TIMEOUT_MS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.