Skip to main content
Glama
npx browserpit

browserpit manager

Why

  • Many accounts, no mixing. work, shop-test, customer-a – each ID is its own browser profile folder. Nothing is shared: not cookies, not localStorage, not extensions, not sync.

  • Real windows, never headless. You see what happens, log in yourself, solve 2FA and captchas yourself. Sites treat it like a normal browser.

  • Claude gets exactly the browser you choose. Each instance is an MCP server (Playwright MCP over the DevTools protocol). Claude drives that window while you watch; several instances = several servers.

  • No account, no cloud. Uses your installed Chrome or Edge (or Playwright's Chromium). Everything stays in ~/.browserpit.

Related MCP server: AIHawk

Give Claude a browser

claude mcp add browser-work -- npx -y browserpit mcp work
claude mcp add browser-shop -- npx -y browserpit mcp shop

The instance is created on first use and its window opens when Claude connects. Log in once in that window – the login stays.

Claude Desktop / other MCP clients (claude_desktop_config.json):

{ "mcpServers": { "browser-work": { "command": "npx", "args": ["-y", "browserpit", "mcp", "work"] } } }

Extra arguments after the ID go to Playwright MCP, e.g. npx browserpit mcp work --caps vision.

Commands

npx browserpit                       # manager app (create, open, close, delete, copy the Claude command)
npx browserpit new "Customer A"      # → id customer-a  (--engine auto|chrome|msedge|chromium)
npx browserpit open customer-a [url]
npx browserpit close customer-a
npx browserpit list
npx browserpit delete customer-a     # removes the profile with all its data
npx browserpit mcp customer-a        # MCP server on stdio

Data folder: ~/.browserpit (BROWSERPIT_HOME to change). Manager port 4319 (--port). Every instance keeps a fixed DevTools port from 9400 on, bound to 127.0.0.1 only.

Security

The DevTools port gives full control over that browser – it only listens on 127.0.0.1, but any program on your machine can reach it while the window is open. Close instances you don't need. Automated use of sites can violate their terms; you are responsible for what your agent does with your accounts.

Many agents at once?

agentpit is the full cockpit: many parallel Claude Code sessions, browser identities with live view from your phone, workflows, approvals. Its identities work in Claude Code too: npx agentpit mcp <identity>.

License

MIT. Not affiliated with Anthropic. Claude is a trademark of Anthropic.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Enables coding agents to drive a real Playwright-backed browser session, navigating, observing, interacting, and capturing proof on web pages via MCP tools across stdio and Streamable HTTP transports.
      15
      2
      -
    • A
      license
      A
      quality
      A
      maintenance
      Enables assistants such as Claude Code, Codex, and Gemini CLI to drive a real browser over MCP — navigating, clicking, typing, and reading live pages from plain-English instructions. Supports optional proxy routing, persistent profiles for surviving logins, and reproducible browser identities via seeds.
      8
      16
      32,667
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to drive a live, persistent self-hosted Chromium session over MCP, running browser actions via Playwright/CDP, capturing page snapshots, screenshots and videos, and managing uploads and downloads in the same tabs and signed-in accounts a human user can take over at any time.
      Apache 2.0
    • A
      license
      B
      quality
      A
      maintenance
      Enables Claude and other MCP clients to drive a real browser by opening pages, clicking elements, filling form fields, capturing PNG screenshots, and extracting visible text. It runs as a lightweight Node process over stdio with lazy-loaded Playwright for fast startup.
      5
      2
      MIT