Skip to main content
Glama
ThinkerQAQ

Remote Browser MCP

by ThinkerQAQ

Remote Browser MCP

简体中文 · Security · Contributing · Phase 1 · Phase 2

Connect an AI assistant to your already-running Microsoft Edge via Chrome DevTools MCP and an optional persistent OpenAI tunnel. Reuse existing login sessions while protecting the user's original tabs. Designed for Windows + WSL2, with no custom browser build or headless replacement.

Experimental: The tunnel and MCP runtime can be healthy while the browser's CDP WebSocket is unavailable. Check browser health separately; no guarantee of zero focus changes on arbitrary websites.

Features

  • Connects to an existing Edge CDP session on loopback port 9222; tries the DevToolsActivePort WebSocket when /json/version is unavailable.

  • Supports a persistent MCP process via tunnel-client, without creating a new browser for each request.

  • Forces new_page into the background and prevents select_page from bringing windows forward.

  • Protects pre-existing user tabs by default; new dedicated tabs share the browser profile's authentication.

  • Explicit tool allowlist: no raw network inspection, file upload, heap snapshots, arbitrary JavaScript or newly introduced upstream tools by default.

  • Read-only browser_status reports CDP readiness without revealing URLs, page titles, or credentials.

  • Configuration uses config.example.toml; private overrides in config.toml are gitignored.

Related MCP server: agent-login

Quick start (Windows PowerShell)

Requires Node.js 22+ and Edge with remote debugging enabled in edge://inspect.

npm ci
npm run check
npm run doctor
npm run proxy-smoke
npm run mcp

npm run proxy-smoke opens only an about:blank test tab, verifies protections and closes that test tab. npm run mcp runs the guarded local MCP server over stdio. It does not create a remote plugin or publish a public CDP endpoint.

Remote access from ChatGPT

Use the phase-two guide to connect your own dedicated OpenAI tunnel through the managed local runtime and create a private ChatGPT plugin using the tunnel ID. Keep all identifiers, keys, browser profiles, and user-specific plugin manifests out of this repository. Tunnel readiness does not guarantee the Edge CDP WebSocket is working; call browser_status first.

Skill loading does not prove MCP tool discovery. Register and test the MCP connection separately from skill packaging. Imported MCP bundles may be Desktop only; see registration and troubleshooting. If upstream discovery fails, only browser_status is advertised; refresh the connection after recovery.

Limitations

  • Attaches to an existing Windows Edge session; it does not start or repair remote debugging automatically.

  • Background mode is best effort; real websites can open native dialogs and alter focus.

  • Persistent tunnel, browser CDP and ChatGPT plugin are distinct layers with separate health states and authorization requirements.

  • The safe default does not operate existing user tabs. Explicit opt-in is required for that mode.

  • Local browser access is sensitive; inspect SECURITY.md before enabling a remote plugin.

Built on Chrome DevTools MCP and the Model Context Protocol SDK. Licensed under Apache-2.0.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to access authenticated websites by reusing your existing browser profile and cookies, so you never share passwords and sessions persist between runs.
    5
    5
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables ChatGPT to securely control an existing Microsoft Edge session on Windows via OAuth-protected HTTPS, including tab management, navigation, page interaction, and file upload/download through an MCP proxy.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables MCP clients like Codex, Claude Code, and Cursor to connect to Microsoft Edge through automatic browser discovery and the official Chrome DevTools MCP server, preserving cookies, sessions, and extensions.
    17 npm
    MIT