Docs

Shuttle 158.0.3.

Install

curl -fsSL https://get.shuttlebrowser.com | bash

macOS (Apple silicon), Linux (x64) and Windows (inside WSL2). The installer offers to start Shuttle; other ways to install are on the download page. It starts without a window and serves MCP on the DevTools port (9222, or a free port recorded in DevToolsActivePort).

Connect a client

Claude Code

claude mcp add --transport http shuttle http://127.0.0.1:9222/mcp

Codex

codex mcp add shuttle --url http://127.0.0.1:9222/mcp

Cursor and any MCP client

Use the Streamable HTTP transport with the URL http://127.0.0.1:9222/mcp, e.g. in Cursor's ~/.cursor/mcp.json or .cursor/mcp.json:

{
  "mcpServers": {
    "shuttle": { "url": "http://127.0.0.1:9222/mcp" }
  }
}

Agents and sessions

  • Agent: a named identity with a color and avatar. Each has its own persistent storage partition (cookies, logins, localStorage), isolated from your browsing and other agents.
  • Session: a tab group in your normal window. Watch it, hand a tab to an agent, or take it back.
  • Flow: create-agent once, open-session, allocate-tab, page tools, then release-tab / close-session.

Per-session CDP

Each session has ws://127.0.0.1:9222/devtools/session/<id>. It only sees that session's tabs and that agent's storage. Don't use the browser-wide endpoint for agent work.

Playwright

import { chromium } from 'playwright'

// cdpEndpoint comes from the open-session MCP tool
const cdpEndpoint = 'ws://127.0.0.1:9222/devtools/session/<id>'
const browser = await chromium.connectOverCDP(cdpEndpoint)
const page = browser.contexts()[0].pages()[0]
await page.goto('https://example.com')

agent-browser

agent-browser --cdp ws://127.0.0.1:9222/devtools/session/<id> open https://example.com
agent-browser --cdp ws://127.0.0.1:9222/devtools/session/<id> snapshot

MCP tool reference

ToolGroupDescription
list-agentsAgentsList agent identities; usage: true adds memory, CPU and network per agent.
create-agentAgentsCreate an agent: id, name, color, avatar. Gets its own storage.
update-agentAgentsRename or recolor an agent.
delete-agentAgentsDelete an agent and wipe its storage.
delete-idle-agentsAgentsDelete agents unused for a number of days (kept agents, open sessions and temporary agents are skipped; dryRun lists them).
open-sessionSessionsOpen a session (tab group) for an agent. Returns sessionId and cdpEndpoint.
close-sessionSessionsClose a session and its tabs.
list-sessionsSessionsList open sessions.
update-sessionSessionsChange a session's idle timeout (default 30 minutes, 0 = never).
allocate-tabTabsOpen a tab in a session. Returns targetId and cdpUrl.
release-tabTabsRelease a tab (hand it back).
navigate-tabTabsNavigate a tab to a URL.
capture-tabTabsScreenshot a tab, works in the background.
set-tab-viewportTabsSet a tab viewport size, e.g. 390x844.
snapshotPage toolsAccessibility snapshot with @eN refs.
click / dblclick / hoverPage toolsPointer actions on a ref.
fill / type / pressPage toolsKeyboard and form input.
select / check / uncheckPage toolsForm controls.
scroll / wait-forPage toolsScroll and wait for conditions.
screenshot / get-text / findPage toolsRead the page.
save-textPage toolsSave an element's text to a private file or the clipboard; returns only its length and a hash.
eval / console / errorsPage toolsRun JS, read console and page errors.
open / back / forward / reloadPage toolsNavigation.
state-save / state-loadPage toolsSave and restore page state.

Network mode: share one Shuttle

Run Shuttle on a dedicated machine and connect from others on your LAN or Tailscale. Off by default.

# On the Shuttle machine (here: a Mac mini)
open -a Shuttle --args --shuttle-listen=0.0.0.0     # Linux: ./shuttle --shuttle-listen=0.0.0.0
cat ~/Library/Application\ Support/Shuttle/ShuttleAccessToken   # Linux: ~/.config/shuttle/ShuttleAccessToken
# On any other machine
claude mcp add --transport http shuttle http://mac-mini.local:9222/mcp \
  --header "Authorization: Bearer <token>"
  • --shuttle-listen=<ip> listens on that address (0.0.0.0 for all interfaces, or one IP such as your Tailscale address).
  • Every client that doesn't connect over loopback needs the access token: Authorization: Bearer <token>, or ?token=<token> for CDP clients that can't set headers. Local clients need no token.
  • The token is created on first use in the user data dir (ShuttleAccessToken, mode 0600). Set your own with --shuttle-access-token; delete the file to rotate it.
  • cdpEndpoint and cdpUrl returned by the MCP tools already include the token.
  • Traffic is plain HTTP: use trusted networks, or Tailscale/WireGuard/SSH, which encrypt it.

Limits

  • First release: expect rough edges.
  • Updates: Linux through apt/dnf; macOS by running the installer again.
  • Open codecs only: H.264-only video won't play.
  • No Widevine (no DRM video).
  • macOS arm64 and Linux x64 only; Windows via WSL2.

Prove you're a robot

Shuttle is for agents. Humans need not apply.