{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.freema/openclaw-mcp",
  "slug": "io.github.freema.openclaw-mcp",
  "title": "OpenClaw MCP Server",
  "summary": "MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.",
  "version": "2.0.0",
  "serverKey": "openclaw-mcp",
  "pageUrl": "http://23.23.102.237/tool/io.github.freema.openclaw-mcp",
  "installMdUrl": "http://23.23.102.237/tool/io.github.freema.openclaw-mcp/install.md",
  "trust": {
    "score": 96,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T09:21:40.520297998Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openclaw-mcp@2.0.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add openclaw-mcp -e 'OPENCLAW_GATEWAY_TOKEN=<OPENCLAW_GATEWAY_TOKEN>' -e OPENCLAW_URL=http://127.0.0.1:18789 -- npx -y openclaw-mcp@2.0.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openclaw-mcp@2.0.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"<OPENCLAW_GATEWAY_TOKEN>\",\n        \"OPENCLAW_URL\": \"http://127.0.0.1:18789\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openclaw-mcp@2.0.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"<OPENCLAW_GATEWAY_TOKEN>\",\n        \"OPENCLAW_URL\": \"http://127.0.0.1:18789\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"OPENCLAW_GATEWAY_TOKEN\",\n      \"id\": \"openclaw-gateway-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"OPENCLAW_URL\",\n      \"id\": \"openclaw-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"openclaw-mcp@2.0.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"${input:openclaw-gateway-token}\",\n        \"OPENCLAW_URL\": \"${input:openclaw-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.openclaw-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"openclaw-mcp@2.0.0\"]\nenv = { \"OPENCLAW_GATEWAY_TOKEN\" = \"<OPENCLAW_GATEWAY_TOKEN>\", \"OPENCLAW_URL\" = \"http://127.0.0.1:18789\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "OPENCLAW_GATEWAY_TOKEN",
        "-e",
        "OPENCLAW_URL",
        "ghcr.io/freema/openclaw-mcp:2.0.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add openclaw-mcp -e 'OPENCLAW_GATEWAY_TOKEN=<OPENCLAW_GATEWAY_TOKEN>' -e OPENCLAW_URL=http://127.0.0.1:18789 -- docker run -i --rm -e OPENCLAW_GATEWAY_TOKEN -e OPENCLAW_URL ghcr.io/freema/openclaw-mcp:2.0.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"OPENCLAW_GATEWAY_TOKEN\",\n        \"-e\",\n        \"OPENCLAW_URL\",\n        \"ghcr.io/freema/openclaw-mcp:2.0.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"<OPENCLAW_GATEWAY_TOKEN>\",\n        \"OPENCLAW_URL\": \"http://127.0.0.1:18789\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"OPENCLAW_GATEWAY_TOKEN\",\n        \"-e\",\n        \"OPENCLAW_URL\",\n        \"ghcr.io/freema/openclaw-mcp:2.0.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"<OPENCLAW_GATEWAY_TOKEN>\",\n        \"OPENCLAW_URL\": \"http://127.0.0.1:18789\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"OPENCLAW_GATEWAY_TOKEN\",\n      \"id\": \"openclaw-gateway-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"OPENCLAW_URL\",\n      \"id\": \"openclaw-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"openclaw-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"OPENCLAW_GATEWAY_TOKEN\",\n        \"-e\",\n        \"OPENCLAW_URL\",\n        \"ghcr.io/freema/openclaw-mcp:2.0.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"OPENCLAW_GATEWAY_TOKEN\": \"${input:openclaw-gateway-token}\",\n        \"OPENCLAW_URL\": \"${input:openclaw-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.openclaw-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"OPENCLAW_GATEWAY_TOKEN\", \"-e\", \"OPENCLAW_URL\", \"ghcr.io/freema/openclaw-mcp:2.0.0\"]\nenv = { \"OPENCLAW_GATEWAY_TOKEN\" = \"<OPENCLAW_GATEWAY_TOKEN>\", \"OPENCLAW_URL\" = \"http://127.0.0.1:18789\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "OPENCLAW_URL",
      "required": true,
      "secret": false,
      "description": "URL of your OpenClaw gateway",
      "help": "URL of your OpenClaw gateway",
      "default": "http://127.0.0.1:18789",
      "placeholder": "http://127.0.0.1:18789"
    },
    {
      "name": "OPENCLAW_GATEWAY_TOKEN",
      "required": true,
      "secret": true,
      "description": "Bearer token for OpenClaw gateway authentication",
      "help": "Bearer token for OpenClaw gateway authentication",
      "placeholder": "<OPENCLAW_GATEWAY_TOKEN>"
    },
    {
      "name": "OPENCLAW_MODEL",
      "required": false,
      "secret": false,
      "description": "Model name for chat completions (e.g. 'openclaw' or 'openclaw/<agentId>')",
      "help": "Model name for chat completions",
      "default": "openclaw",
      "placeholder": "openclaw"
    },
    {
      "name": "OPENCLAW_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Gateway request timeout in milliseconds (idle timeout for streamed async tasks)",
      "help": "Gateway request timeout in milliseconds (idle timeout for streamed async tasks)",
      "default": "120000",
      "placeholder": "120000"
    }
  ],
  "expectedTools": [
    "openclaw_chat",
    "openclaw_status",
    "openclaw_instances",
    "openclaw_chat_async",
    "openclaw_task_status",
    "openclaw_task_list",
    "openclaw_task_cancel"
  ],
  "agentSteps": [
    "Ask the user for: OPENCLAW_URL, OPENCLAW_GATEWAY_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: openclaw_chat, openclaw_status, openclaw_instances, openclaw_chat_async, openclaw_task_status, openclaw_task_list, openclaw_task_cancel.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T09:21:40.520297998Z"
}
