Monitor and chat with an OpenClaw Gateway from Raycast. The extension uses OpenClaw's native WebSocket protocol and works with local, LAN, Tailscale, and Cloudflare Access connections.
| Command | Purpose |
|---|---|
| OpenClaw Control Center | Monitor Gateway health, tasks, sessions, agents, nodes, channels, and usage |
| Ask OpenClaw | Ask a question in a new Gateway session |
| Chat with OpenClaw | Start or continue Gateway-backed conversations |
| Ask About Clipboard | Send clipboard text to OpenClaw with a question |
| Process Selected Text | Summarize, explain, translate, rewrite, or review selected text |
| Gateway Status | Check the authenticated connection, pairing, and protocol details |
| Open OpenClaw Control UI | Open the configured Control UI in your browser |
The Control Center is a fast operational view, not a replacement for OpenClaw's administrative UI. It requests only operator.read and operator.write. Approval management, configuration changes, and other administrative operations remain in OpenClaw.
2026.9.4 or a protocol-compatible Gatewayws:// Gateway or remote wss:// endpointcloudflared on the Raycast Mac for Cloudflare Access browser sign-inThe optional HTTP Chat Completions endpoint is not required.
Raycast asks how it should reach OpenClaw on first launch.
| Connection | Gateway URL | Notes |
|---|---|---|
| OpenClaw Configuration | Read from ~/.openclaw/openclaw.json | Uses the local or remote mode in the file |
| Local Gateway | ws://127.0.0.1:18789 | Gateway runs on the same Mac |
| Local Network | Private wss:// URL | Use TLS even on a trusted LAN |
| Tailscale | OpenClaw-managed wss://<machine>.<tailnet>.ts.net URL | Requires Tailscale access on both machines |
| Cloudflare Tunnel and Access | Tunnel wss:// hostname | Supports browser sign-in or a service token |
Remote modes validate the configured URL before connecting and require wss://. Plain ws:// is accepted only for a loopback Gateway on the same Mac. If the URL field is empty, a matching gateway.remote.url from OpenClaw's configuration can be used.
Run Gateway Status. If approval is required, the error shows the current request ID and approval command. On the Gateway host, review and approve that exact request:
openclaw devices list
openclaw devices approve <requestId>
Refresh Gateway Status after approval. Raycast requests only operator.read and operator.write and stores the durable device credential returned by OpenClaw. See OpenClaw's pairing guide.
Use OpenClaw-managed Tailscale Serve:
openclaw gateway --tailscale serve
Choose Tailscale in Raycast and enter the resulting secure endpoint. Keep the Gateway listener on loopback. See OpenClaw's Connect and pair and Remote access guides.
Choose Cloudflare Tunnel and Access and enter the tunnel's wss:// hostname.
cloudflared access login. Cloudflare opens the identity provider allowed by the Access policy, such as GitHub or Google. A valid cached Access session is reused.Install the Cloudflare helper before using browser sign-in:
brew install cloudflared
Run Gateway Status to sign in. Raycast does not store the Access JWT or print cloudflared output. Cloudflare authenticates access to the tunnel; OpenClaw device pairing and Gateway authorization still apply. Follow OpenClaw's Cloudflare Tunnel and Access guide, and do not expose the Gateway port directly.
Forward the remote loopback Gateway, then choose Local Gateway on This Mac:
ssh -N -L 18789:127.0.0.1:18789 user@gateway-host
Raycast preferences take precedence over ~/.openclaw/openclaw.json. Configuration discovery supports JSON5 comments and trailing commas.
gateway.auth.token or gateway.auth.password.gateway.remote.url, gateway.remote.token, or gateway.remote.password.gateway.remote.url.Raycast's encrypted local extension storage holds the device identity, paired device tokens, local conversation history, and the cached Control Center snapshot. The snapshot contains operational metadata, not credentials. Clipboard or selected text is sent only when its command is used. The extension has no analytics service or intermediary server.
List pending devices, verify that the Raycast request asks for operator.read and operator.write, approve the current request ID, and refresh Gateway Status. A retry with a changed identity or scope can replace an older request.
openclaw gateway status on the same Mac.cloudflared, then choose Sign In to Cloudflare Access in Gateway Status.Configure bootstrap authentication through OpenClaw, then let device pairing mint the durable client token. Do not hand-create per-client tokens in openclaw.json. See Building a Gateway client.
npm install
npm run check
The OpenClaw Gateway packages are pinned so client and protocol changes are reviewed together. The bundle check loads every command from an isolated production bundle.
Thanks to @asaphko for the original icon and the first Gateway Status and web chat commands.