Skip to main content
Glama

FoxBridge

© 2026 Jennifer K. Telfer

FoxBridge lets Claude Code drive Firefox the way Claude in Chrome drives Chrome.

Parts

  • extension/ - Firefox extension (Manifest V2, persistent background). Connects to ws://127.0.0.1:47821.

  • server/index.js - MCP server (stdio) plus the local WebSocket bridge. No dependencies; needs Node 18+.

  • .claude-plugin/, .mcp.json, skills/ - Claude Code plugin packaging. The repo is its own plugin marketplace.

Related MCP server: Kamurafox

Install

Needs Node.js 18 or newer and Claude Code.

  1. Claude Code plugin - in Claude Code run:

    /plugin marketplace add mellenfamilymail-lgtm/foxbridge
    /plugin install foxbridge@foxbridge
  2. Firefox add-on - install it from addons.mozilla.org/firefox/addon/foxbridge-for-claude (works in any Firefox once Mozilla's review is done). Until then:

  3. Restart Claude Code and ask it to do something in Firefox.

Claude Desktop (Chat App)

FoxBridge also works in the Claude desktop app, not just Claude Code:

  1. Download foxbridge.mcpb from Releases.

  2. Double-click it (or drag it into Claude Desktop under Settings > Extensions) and click Install.

  3. Install the Firefox add-on as in step 2 above, then ask Claude to "list my Firefox tabs".

Unsigned Builds

FoxBridge is not listed in Anthropic's plugin directory (local MCP servers are accepted there only from Verified organizations), and the Firefox add-on is unsigned until Mozilla's review is done. You can still use every part:

  • Claude Code plugin - install it from this repo with the /plugin commands above. The directory listing is not needed.

  • Claude Desktop - foxbridge.mcpb is unsigned. Claude Desktop shows an "unverified" warning; click Install to continue.

  • Firefox add-on - in Firefox Developer Edition or Nightly, set xpinstall.signatures.required to false in about:config, then drag foxbridge.xpi into Firefox. In regular Firefox, open about:debugging > This Firefox > Load Temporary Add-on and pick foxbridge.xpi; it is removed when Firefox restarts.

Unsigned builds are used at your own risk. They come from this repository only; do not install copies from anywhere else.

Check It Works

In Claude Code, ask: "List my Firefox tabs." Claude should answer with your open tabs. The FoxBridge toolbar icon in Firefox shows an "off" badge while Claude is not connected, and no badge once it is.

How to Use

Keep Firefox open, then ask Claude in plain words. You don't need to name the tools. Some examples:

  • "List my Firefox tabs."

  • "Open https://example.com in Firefox and tell me what the page says."

  • "Search Firefox for 'weather Boston' and read me the forecast."

  • "Fill in the contact form on this page with my name and email, but don't submit it."

  • "Take a screenshot of the current Firefox tab."

  • "Open my web app at http://localhost:3000, click Sign Up and tell me about any console errors."

  • "Check the network requests on this page for failed calls."

Tips:

  • Claude works in your real Firefox, so it can see sites you are already signed in to. Stay at the computer when it is filling in forms or clicking buttons.

  • Tell Claude to ask before it submits, sends, buys or deletes anything.

  • Only one Claude session can drive Firefox at a time.

  • Firefox doesn't let any add-on work on about: pages or addons.mozilla.org.

Troubleshooting

  • "Firefox is not connected" - make sure Firefox is open with FoxBridge enabled (about:addons), then wait a few seconds; it reconnects every 2 seconds.

  • Badge stays "off" - restart Claude Code. Only one Claude Code session can drive Firefox at a time; close the other one.

  • Port 47821 is in use - set the FOXBRIDGE_PORT environment variable to another port before starting Claude Code.

  • Add-on "could not be verified" - you are on regular Firefox. Use Developer Edition with xpinstall.signatures.required set to false until the signed version is on addons.mozilla.org.

  • Tools not listed in Claude Code - run /plugin and check that foxbridge is enabled, and that node --version shows 18 or newer.

  • Nothing happens on some pages - Firefox blocks all extensions on about: pages and addons.mozilla.org.

Uninstall

Run /plugin uninstall foxbridge@foxbridge in Claude Code and remove FoxBridge from about:addons in Firefox.

Build from source

npm run build writes dist/foxbridge.xpi. npm run build:mcpb writes the Claude Desktop extension dist/foxbridge.mcpb. node test/smoke.js runs a live test against an open Firefox.

Tools

tabs_list, tabs_create, tabs_close, tabs_select, navigate, screenshot, read_page, find, get_page_text, click, type, key, scroll, form_input, javascript, console_messages, network_requests, wait.

Known limits

Input events are synthetic (isTrusted = false). A planned WebDriver BiDi mode will add trusted input.

Available Tools

18 tools
clickB

Click an element by ref, or at x/y (CSS pixels from screenshot).

Inputs: x, y, ref, tabId, +1 more.

console_messagesC

Read console output captured from the page.

Inputs: limit, tabId, pattern, onlyErrors.

findA

Find elements whose role, name or text contains the query (case-insensitive). Returns up to 20 refs.

Inputs: query (required), tabId.

form_inputA

Set a form field value by ref: text inputs, textareas, selects (option value or text), checkboxes/radios (true/false).

Inputs: ref (required), value (required), tabId.

get_page_textB

Get the visible text of the page (main/article first, else body).

Inputs: tabId, max_chars.

javascriptA

Run JavaScript in the page and return the last expression value (JSON). For async code use (async () => { ... })().

Inputs: code (required), tabId.

keyB

Press keys, space-separated, e.g. "Enter", "ctrl+a Backspace", "shift+Tab".

Inputs: keys (required), tabId.

network_requestsC

List network requests made by the tab since its last page load.

Inputs: limit, tabId, urlPattern.

read_pageB

Read the page as an indented accessibility-style tree. Interactive elements get [ref_N] tags for click/type/form_input.

Inputs: tabId, filter, max_chars.

screenshotA

Screenshot the visible part of a tab. Image pixels equal CSS pixels, so x/y from it work with click.

Inputs: tabId.

scrollA

Scroll the page (or a ref element) up/down/left/right by amount ticks (100px each). With only ref, scrolls it into view.

Inputs: ref, tabId, amount, direction.

tabs_closeC

Close a tab.

Inputs: tabId (required).

tabs_createB

Open a new tab, optionally at a URL. Returns its tabId.

Inputs: url.

tabs_listA

List every open Firefox tab (tabId, title, url, active).

Inputs: no named parameters.

tabs_selectB

Bring a tab to the front.

Inputs: tabId (required).

typeC

Type text into the focused element, or into ref after focusing it.

Inputs: text (required), ref, tabId.

waitB

Wait a number of seconds (max 10).

Inputs: seconds (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes (click vs type vs key vs form_input, console vs network), but a few boundaries blur: tabs_create can open at a URL while navigate does the same, and read_page/find/get_page_text all expose page content in different forms. An agent can still reason about which to use, so overlap is minor rather than confusing.

    Naming Consistency3/5

    Patterns are mixed: tabs_* uses a consistent noun_verb namespace, but the rest alternate between bare verbs (click, type, key, scroll, wait, find, navigate, screenshot) and verb_noun or noun-only forms (read_page, get_page_text, form_input, console_messages, network_requests, javascript). It stays readable, but there is no single predictable convention across the set.

    Tool Count4/5

    18 tools is slightly above the comfortable range but reasonable for a full browser-automation surface, since tabs, navigation, reading, input, and diagnostics each need coverage. Each tool earns its place; nothing looks redundant enough to cut.

    Completeness3/5

    The core lifecycle (tabs, navigate, read, click/type/form_input, diagnostics) is covered, but common browser operations are missing: hover, double-click, file upload, dialog/alert handling, and iframe/frame targeting. These gaps will force agents into javascript workarounds for otherwise routine interactions.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Lets Claude Code attach to a running, signed-in Firefox over WebDriver BiDi to control tabs, navigate, screenshot, read pages, click, type, fill forms, evaluate JavaScript, and inspect console/network activity.
      22
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude Code to drive a local Firefox browser: opening and managing tabs, navigating, reading page structure and text, clicking, typing, filling forms, running JavaScript, taking screenshots, and inspecting console messages and network requests. Everything runs over a local Unix socket with no network traffic, and actions are restricted to tabs explicitly placed under Claude's control.
      GPL 3.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables Claude Code to drive a real Firefox browser through a local MCP server using synthetic DOM events for clicks and typing. Supports tab management, navigation, page reading, form interaction, screenshots, and per-site consent with no network port opened.
      4 npm
      1
      MIT