Stealthy browser automation, testing, and web-scraping via CDP Mode.
Firefox is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Control and debug Firefox: navigate, fill forms, inspect network and console, profile.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user firefox-mcp '--' npx -y @mozilla/firefox-mcp
# 2 — ask your agent for something these tools do
# list_network_requests, get_network_request, set_network_cache and 54 more
Firefox costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. This one runs on your machine: your client starts Firefox as a process under your own user, with your files and your network, so the tool surface below is what it can do to your computer rather than to a server somewhere else. Its scan result is on the Security tab — read the surface before you approve it.
This is a public server: you run it yourself and this marketplace is not in the path. You need Node.js — the current LTS (24) is the safe choice; npx comes with it. Claude Code registers it in one command; --scope user makes it available in every project. The '--' is in quotes so that PowerShell passes it on.
claude mcp add --scope user firefox-mcp '--' npx -y @mozilla/firefox-mcpReconnect, or start a new session, and the tools appear in the model’s tool list.
Nothing is required, but it can take FIREFOX_HEADLESS (Set to true to run Firefox without a visible window.), START_URL (URL to open when the server starts.) if you want to set them.
One config entry your client uses to start the process locally. A local server runs with your file system and your network, which is why it is priced without metering.
57 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Read from its source code. A server that builds its tool list when it starts can list more tools than this.
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| limit | number | no | Max requests (default: 50) |
| sinceMs | number | no | Only last N ms |
| urlContains | string | no | URL filter (case-insensitive) |
| method | string | no | HTTP method filter |
| status | number | no | Exact status code |
| statusMin | number | no | Min status code |
| statusMax | number | no | Max status code |
| isXHR | boolean | no | XHR/fetch only |
| resourceType | string | no | Resource type filter |
| sortBy | string | no | Sort field (default: timestamp) |
| detail | string | no | Detail level (default: summary) |
| format | string | no | Output format (default: text) |
| saveTo | boolean/string | no | Save matching requests to a file as JSON instead of returning them inline. Saves full untruncated headers by default; pass detail=summary or min for a lean form, or an explicit limit to cap how many a |
| preview | number | no | Number of characters of the saved output to return inline as a preview when saveTo is used. Omit for no preview. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | no | Request ID from list_network_requests |
| url | string | no | URL fallback (may match multiple) |
| format | string | no | Output format (default: text) |
| saveTo | boolean/string | no | Save the request details with full untruncated headers and bodies to a file as JSON instead of returning them inline (binary bodies are stored base64-encoded). Pass a file path, an existing directory |
| preview | number | no | Number of characters of the saved output to return inline as a preview when saveTo is used. Omit for no preview. |
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…
| Parameter | Type | Required | Notes |
|---|---|---|---|
| behavior | string | yes | 'bypass' to skip the cache, 'default' to restore normal caching |
| scope | string | no | 'tab' (default) applies to the selected tab; 'global' applies browser-wide |
Send a raw WebDriver BiDi command and return its result. Escape hatch for BiDi features no other tool covers; prefer a dedicated tool when one exists.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| method | string | yes | BiDi command name, e.g. browsingContext.getTree |
| params | object | no | Command parameters (default: {}) |
| saveTo | boolean/string | no | Save the result to a file as JSON instead of returning it inline. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-mcp/output/). Relative paths |
| preview | number | no | Number of characters of the saved result to return inline as a preview when saveTo is used. Omit for no preview. |
List console messages, filterable by level, time, text, source. Caps at limit (default 50); saveTo saves all matches to a file.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| level | string | no | Filter by level |
| limit | number | no | Max messages (default: 50) |
| sinceMs | number | no | Only last N ms |
| textContains | string | no | Text filter (case-insensitive) |
| source | string | no | Filter by source |
| format | string | no | Output format (default: text) |
| saveTo | boolean/string | no | Save matching messages to a file in full (untruncated) instead of returning them inline. Saves all matching messages by default; pass an explicit limit to cap how many are saved. Pass a file path, an |
| preview | number | no | Number of characters of the saved output to return inline as a preview when saveTo is used. Omit for no preview. |
Clear collected console messages.
No parameter schema on file.
Enable the JS debugger for the current page. Required before set_logpoint works. Requires Firefox 153+.
No parameter schema on file.
List all JavaScript files currently loaded in the page. Requires enable_debugger to have been called.
No parameter schema on file.
Get the source code of a JavaScript file loaded in the page. Requires enable_debugger to have been called.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| scriptUrl | string | yes | URL of the script to retrieve. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | URL of the script. |
| line | number | yes | Line number (1-based). |
| expression | string | yes | JavaScript expression to evaluate each time the logpoint is hit. |
Remove a previously set logpoint.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| logpoint | string | yes | Logpoint id returned by set_logpoint. |
Get the results collected by a logpoint since it was set.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| logpoint | string | yes | Logpoint id returned by set_logpoint. |
List downloads tracked since startup, including status and saved file path.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| status | string | no | Filter by status |
| urlContains | string | no | URL filter (case-insensitive) |
| limit | number | no | Max downloads (default: 50) |
| format | string | no | Output format (default: text) |
Clear the tracked downloads buffer.
No parameter schema on file.
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| behavior | string | yes | 'allowed' saves downloads to downloadFolder, 'denied' cancels them, 'default' resets to the browser default |
| downloadFolder | string | no | Path to the folder where downloads should be stored, created if missing. Only used for behavior='allowed', where it defaults to ~/.firefox-mcp/output/downloads. Relative paths resolve against the curr |
Restart Firefox with different configuration. Allows changing binary path, environment variables, and other options. All current tabs will be closed.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| firefoxPath | string | no | New Firefox binary path (optional, keeps current if not specified) |
| profilePath | string | no | Firefox profile path (optional, keeps current if not specified) |
| env | array | no | New environment variables in KEY=VALUE format (optional, e.g., ["MOZ_LOG=HTMLMediaElement:5", "MOZ_LOG_FILE=/tmp/ff.log"]) |
| headless | boolean | no | Run in headless mode (optional, keeps current if not specified) |
| startUrl | string | no | URL to navigate to after restart (optional, uses about:blank if not specified) |
| prefs | object | no | Firefox preferences to set at startup. Values are auto-typed: true/false become booleans, integers become numbers, everything else is a string. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| lines | number | no | Number of recent log lines to return (default: 100, max: 10000) |
| grep | string | no | Filter log lines containing this string (case-insensitive) |
| since | number | no | Only show logs written in the last N seconds |
Get information about the current Firefox instance configuration, including binary path, environment variables, and output file location.
No parameter schema on file.
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.
No parameter schema on file.
Set Firefox preferences at runtime a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| prefs | object | yes | Object mapping preference names to values. Values are auto-typed: true/false become booleans, integers become numbers, everything else is a string. |
Get Firefox preference values via a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| names | array | yes | Array of preference names to read |
Click element by UID. Set dblClick for double-click.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | Element UID from snapshot |
| dblClick | boolean | no | Double-click (default: false) |
Hover over element by UID.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | Element UID from snapshot |
Fill text input/textarea or pick a select option by UID.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | Input element UID from snapshot |
| value | string | yes | Text to fill, or the value or visible text of the option to select |
Drag element to another (HTML5 drag events).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| fromUid | string | yes | Source element UID |
| toUid | string | yes | Target element UID |
Fill multiple form fields at once.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| elements | array | yes | Array of {uid, value} pairs |
Upload file to file input by UID.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | File input UID from snapshot |
| filePath | string | yes | Local file path |
Press a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| key | string | yes | One key, optionally preceded by "+"-separated modifiers, such as "Escape", "Enter" or "ctrl+shift+t". Modifiers: ctrl, alt, shift, meta. Named keys: Enter, Return, NumpadEnter, Tab, Backspace, Delete, |
| uid | string | no | Focusable element UID from snapshot to focus before pressing (default: the already focused element) |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| text | string | yes | Text to type |
| uid | string | no | Focusable element UID from snapshot to focus before typing (default: the already focused element) |
| submitKey | string | no | Key to press after the text, such as "Enter" or "Tab". Same syntax as press_key. |
List open tabs (index, title, URL). Selected tab is marked.
No parameter schema on file.
Open new tab at URL. Returns tab index.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | Target URL |
| wait | no | — |
Navigate selected tab to URL.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | Target URL |
| wait | no | — |
Select active tab by index, URL, or title. Index takes precedence.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pageIdx | number | no | Tab index (0-based, most reliable) |
| url | string | no | URL substring (case-insensitive) |
| title | string | no | Title substring (case-insensitive) |
Close tab by index.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pageIdx | number | yes | Tab index to close |
Get the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| maxLength | number | no | Max characters to return inline (default: 20000). Ignored when saveTo is used. |
| saveTo | boolean/string | no | Save the full untruncated text to a file instead of returning it inline. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-mcp/output/). Relativ |
| preview | number | no | Number of characters of the saved text to return inline as a preview when saveTo is used. Omit for no preview. |
Print the current page to a PDF file using print CSS. Returns the saved file path.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| landscape | boolean | no | Use landscape orientation (default: false) |
| background | boolean | no | Print background colors and images (default: false) |
| saveTo | boolean/string | no | Where to save the PDF. Pass a file path, an existing directory (generated file inside), or true or omit it (generated file under ~/.firefox-mcp/output/). Relative paths resolve against the current wor |
List privileged (privileged) browsing contexts. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Use restart_firefox with env parameter to enable.
No parameter schema on file.
Select a privileged browsing context by ID and set WebDriver Classic context to "chrome" . Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| contextId | string | yes | Privileged browsing context ID from list_privileged_contexts |
Execute JS function in a privileged (chrome) browsing context. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Get context ids from list_privileged_contexts.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| function | string | yes | JS function string, e.g. () => Services.prefs.getBoolPref("foo") |
| context | string | yes | Privileged browsing context ID from list_privileged_contexts |
| saveTo | boolean/string | no | Save the result to a file as JSON instead of returning it inline. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-mcp/output/). Relative paths |
| preview | number | no | Number of characters of the saved result to return inline as a preview when saveTo is used. Omit for no preview. |
Check whether the Firefox profiler is currently recording.
No parameter schema on file.
Start the Firefox profiler. Provide either a preset name or explicit recording options (entries, interval, features, threads). Cannot combine both. Valid presets: ….
| Parameter | Type | Required | Notes |
|---|---|---|---|
| preset | string | no | Profiler preset name. Cannot be combined with entries, interval, features, or threads. |
| entries | integer | no | Number of entries to keep in the sampling buffer. Required when no preset is given. |
| interval | number | no | Sampling interval in milliseconds. Required when no preset is given. |
| features | array | no | Profiler features to enable. Required when no preset is given. |
| threads | array | no | Thread names to profile. Required when no preset is given. |
| activeContext | string | no | Id of the top-level navigable to mark as the active tab in the profile. Does not restrict profiling to that tab. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| discard | boolean | no | If true, stop the profiler and discard the recording instead of saving it to disk. Defaults to false. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| context | string | no | Id of the top-level browsing context to record. Defaults to the currently selected page. |
| frameRate | integer | no | Target frame rate of the recording, in frames per second. |
| width | integer | no | Width of the recorded video in pixels. Defaults to the viewport width. |
| height | integer | no | Height of the recorded video in pixels. Defaults to the viewport height. |
| mimeType | string | no | MIME type of the output file. Defaults to "video/webm". |
Stop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| screencast | string | no | Id of the screencast to stop, as returned by screencast_start. Optional when exactly one recording is active. |
Capture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| fullPage | boolean | no | Capture the whole scrollable document (default: false) |
| saveTo | no | — |
Capture element screenshot by UID as base64 PNG.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | Element UID from snapshot |
| saveTo | no | — |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| function | string | yes | JS function string, e.g. () => document.title |
| args | array | no | UIDs to pass as function arguments, all from the same frame. With UIDs from an iframe, the function runs in that iframe. |
| timeout | number | no | Timeout in ms (default: 5000) |
| sandbox | string | no | Evaluate in an isolated sandbox realm with this name instead of the page realm. The sandbox shares the page DOM and keeps the native built-ins even where the page overrode them. Page-defined globals a |
| saveTo | boolean/string | no | Save the result to a file as JSON instead of returning it inline. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-mcp/output/). Relative paths |
| preview | number | no | Number of characters of the saved result to return inline as a preview when saveTo is used. Omit for no preview. |
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.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| maxLines | number | no | Max lines (default: 100) |
| includeAttributes | boolean | no | Include ARIA attributes (default: false) |
| includeText | boolean | no | Include text (default: true) |
| maxDepth | number | no | Max tree depth |
| includeAll | boolean | no | Include all visible elements without relevance filtering. Useful for Vue/Livewire apps (default: false) |
| selector | string | no | CSS selector to scope snapshot to specific element (e.g., "#app") |
| saveTo | boolean/string | no | Save the complete snapshot text to a file (ignores maxLines) instead of returning it inline. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-m |
| preview | number | no | Number of characters of the saved output to return inline as a preview when saveTo is used. Omit for no preview. |
Resolve UID to CSS selector. Fails if the element is gone.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uid | string | yes | UID from snapshot |
Clear snapshot UIDs. Usually not needed.
No parameter schema on file.
Accept browser dialog. Provide promptText for prompts.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| promptText | string | no | Text for prompt dialogs |
Dismiss browser dialog.
No parameter schema on file.
Navigate history back/forward. UIDs become stale.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| direction | string | yes | back or forward |
Set viewport dimensions in pixels. Applies to the selected tab only.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| width | number | yes | Width in pixels |
| height | number | yes | Height in pixels |
Install a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| type | string | yes | Extension data type: "archivePath" for .xpi/.zip, "base64" for encoded data, "path" for unpacked directory |
| path | string | no | File path (for archivePath or path types) |
| value | string | no | Base64-encoded extension data (for base64 type) |
| permanent | boolean | no | Firefox-specific: Install permanently (requires signed extension). Default: false (temporary install) |
Uninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | Extension ID (e.g., "addon@example.com") |
List installed Firefox extensions using the WebDriver BiDi webExtension.moz:listExtensions command.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| ids | array | no | Optional: Filter by exact extension IDs (e.g., ["addon@example.com"]) |
| name | string | no | Optional: Filter by partial name match (case-insensitive, e.g., "shopify") |
| isActive | boolean | no | Optional: Filter by enabled (true) or disabled (false) status |
- Every tool, no call limit
- No card, and mcprush charges nothing for it
- Source published under MIT OR Apache-2.0
- Runs on your machine — nothing of it reaches our gateway
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install Firefox or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | high | capability blast radius (high) — client exposure if the model is manipulated | −6 |
| verification-discount | vendor | publisher verification (official vendor) — published under a known vendor’s authority | −0 |
| coverage-honesty | source | inspection depth (source) — how much of the target the scan could see | −0 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
No tools were enumerated, so prompt-injection, capability and toxic-flow analysis had no tool surface to inspect. To grade a package’s real runtime tools, scan the running server: --command "npx -y <package>".
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. high is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| No per-tool rows for this release — see the note below. | ||
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
Always latest — the install command names no version, so it installs the newest release when it runs; the current release on file is 0.11.1. Pin a release below and the command asks for exactly that one.
No release note was published with this version.
- The version this listing was on when mcprush began following its releases. The registry was not asked when it shipped, so this row carries no date.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish Firefox can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.