Skip to main content
Glama
arc-browser-mcp
by xpajonx

Arc Browser MCP for OpenCode

CI MIT License

A local stdio MCP server that lets OpenCode navigate the Arc Browser already running on Windows from WSL2. It targets Arc directly, even when another browser is the Windows default.

Tools: arc_browser_status checks for an open Arc window. arc_navigate opens an absolute HTTP(S) URL in Arc.

Requirements

  • Windows 10 or 11 with the packaged Arc Browser installed for the signed-in user

  • WSL2 with Windows interop enabled

  • Node.js 20 or newer and npm

  • OpenCode V2

  • Arc open with a visible window when the tools are called

This project does not use CDP, an extension, browser debugging ports, hosted APIs, or third-party browser services. It is not an npm-published package. Install it from this repository.

Related MCP server: Integrated Browser MCP

Install

git clone https://github.com/xpajonx/arc-browser-mcp.git
cd arc-browser-mcp
npm ci
npm run build
npm test
npm run eval
git config core.hooksPath .githooks

OpenCode reads the project-local opencode.json when you start it from this checkout. Confirm the MCP server is connected:

opencode mcp list

To make the server available in every OpenCode project instead, register the absolute path from the checkout root:

opencode mcp add arc-browser --global -- node "$(pwd)/dist/src/index.js"
opencode mcp list

The global command writes to your OpenCode user config. The project-local config does not change global settings.

Use

  1. Open Arc in Windows and keep a window visible.

  2. In OpenCode, call arc_browser_status. It should return available: true.

  3. Call arc_navigate with a URL, for example https://example.com.

The tool reports the hostname and action: "navigated". Windows may use the current tab or open another tab. The tool does not promise tab placement or confirm page rendering.

See the step-by-step user guide for setup details and troubleshooting. See architecture notes for design and verification details.

Security and privacy

  • Only absolute HTTP and HTTPS URLs are accepted.

  • URLs with credentials, control characters, or more than 2,048 characters are rejected.

  • The MCP server does not read tab URLs, titles, page contents, cookies, browser history, or profile files.

  • Navigation uses your existing Arc profile. The destination receives requests and cookies as it would during normal browsing.

  • The structured audit line records only the hostname, action, result, and timestamp. It omits the URL path and query.

  • A navigation can change the active browser page. Review the destination before calling the tool.

Tests

npm test       # TypeScript build and local gate tests
npm run eval   # Offline URL-safety eval

The live smoke test makes Arc load a temporary local page and can change its current tab. Run it only when that is acceptable:

npm run test:live

The live test starts an HTTP server on loopback, calls the MCP tool, and passes only if Arc requests that local page. It makes no external network request. CI runs only the offline gate and eval.

License

MIT. See LICENSE.

Available Tools

2 tools
arc_browser_statusCheck Arc BrowserA
Read-onlyIdempotent

Check whether a visible Windows Arc Browser window is available. Does not read tab titles, URLs, or page contents.

Inputs: no named parameters. Returns: available, visibleWindows

arc_navigateNavigate ArcA

Navigate the running Windows Arc Browser to an absolute HTTP(S) URL using Windows packaged-app URI activation. This may change Arc's current tab and uses the user's existing Arc profile. The tool does not read tabs, page content, cookies, or history.

Inputs: url (required). Returns: host, action

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one checks browser availability, and the other performs navigation. There is no overlap or ambiguity between them.

    Naming Consistency4/5

    Both tools use the arc_ prefix and snake_case style. arc_navigate is an action verb while arc_browser_status is noun-style, so the pattern is mostly consistent but not perfectly uniform.

    Tool Count3/5

    Two tools is minimal and only covers availability checking plus navigation. For a browser-related MCP this feels slightly thin, though the narrow scope keeps it from being unreasonable.

    Completeness3/5

    The core status-then-navigate workflow is present, but the server lacks any way to read tabs, URLs, or page content. This leaves notable gaps for agent workflows that need to inspect browser state.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI coding agents like Claude to read Windows clipboard contents (text and images) from within WSL environments, providing seamless cross-platform clipboard access through the Model Context Protocol.
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A bridge to launch Chrome on Windows from WSL2 and proxy Chrome DevTools MCP tools. It enables browser automation via Claude Code in WSL2 by managing Chrome's lifecycle and exposing debugging capabilities.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude Code to control the Arc browser over CDP, including navigation, clicking, form filling, screenshots, and reading console and network traffic.
      11
      MIT