
Firefox Devtools MCP Moz MCP Server
Model Context Protocol (MCP) server that lets AI agents browse the web and debug web pages with Firefox (moz build with privileged context support)
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-mozInstall in Cursor
{
"mcpServers": {
"firefox-devtools-mcp-moz": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp-moz"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"firefox-devtools-mcp-moz": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp-moz"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"firefox-devtools-mcp-moz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp-moz"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"firefox-devtools-mcp-moz": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp-moz"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
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
| Model | Per 1,000 turns | With 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 tokRun 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 tokCapture 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 tokPress 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 tokStart 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 tokGet 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 tokInstall a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.
set_download_behaviorhttp160 tokControl 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 tokType 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 tokOpen new tab at URL. Returns tab index.
print_page135 tokPrint the current page to a PDF file using print CSS. Returns the saved file path.
navigate_pagehttp134 tokNavigate selected tab to URL.
screenshot_page127 tokCapture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.
get_firefox_output122 tokRetrieve 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 tokCapture element screenshot by UID as base64 PNG.
list_downloads115 tokList downloads tracked since startup, including status and saved file path.
select_page89 tokSelect active tab by index, URL, or title. Index takes precedence.
fill_form_by_uid88 tokFill multiple form fields at once.
screencast_stop86 tokStop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file.
uninstall_extension74 tokUninstall 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 tokEnds 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 tokDrag element to another (HTML5 drag events).
click_by_uid67 tokClick element by UID. Set dblClick for double-click.
upload_file_by_uid64 tokUpload file to file input by UID.
fill_by_uid61 tokFill text input/textarea by UID.
set_viewport_size58 tokSet viewport dimensions in pixels.
navigate_historyhttp53 tokNavigate history back/forward. UIDs become stale.
resolve_uid_to_selector51 tokResolve UID to CSS selector. Fails if the element is gone.
close_page43 tokClose tab by index.
hover_by_uid43 tokHover over element by UID.
get_firefox_info43 tokGet information about the current Firefox instance configuration, including binary path, environment variables, and output file location.
accept_dialog42 tokAccept browser dialog. Provide promptText for prompts.
list_pages35 tokList open tabs (index, title, URL). Selected tab is marked.
clear_snapshot29 tokClear snapshot UIDs. Usually not needed.
clear_downloads27 tokClear the tracked downloads buffer.
dismiss_dialog24 tokDismiss 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.
Last commit (default branch)
2026-10-16 · 27d ago · GitHub
Latest release
2026-10-16 · 27d ago · GitHub · v0.10.6
Package published
no data · npm/PyPI
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
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- 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.