Sallyport MCP Server

MCP server bridging Claude Code to a browser extension over WS+HMAC

Local serverstdioPython

What is the Sallyport MCP server?

If you already use Sallyport, the sallyport mcp server is the piece that lets your assistant work with it directly. MCP server bridging Claude Code to a browser extension over WS+HMAC.

What the server does

A secure browser-automation bridge between Claude Code (or any MCP client) and your Chrome. An alternative to Kimi WebBridge with explicit security boundaries instead of implicit ones.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_tabs — No allowlist check — listing is free
  • navigate — Checks the destination URL against allowlist. waitFor={selector?,text?,absent?,timeoutMs?} polls after the load until the page is actually usable
  • reload — Hard reload via bypassCache=true. Allowlist-gated; refs invalidate
  • history_go — Back/forward through the tab's session history — return to the previous page without knowing its URL. direction='back'\
  • close_tab — tabId required — no implicit fallback (closing the wrong tab loses work)
  • snapshot — Accessibility tree with stable @eN refs (per-tab), pruned of layout noise. Cross-checks against a DOM walk (same refs) when the a11y tree looks
  • read_text — Whole-page or by ref. No raw JS. Capped at 20 000 chars by default (maxChars overrides; cut results carry truncated/totalChars)
  • get_state — Cheap one-element probe (CSS or @eN) — {exists, visible, tag, text, box?, inViewport?} without a full snapshot. Verify an action's effect or re-check
  • console_tail — Recent page console errors/warnings + uncaught exceptions for a tab ({enabled, entries:[{ts,level,text,origin}]}) — tell "the handler threw and the
  • network_tail — Recent XHR/fetch responses for a tab ({enabled, entries:[{ts,method,url,status,type,contentType,size,body?}]}) — **the data behind canvas
  • handle_dialog — See and steer native JS dialogs (alert/confirm/prompt/beforeunload) — an open dialog freezes the page's JS and is browser UI no other tool can
  • click — DOM .click(). CSS selector or @eN ref. Optional waitFor polls for the click's effect in the same call

Installation

npm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Where it fits

Among the browser automation options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Sallyport's toolset — list_tabs, navigate, reload and 11 more — is a fair guide to whether it matches your workflow. It is maintained by ginkida; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Sallyport.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
list_tabsNo allowlist check — listing is free.
navigateChecks the *destination* URL against allowlist. waitFor={selector?,text?,absent?,timeoutMs?} polls after the load until the page is actually usable (SPAs render long after "loaded").
reloadHard reload via bypassCache=true. Allowlist-gated; refs invalidate.
history_goBack/forward through the tab's session history — return to the previous page without knowing its URL. direction='back'\
close_tabtabId required — no implicit fallback (closing the wrong tab loses work).
snapshotAccessibility tree with stable @eN refs (per-tab), pruned of layout noise. Cross-checks against a DOM walk (same refs) when the a11y tree looks suspiciously sparse — Telegram Web K and similar SPAs. mode=auto\
read_textWhole-page or by ref. No raw JS. Capped at 20 000 chars by default (maxChars overrides; cut results carry truncated/totalChars).
get_stateCheap one-element probe (CSS or @eN) — {exists, visible, tag, text, box?, inViewport?} without a full snapshot. Verify an action's effect or re-check a ref in one round-trip. Never errors on a missing node: returns {exis
console_tailRecent page console errors/warnings + uncaught exceptions for a tab ({enabled, entries:[{ts,level,text,origin}]}) — tell "the handler threw and the page is wedged" from "merely slow". **Opt-in** (popup setting, off by de
network_tailRecent XHR/fetch responses for a tab ({enabled, entries:[{ts,method,url,status,type,contentType,size,body?}]}) — **the data behind canvas dashboards** (Metrika, Chart.js, WebGL) that have no readable DOM. Pull exact JSON
handle_dialogSee and steer native JS dialogs (alert/confirm/prompt/beforeunload) — an open dialog **freezes the page's JS** and is browser UI no other tool can click. With handling on, every dialog is answered the moment it opens (al
clickDOM .click(). CSS selector or @eN ref. Optional waitFor polls for the click's effect in the same call.
mouse_clickReal Input.dispatchMouseEvent as a full hover→press→release sequence. Auto-aims around partial overlays; a fully covered target reports covered/hitTarget/hitTargetRef. Explicit x/y (viewport CSS px) as manual aim. button
hoverHover the pointer over an element/point without clicking (the mouseMoved preamble only). For CSS :hover-only menus, tooltips, row-action UIs. selector/@eN (auto-aimed, reports covered/hitTargetRef) or viewport x/y; optio

How to install the Sallyport MCP server

{
  "mcpServers": {
    "sallyport": {
      "command": "npx",
      "args": ["-y", "npm"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Sallyport to list tabs.
  • Use Sallyport to navigate.
  • Use Sallyport to reload.

Frequently asked questions

It connects Sallyport to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (list_tabs, navigate, reload, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Sallyport directly.