Skip to content
mcp/skillhub

Firefox Devtools MCP Moz MCP Server

by mozilla

Model Context Protocol (MCP) server that lets AI agents browse the web and debug web pages with Firefox (moz build with privileged context support)

502Node.jsstdio

context tax

~4,033 tok/turn35 tools

security

95/100

cold start

379 ms

freshness

Active27d ago

Our reading of Firefox Devtools MCP Moz, from the data

Firefox Devtools MCP Moz is an MCP server from mozilla.

Its 35 tools add about 4,033 tokens to every model turn (measured 2026-10-23).

Maintenance is active: the last public signal was 27 days ago (2026-10-16).

It runs locally on your machine over stdio.

Install Firefox Devtools MCP Moz MCP server

Install in Claude Code

claude mcp add firefox-devtools-mcp-moz -- npx -y @mozilla/firefox-devtools-mcp-moz

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test @mozilla/firefox-devtools-mcp-moz

Context tax

Connecting this server adds ~4,033 tokens of tool definitions to every model turn (moderate, 35 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$16.13$0.807
Claude Sonnet 5.5$8.07$0.807
Claude Haiku 5.5$0.403—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (35)

  • evaluate_script338 tok

    Run a JS function in the page and return its result. Prefer this for targeted reads (a value, text, computed style, whether an element exists) instead of a full take_snapshot. Use the UID interaction tools for clicking, typing, and filling.

  • take_snapshot298 tok

    Capture DOM snapshot with stable UIDs. A UID stays valid across snapshots until its element is removed or the page navigates. Output caps at maxLines (default 100); scope with selector or dump the full tree with saveTo.

  • press_key235 tok

    Press a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead.

  • screencast_start188 tok

    Start recording a screencast (video) of the current page viewport, saving the output to a file in the downloads directory. Returns a screencast id to pass to screencast_stop. Multiple recordings can run at once.

  • get_page_text184 tok

    Get the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file.

  • install_extension178 tok

    Install a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.

  • set_download_behaviorhttp160 tok

    Control how downloads are handled: allow (save to a destination folder), deny (cancel), or reset to default. Avoids the native save-file dialog. Requires a recent Firefox.

  • type_text148 tok

    Type text key by key into the focused element, optionally followed by a key such as Enter. Use fill_by_uid to set the value of a known input; use this for elements that only react to real typing, such as autocomplete fields and rich text editors.

  • new_page138 tok

    Open new tab at URL. Returns tab index.

  • print_page135 tok

    Print the current page to a PDF file using print CSS. Returns the saved file path.

  • navigate_pagehttp134 tok

    Navigate selected tab to URL.

  • screenshot_page127 tok

    Capture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.

  • get_firefox_output122 tok

    Retrieve Firefox output (stdout/stderr including MOZ_LOG, warnings, crashes, stack traces). Returns recent output from the capture file. Use filters to focus on specific content.

  • screenshot_by_uid117 tok

    Capture element screenshot by UID as base64 PNG.

  • list_downloads115 tok

    List downloads tracked since startup, including status and saved file path.

  • select_page89 tok

    Select active tab by index, URL, or title. Index takes precedence.

  • fill_form_by_uid88 tok

    Fill multiple form fields at once.

  • screencast_stop86 tok

    Stop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file.

  • uninstall_extension74 tok

    Uninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions.

  • close_firefox_session72 tok

    Ends the browser session. If the server connected to your existing Firefox, this releases the connection and leaves Firefox running. If the server started Firefox itself, this closes it. Call this when the browser task is complete and no further browser interaction is expected.

  • drag_by_uid_to_uid68 tok

    Drag element to another (HTML5 drag events).

  • click_by_uid67 tok

    Click element by UID. Set dblClick for double-click.

  • upload_file_by_uid64 tok

    Upload file to file input by UID.

  • fill_by_uid61 tok

    Fill text input/textarea by UID.

  • set_viewport_size58 tok

    Set viewport dimensions in pixels.

  • navigate_historyhttp53 tok

    Navigate history back/forward. UIDs become stale.

  • resolve_uid_to_selector51 tok

    Resolve UID to CSS selector. Fails if the element is gone.

  • close_page43 tok

    Close tab by index.

  • hover_by_uid43 tok

    Hover over element by UID.

  • get_firefox_info43 tok

    Get information about the current Firefox instance configuration, including binary path, environment variables, and output file location.

  • accept_dialog42 tok

    Accept browser dialog. Provide promptText for prompts.

  • list_pages35 tok

    List open tabs (index, title, URL). Selected tab is marked.

  • clear_snapshot29 tok

    Clear snapshot UIDs. Usually not needed.

  • clear_downloads27 tok

    Clear the tracked downloads buffer.

  • dismiss_dialog24 tok

    Dismiss browser dialog.

Security signals

95/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No license detected-5

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 27d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-16 · 27d ago · GitHub

  2. Latest release

    2026-10-16 · 27d ago · GitHub · v0.10.6

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    no data · official registry

FAQ

›How do I install the Firefox Devtools MCP Moz MCP server in Claude Code?

Run: claude mcp add firefox-devtools-mcp-moz -- npx -y @mozilla/firefox-devtools-mcp-moz. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Firefox Devtools MCP Moz require an API key?

No required environment variables are declared in its published metadata.

›Can I use Firefox Devtools MCP Moz as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Firefox Devtools MCP Moz in the official MCP registry?

No. It was indexed from npm.

›How many tokens does Firefox Devtools MCP Moz add to my context?

Its tool definitions total about 4,033 tokens, resent on every turn.

Sources and method

GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.