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 PC
The PC owner installs the host with no
Glasswarp account. You pair the tray code while
logged in and turn on API access.
2
Create an API key
Console → API Keys. Same
gw_*
key authenticates REST and MCP. Copy it once when created.3
Host online
rigs.list 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)
One-click install usesnpx -y @glasswarp/mcp. Set GLASSWARP_API_KEY to your
console key when prompted.
Current Cursor builds often fail remote Streamable HTTP with fetch 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
rigs.list, session.start,
screen.observe, input.click_target, input.type_text, input.send_actions, app.launch, demos.list, demos.get,
session.live_view, and session.end.
First session
Ask your assistant:Open Notepad on my PC and type hello from MCP.Typical tool flow:
rigs.list → session.start → screen.observe (text+targets; image=true if you need vision) → input.send_actions (or click/type) → verify from the batch result → session.end
An invalid action is caught during validation before any event is sent and
the response reports its index (nothing executed). The owner kill switch and
session end abort an in-flight batch on agent ≥ 0.2.21 (api_input_ack):
the call returns 410 aborted_by_owner with executed / aborted /
kill_to_abort_ms — only executed events landed. Older hosts are
fire-and-forget; upgrade for guaranteed mid-batch abort.
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, and batch predictable sequences. 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 step — 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)
session.live_view 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.rigs.list works but rig is not usable
rigs.list 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.