Skip to main content
Glama
apex-browser-mcp

apex-browser-mcp

by apexradius

apex-browser-mcp

Local multi-session browser MCP for real Chrome, Chromium, WebKit, and real Safari, plus attach to an already-running Chrome session without moving the work into a cloud browser.

Release posture: npm package @apexradius/browser-mcp, version 1.0.0 from package.json.

Choose your path

You are...

Start here

Then

Running the daemon or stdio server

docs/start-here.md

Quick start below

Auditing browser routing or attach behavior

docs/architecture.md

src/manager.js

Reviewing the MCP tool surface

src/server.js

src/index.js

Related MCP server: mcp-chromium-cdp

Architecture

flowchart TD
  U[AI operator] --> C[MCP client]
  C --> T[stdio or HTTP transport]
  T --> S[MCP server]
  S --> M[BrowserManager]
  M --> P[SessionPool]
  M --> F[SafariLane]
  P --> B[Chrome Chromium WebKit sessions]
  P --> D[Attached Chrome via CDP]
  F --> R[Real Safari.app session]

Request flow

flowchart TD
  A[Operator opens or attaches a browser session] --> B[Selected MCP tool]
  B --> C{New session or attach?}
  C -- new --> D[BrowserManager creates session]
  C -- attach --> E[Connect to CDP endpoint]
  D --> F[Session stored in pool]
  E --> F
  F --> G[Subsequent navigate snapshot click type evaluate tools]
  G --> H[Return text or screenshot path to MCP client]

Quick start

  1. Install dependencies and browser engines.

npm install
npx playwright install chromium webkit
  1. Start the shared HTTP daemon.

APEX_BROWSER_TRANSPORT=http node src/index.js
  1. Register it in your MCP client.

{
  "mcpServers": {
    "apex-browser": {
      "type": "http",
      "url": "http://127.0.0.1:3010/mcp"
    }
  }
}

Available tools

Tool group

Tools

Purpose

Session lifecycle

browser_new_session, browser_attach, browser_list_sessions, browser_close_session

Open, adopt, inspect, and close sessions

Navigation and state

browser_navigate, browser_snapshot

Load pages and capture indexed interactive refs

Interaction

browser_click, browser_type, browser_evaluate

Drive page interactions and execute page JS

Artifacts

browser_screenshot

Save a PNG and return its path

Runtime proof

Claim

Proof

Package entry point is stable

"apex-browser-mcp": "src/index.js" in package.json

HTTP and stdio transports are both first-class

Transport selection in src/index.js

Session routing is engine-aware

BrowserManager in src/manager.js

Tool registration is centralized

buildServer() in src/server.js

Repo map

Path

Purpose

src/index.js

Process entry point, transport selection, HTTP daemon

src/server.js

MCP tool registration and request handlers

src/manager.js

Unified routing across SessionPool and SafariLane

src/pool.js

Multi-session Playwright and CDP attach backend

src/safari.js

Real Safari.app lane

docs/start-here.md

Setup, env, validation, common failures

docs/architecture.md

Component map and runtime lifecycle

Validation

Check

Command

Core regression suite

npm test

Attached-Chrome concurrency

node test/attach-concurrent.js

README/docs links stay local

rg '\\]\\(([^)]+\\.md)\\)' README.md docs/

License

MIT

Project context for new tasks

Use INDEX.md to find task-specific contracts; consult prompt.md when product direction is relevant. Historical examples do not select the current task.

Available Tools

10 tools
browser_attachAttach to running ChromeA

Attach to a Chrome already running with --remote-debugging-port. mode: default (adopt your logged-in session — real cookies) | isolated (fresh stealthed context on the same Chrome). Returns a session id usable with all other tools.

Inputs: mode, cdpEndpoint.

browser_clickClickC

Click an element by ref from the latest snapshot.

Inputs: ref (required), session (required).

browser_close_sessionClose sessionC

Close and free a session.

Inputs: session (required).

browser_evaluateEvaluateC

Run a JS expression in the page, return the result.

Inputs: session (required), expression (required).

browser_list_sessionsList sessionsA

List all open sessions with engine and current URL.

Inputs: no named parameters.

browser_navigateNavigateC

Go to a URL in a session.

Inputs: url (required), session (required).

browser_new_sessionNew sessionA

Open an isolated browser session. engine: chrome (real Chrome) | chromium | webkit (Safari engine, multi) | safari (real Safari.app, single-session). Returns a session id.

Inputs: engine.

browser_screenshotScreenshotC

Save a PNG of the current view, return its path.

Inputs: session (required).

browser_snapshotSnapshotC

Title, URL, and indexed interactive elements (ref=e1,e2,...). Use a ref with click/type.

Inputs: session (required).

browser_typeTypeC

Fill text into an element by ref; submit:true presses Enter.

Inputs: ref (required), text (required), session (required), submit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a distinct, non-overlapping purpose: session management, navigation, interaction, evaluation, and page capture. No two tools could be easily confused.

    Naming Consistency5/5

    All tools use the consistent pattern 'browser_<action>' with snake_case, making them predictable and easy to understand.

    Tool Count5/5

    10 tools is well-scoped for browser automation, covering the essential operations without being excessive or insufficient.

    Completeness4/5

    The set covers core actions (session creation, navigation, interaction, page inspection), though a few operations like back/forward or tab management are missing, but the surface is mostly adequate.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    • Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server

      https://cotlet.dev/mcp/v1/discord
    • Loxo MCP server for ChatGPT, Claude and any AI agent: list jobs, read a job pipeline, search people, log candidate activity, move candidate to a stage, email a pipeline stage, read the activity report and create person in your own Loxo account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Loxo yourself; Cotlet does not store your password and you need no Loxo API key. About the official Loxo API: Yes, Loxo has an Open API, but it is a paid feature: Loxo Support turns on the Settings > API Keys page for your account, and only account admins can use it (checked 22 Oct 2026). Loxo has no official MCP server, and its API reference has no endpoints for reports or for sending email. Setup and FAQ: https://cotlet.dev/integrations/loxo-api-mcp-server

      https://cotlet.dev/mcp/v1/loxo
    • Dubsado MCP server for ChatGPT, Claude and any AI agent: create project, send form, send invoice, record payment and list unpaid invoices in your own Dubsado account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Dubsado yourself; Cotlet does not store your password and you need no Dubsado API key. About the official Dubsado API: Dubsado has no public API (checked 11 Oct 2026). Its only official connection is Zapier, on the Premier plan: five triggers and one action, Create Project. Setup and FAQ: https://cotlet.dev/integrations/dubsado-api-mcp-server

      https://cotlet.dev/mcp/v1/dubsado
    • ManyChat MCP server for ChatGPT, Claude and any AI agent: list contacts, get contact profile, read inbox conversation, send inbox message, add tag to contact, set custom field, list broadcasts and send broadcast in your own ManyChat account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to ManyChat yourself; Cotlet does not store your password and you need no ManyChat API key. About the official ManyChat API: Yes, but only on the Pro plan or higher, and it is narrow (checked 5 Nov 2026). ManyChat has a REST API with a Page API and a Profile API that reads and sets contacts, tags and custom fields, sends content and triggers an automation for one contact. Setup and FAQ: https://cotlet.dev/integrations/manychat-api-mcp-server

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that connects to your browser to capture screenshots, inspect console logs, network requests, and more via Chrome DevTools Protocol.
      2
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for controlling Chromium/Chrome via Chrome DevTools Protocol. Supports cross-platform automation, auto-launch, and automatic reconnection.
      25
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server for QA and test automation that provides runtime switching between multiple browser profiles (Chromium, Firefox, WebKit) without restart, enabling cross-browser regression testing, multi-account testing, localization QA, and more.
      8 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that drives Safari on a physically attached iPhone via Apple's safaridriver, enabling navigation, screenshots, DOM snapshots, console logs, network timings, and tap/type/scroll actions on the real device. No Xcode, Appium, or WebDriverAgent required.
      16
      1
      MIT