OpenClaw MCP Server
CommunityMCP server by freema · updated · ★ 188 · 139 downloads a week
MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1. OpenClaw MCP Server is a community project by freema, not verified by a company domain.
Last commit 33 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, 188 stars, original repository
No risky patterns in the files we checked
What you need
| Setting | Needed | What it is |
|---|---|---|
OPENCLAW_Environment variable | Required | URL of your OpenClaw gateway Default: http://127.0.0.1:18789 |
OPENCLAW_Environment variable, secret | Required | Bearer token for OpenClaw gateway authentication |
OPENCLAW_Environment variable | Optional | Model name for chat completions (e.g. 'openclaw' or 'openclaw/<agentId>') Default: openclaw |
OPENCLAW_Environment variable | Optional | Request timeout in milliseconds Default: 120000 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install OpenClaw MCP Server
Built from the published package, never by AIclaude mcp add openclaw-mcp-server -e OPENCLAW_URL=YOUR_OPENCLAW_URL -e OPENCLAW_GATEWAY_TOKEN=YOUR_OPENCLAW_GATEWAY_TOKEN -- npx -y openclaw-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"openclaw-mcp-server": {
"command": "npx",
"args": [
"-y",
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "YOUR_OPENCLAW_URL",
"OPENCLAW_GATEWAY_TOKEN": "YOUR_OPENCLAW_GATEWAY_TOKEN"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"openclaw-mcp-server": {
"command": "npx",
"args": [
"-y",
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "YOUR_OPENCLAW_URL",
"OPENCLAW_GATEWAY_TOKEN": "YOUR_OPENCLAW_GATEWAY_TOKEN"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"openclaw-mcp-server": {
"command": "npx",
"args": [
"-y",
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "YOUR_OPENCLAW_URL",
"OPENCLAW_GATEWAY_TOKEN": "YOUR_OPENCLAW_GATEWAY_TOKEN"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add openclaw-mcp-server --env OPENCLAW_URL=YOUR_OPENCLAW_URL --env OPENCLAW_GATEWAY_TOKEN=YOUR_OPENCLAW_GATEWAY_TOKEN -- npx -y openclaw-mcp{
"mcpServers": {
"openclaw-mcp-server": {
"command": "npx",
"args": [
"-y",
"openclaw-mcp"
],
"env": {
"OPENCLAW_URL": "YOUR_OPENCLAW_URL",
"OPENCLAW_GATEWAY_TOKEN": "YOUR_OPENCLAW_GATEWAY_TOKEN"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install OpenClaw MCP Server in Antigravity CLI
gemini mcp add openclaw-mcp-server npx -y openclaw-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the openclaw-mcp-server block.
Weekly newsletter
Like OpenClaw MCP Server? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to OpenClaw MCP Server
All alternatives →Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID) (with updated dependencies)
Model Context Protocol registry, transports, and OAuth bridges for Electric Agents
Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth
Public Preview — Security proxy for MCP servers: The Firewall for Model Context Protocol
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
OpenClaw MCP Server: common questions
How do I install OpenClaw MCP Server?
In Claude Code run claude mcp add openclaw-mcp-server -e OPENCLAW_URL=YOUR_OPENCLAW_URL -e OPENCLAW_GATEWAY_TOKEN=YOUR_OPENCLAW_GATEWAY_TOKEN -- npx -y openclaw-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is OpenClaw MCP Server the official server?
OpenClaw MCP Server is a community project by freema, not verified by a company domain.
Is OpenClaw MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is OpenClaw MCP Server safe to use?
It scores 76 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to OpenClaw MCP Server?
Similar MCP servers: OpenWork MCP Gateway, Modelcontextprotocol Core, Agents MCP, MCP Remote.
Does OpenClaw MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
