Skip to content
mcp/skillhub

Firefox DevTools MCP Server

by mozillaio.github.mozilla/firefox-devtools-mcpv0.10.6

Model Context Protocol (MCP) server that lets AI agents browse the web and debug web pages with Firefox

502Node.jsstdioofficial registry

context tax

~5,932 tok/turn49 tools

security

95/100

cold start

740 ms

freshness

Active28d ago

Our reading of Firefox DevTools, from the data

Firefox DevTools is an MCP server from mozilla, listed in the official MCP Registry.

Its 49 tools add about 5,932 tokens to every model turn (measured 2026-10-23).

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

It runs locally on your machine over stdio.

Install Firefox DevTools MCP server

Install in Claude Code

claude mcp add firefox-devtools -- npx -y @mozilla/firefox-devtools-mcp --tool-preset developer

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

Configuration

VariableRequiredSecretDescription
FIREFOX_HEADLESS——Set to true to run Firefox without a visible window.
START_URL——URL to open when the server starts.

Context tax

Connecting this server adds ~5,932 tokens of tool definitions to every model turn (heavy, 49 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$23.73$1.19
Claude Sonnet 5.5$11.86$1.19
Claude Haiku 5.5$0.593—

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

Tools (49)

  • list_network_requests400 tok

    List network requests, returning IDs for get_network_request. Filter by url/method/status; caps at limit (default 50); saveTo saves all matches to a file.

  • 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.

  • list_console_messages285 tok

    List console messages, filterable by level, time, text, source. Caps at limit (default 50); saveTo saves all matches to a file.

  • profiler_start256 tok

    Start the Firefox profiler. Provide either a preset name or explicit recording options (entries, interval, features, threads). Cannot combine both. Valid presets: web-developer, firefox-platform, graphics, media, ml, networking, power, debug.

  • 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.

  • get_network_request227 tok

    Get request details by ID, including the response body (and request body when present). Large text bodies are truncated inline; binary bodies are summarized. URL lookup as fallback.

  • 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.

  • set_network_cache151 tok

    Control the HTTP cache. Use behavior='bypass' so every request goes to the network — useful for performance measurement and for verifying a change that a cached asset would otherwise hide. Applies to the currently selected tab unless scope='global'. Persists until set back to 'default' or Firefox shuts down.

  • 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.

  • set_logpoint127 tok

    Set a logpoint at a specific location. When execution reaches that line, the expression is evaluated and the result is stored without pausing. Use get_logpoint_results to retrieve collected values. Requires enable_debugger to have been called.

  • 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.

  • profiler_stop81 tok

    Stop the Firefox profiler and save the recorded profile to a file in the downloads directory. Returns the path to the saved file, or null when nothing was saved.

  • 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.

  • get_script_source65 tok

    Get the source code of a JavaScript file loaded in the page. Requires enable_debugger to have been called.

  • 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.

  • get_logpoint_results58 tok

    Get the results collected by a logpoint since it was set.

  • 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.

  • remove_logpoint51 tok

    Remove a previously set logpoint.

  • 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.

  • enable_debugger43 tok

    Enable the JS debugger for the current page. Required before set_logpoint works. Requires Firefox 153+.

  • accept_dialog42 tok

    Accept browser dialog. Provide promptText for prompts.

  • list_scripts40 tok

    List all JavaScript files currently loaded in the page. Requires enable_debugger to have been called.

  • list_pages35 tok

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

  • profiler_is_active31 tok

    Check whether the Firefox profiler is currently recording.

  • clear_snapshot29 tok

    Clear snapshot UIDs. Usually not needed.

  • clear_downloads27 tok

    Clear the tracked downloads buffer.

  • clear_console_messages26 tok

    Clear collected console messages.

  • 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 28d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-16 · 28d ago · GitHub

  2. Latest release

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

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-16 · 28d ago · official registry · v0.10.6

FAQ

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

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

›Does Firefox DevTools require an API key?

No required environment variables are declared in its published metadata.

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

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

›Is Firefox DevTools in the official MCP registry?

Yes, as io.github.mozilla/firefox-devtools-mcp.

›How many tokens does Firefox DevTools add to my context?

Its tool definitions total about 5,932 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-16
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.