MCP sessions are ordinary metered Platform API sessions — same concurrency,
active minutes, consent, indicator, kill switch, and audit as REST / SDK.
Prerequisites
1
Install and pair a Windows host
Install the host, pair the rig,
and turn on API access for that rig in the console.
2
Create an API key
Console → API Keys. Same
gw_*
key authenticates REST and MCP. Copy it once when created.3
Host online
list_rigs only marks a rig USABLE when it is online and
API-enabled. Start the Windows host agent before asking the assistant to act.Endpoint
Client config
Use your real API key from the console — not placeholder text.Cursor (recommended)
Current Cursor builds often fail remote Streamable HTTP withfetch failed.
Bridge with mcp-remote over stdio,
and use an absolute npx path for your OS (bare npx often breaks inside
Cursor.app).
macOS (Apple Silicon)
macOS (Apple Silicon)
macOS (Intel)
macOS (Intel)
Windows
Windows
npx, use the full path from Node.js (often
C:\\Program Files\\nodejs\\npx.cmd).Linux
Linux
npx lives elsewhere (nvm, fnm), point command at that absolute path.Direct remote URL
list_rigs, start_session,
observe, click_target, type_text, send_actions, launch_app, list_demos, get_demo,
get_live_view_url, and end_session.
First session
Ask your assistant:Open Notepad on my PC and type hello from MCP.Typical tool flow:
list_rigs → start_session → observe → click / type → observe → end_session
Always end the session when finished. Idle sessions auto-end after about
15 minutes.
What to expect from your assistant
On connect, the server gives every MCP client behavioral guidance. In practice: your assistant handles quick tasks directly in chat — look at the screen, click, type. For longer multi-step work in a code-capable client, it will offer to write a small SDK agent that runs the loop at full speed instead of one chat turn per action — your choice either way. Chat-only clients simply keep working through MCP tools. Details and the pre-built demo catalog: Ways to run agents.Live View (human in the loop)
get_live_view_url returns a console deep link. The rig owner must be
signed into Glasswarp to watch at ~60fps and intervene. API keys alone cannot
open the console player — that preserves owner consent. See
Live View.
Tools (v1)
Prompts:
best_practices, demo_mona_lisa, demo_minesweeper
Troubleshooting
Cursor: ENOENT / bare npx fails
Cursor: ENOENT / bare npx fails
Bare
npx is often broken in Cursor’s spawn environment. Use the absolute
npx path for your platform from the Cursor section above (Apple Silicon
Homebrew, Intel Homebrew, Windows Node.js, or Linux).fetch failed / ByteString / ellipsis in header
fetch failed / ByteString / ellipsis in header
Do not paste truncated keys with
…. Use the full gw_live_sk_… value from
the console. Prefer the stdio mcp-remote bridge on Cursor.list_rigs works but rig is not usable
list_rigs works but rig is not usable
Online=false means the Windows host agent is not connected. Start
GlasswarpHost on that PC; keep API access enabled in Console → Rigs.
Platform API hostname does not resolve
Platform API hostname does not resolve
If
signal.glasswarp.com (or your configured API base URL) fails to resolve
on your machine, flush your local DNS cache or try a public resolver
(for example 1.1.1.1 or 8.8.8.8). The MCP server reaches the Platform
API from its own network — local DNS only affects tools you run on your
machine.