mcpField
M
mcp-session-bridge

mcp-session-bridge

Local
t3ratech.github.ioBrowser Automation2Updated 4w ago

About mcp-session-bridge

mcp-session-bridge is an MCP server for automating browser sessions through the T3rnel Browser extension or a separate persistent CDP browser. It is for MCP clients that need page context and controls in an authenticated browser without sending session cookies to a remote browser.

Key features

  1. 01Automates authenticated browser tabs
  2. 02Standalone persistent CDP browser mode
  3. 03Returns page context, forms, snapshots, and screenshots
  4. 04Routes extension calls through a local relay

Use cases

  1. 01Inspect content in a signed-in browser session
  2. 02Automate forms in browser tabs
  3. 03Run browser automation without the extension

MCP support

Serves MCP over stdio with `session_*` tools. It routes requests through the T3rnel Browser extension or operates a standalone CDP browser.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"t3ratech-mcp-session-bridge": {
"command": "npx",
"args": [
"-y",
"@t3ratech/mcp-session-bridge"
],
"env": {
"T3RNEL_SESSION_MODE": "<T3RNEL_SESSION_MODE>",
"T3RNEL_SESSION_HEADLESS": "<T3RNEL_SESSION_HEADLESS>",
"T3RNEL_SESSION_TIMEOUT_MS": "<T3RNEL_SESSION_TIMEOUT_MS>"
}
}
}
}
Run commandnpx -y @t3ratech/mcp-session-bridge
Environment variables to set
T3RNEL_SESSION_MODEauto (default) uses the extension when its relay socket exists and falls back to a standalone browser; extension forces the extension; standalone forces its own browser.
T3RNEL_SESSION_HEADLESSSet to 1 to run the standalone browser headless. Ignored in extension mode.
T3RNEL_SESSION_TIMEOUT_MSHow long a single tool call may take before it fails rather than hanging the client.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@t3ratech/mcp-session-bridge1.2.0

Tools

22

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

MCP Session Bridge

Listed on mcpservers.org Glama score

A free MCP (Model Context Protocol) server that exposes authenticated browser-session automation: session_* tools that run in the user's own Chrome profile and real logged-in session, which cloud browser APIs cannot do. A free standalone mode is also available; it launches a dedicated automation browser so the same session_* tools work without the extension or a license.

What it does

  • Serves MCP over stdio (newline-delimited JSON-RPC) to any client that speaks the Model Context Protocol. The setup guide covers the common ones.
  • Uses a dual-transport design:
    • Extension mode (free; Pro tools gated by the extension) — forwards calls over a local, owner-only relay socket to a native messaging host that Chrome spawns, and from there to the T3rnel Browser extension, which executes them against the live authenticated tabs.
    • Standalone mode (free) — launches its own headful or headless CDP browser on a persistent profile and drives it directly. No license, no extension, and no access to the user's everyday browser.
  • Returns structured page context, form values, snapshots, and screenshots without shipping session cookies to a remote browser.

Price

The bridge itself is free, and this package enforces no licence of its own.

Extension mode reaches the buyer's real authenticated session through the T3rnel Browser extension, and the Pro tools it exposes are gated by that extension's own Pro tier — $29.99 once, three devices. Standalone mode is free and needs neither the extension nor a licence. There is no separate subscription for this package, and nothing here checks for one; earlier drafts of this file advertised $9/mo and $39/mo tiers that were never implemented, never enforced and never purchasable.

Project layout

  • src/server.js — MCP stdio server: tool surface, schema validation, dual-transport routing, relay client with reconnect and timeouts, and standalone CDP launcher.
  • src/cdp.js — standalone CDP browser management and WebSocket client.
  • src/native-host.js — native messaging host spawned by Chrome; owns the relay socket and multiplexes concurrent MCP servers.
  • src/framing.js — the 4-byte length-prefixed JSON framing shared by native messaging and the relay socket.
  • src/tools.js — the session_* tool definitions, validation, and mapping to the extension's browser_* tools.
  • src/license.js — offline Ed25519 license verification helpers used by the extension and tests.
  • src/install.js — --install / --uninstall native host registration for Chrome, Chromium, Brave and Edge.
  • docs/setup-guide.md — installing on the common MCP clients, plus verification and troubleshooting.
  • docs/chrome-validation-checklist.md — end-to-end validation steps for Chrome with the T3rnel Browser extension.
  • ads/ — ad-copy.md, the shared headline and description copy used when submitting to MCPize, Smithery, mcp.so and PulseMCP.
  • tests/ — node --test suite, including end-to-end tests through a real relay socket and native-messaging framing, plus standalone-mode coverage.

Browser support

Extension mode needs the T3rnel Browser extension, which is packaged for Chrome, Brave, Edge, Opera, Chromium and Firefox and ships from each browser's own extension store. Brave and Chromium install from the Chrome Web Store; Edge, Opera and Firefox each have a separate package. Opera implements no side-panel API and Firefox no debugger API, so both are partly supported; the extension's manifest generator states which capabilities are absent on each. Standalone mode has no browser requirement at all — it launches its own CDP browser.

The extension exposes up to 100 browser tools, plus the bridge's own session_install setup tool. If the merged list would exceed 100 tools — which Google Antigravity refuses to install — the bridge drops the two lowest-value verbs (session_md_diff, session_check_spelling) so the published list stays at or under the ceiling for every extension build. Dropped tools still execute when called by name; all tools remain subject to the extension's Pro gating and approval gate.

Supported clients

  • Claude Code / Claude Cowork
  • Cursor
  • VS Code
  • Windsurf / Devin Desktop
  • Google Antigravity
  • IntelliJ
  • Codex
  • Grok Build
  • Kimi Code / Kimi Desktop
  • JCode
  • Cline
  • OpenCode
  • Continue.dev
  • KiloCode
  • Roo Code
  • Aider
  • OpenClaw
  • Hermes
  • OpenFang
  • Any client that speaks MCP stdio

Install the T3rnel Browser extension

The bridge works best with the T3rnel Browser extension, which lets your AI drive the browser you are already signed into:

https://browser.t3ratech.co.zw/

Where this is listed

Licence

Licensed under the Apache License, Version 2.0. See LICENSE for the full text.

The published npm package is free to use for any purpose, commercial or otherwise. You may read and modify this source; redistribution is governed by the Apache-2.0 terms.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.