Connect OpenClaw
You need an OpenClaw gateway with its OpenAI-compatible Chat Completions endpoint enabled, and the gateway token or password. Treat that credential as gateway operator access.
Connect the gateway
Section titled “Connect the gateway”- Enable
gateway.http.endpoints.chatCompletions.enabledin OpenClaw’s configuration and restart the gateway. - Open Settings > Agents > OpenClaw in Rukoo.
- Enter the gateway URL and token. For a gateway on this computer the usual URL is
http://127.0.0.1:18789. - Use Test connection. Optionally set an agent ID; an existing chat keeps the agent it started with.
Let OpenClaw use Rukoo
Section titled “Let OpenClaw use Rukoo”- If the gateway runs elsewhere, first turn on Let OpenClaw use Rukoo from another computer. Both computers need Tailscale.
- Choose Copy OpenClaw setup. Do both copied steps on the gateway computer: replace its
RUKOO_MCP_TOKENline in OpenClaw’s.envfile, then run the copiedopenclaw mcp setcommand. - Restart the gateway so it reads the environment and loads the tools.
- Run
openclaw mcp doctor rukoo --probethere. Keep Rukoo open while using the tools.
Use the copied address and token for the chosen local or remote route. If the gateway token changes, copy the setup again and repeat both steps.
Fix a failed probe
Section titled “Fix a failed probe”A 401 can mean the gateway never read the environment variable. Setting it in a terminal alone does not update a running service. A variable already present in the service overrides its .env file. The tagged OpenClaw guide on GitHub covers service configuration and the offline-ownership error.
The chat shows OpenClaw’s answer text. Its own approvals stay in OpenClaw; Rukoo permission levels govern Rukoo tool actions.