Skip to main content
OpenClaw runs MCP servers and installs agent plugin bundles. Mirage reaches it two ways: OpenClaw keeps its own exec and file tools. Mirage sees only the calls to its tools.

Install

Install OpenClaw separately.

Workspace

workspace.yaml

MCP

OpenClaw changes and probes MCP servers only while its Gateway is stopped:
Stop a foreground openclaw gateway run with Ctrl-C instead. Then add Mirage:
The probe prints mirage: 7 tools. Restart a foreground Gateway with openclaw gateway run instead of start. Sessions on the coding and messaging tool profiles then get the tools; the minimal profile and a tools.deny of bundle-mcp hide them. mirage mcp sends your saved login or the local token file. OpenClaw starts it with only HOME, PATH, USER and LOGNAME, so a MIRAGE_TOKEN in the Gateway’s environment does not reach it. If the Gateway runs as a service, set command to the path command -v mirage prints. For a Mirage server, OpenClaw fills ${MIRAGE_TOKEN} in the header from the environment of the process that connects: export it in your shell for the probe, and in the Gateway’s environment for sessions.

Plugin

Answer y to both prompts: one confirms a source from outside ClawHub, the other the plugin’s skills. inspect shows Bundle capabilities: skills, mcpServers. The skills and tools load in the next session. The plugin starts npx -y @struktoai/mirage-cli mcp from its folder under ~/.openclaw/extensions/, so it serves the workspace in your home folder, not demo:
~/.mirage/workspace.yaml