MCP server · Org-owned · Audited from source
Firefox DevTools MCP
by mozilla/firefox-devtools-mcpNOASSERTION licenceAudited 12 Oct 2026 · source aaeef6db0d72
Is it safe? Yes — SAFE, grade B (89/100). It exposes 71 tools: 40 read, 24 write and 7 destructive. The audit recorded 14 findings (0 critical, 0 high, 1 medium, 12 low). Maintainer's description: Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through WebDriver BiDi
Cite
Cite this page
ModelsAtlas. “Firefox DevTools MCP (mozilla/firefox-devtools-mcp)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/mozilla/firefox-devtools-mcp
Trust audit
Audit 0.4.1 · full source read 12 Oct 2026
14 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared8 observations
- NetworkDeclared4 observations
- ShellDeclared5 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
mozillaOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@mozilla/firefox-devtools-mcpat version 0.10.5 - LicenceNOASSERTIONFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit readaaeef6db0d72The audit covers exactly this commit, read on 12 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory71 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (14)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
clear_console_messages, clear_downloads, clear_snapshot, console, remove_logpoint, uninstall_extension, webextension
- Why
- 7 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · src/utils/paths.ts:42
const hash = createHash('sha1').update(firefoxPath).digest('hex').slice(0, 8);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · tests/utils/paths.test.ts:48
const hash = createHash('sha1').update(binaryPath).digest('hex').slice(0, 8);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/firefox/events/console.ts:7
import { logDebug } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/firefox/events/debugging.ts:7
import { logDebug } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/firefox/events/downloads.ts:6
import { logDebug } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/firefox/events/network.ts:7
import { logDebug } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/firefox/snapshot/manager.ts:11
import { nativeToLocalValue } from '../../utils/local-value.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
webdriver-bidi-protocol
- Why
- 1 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.override · SECURITY.md:9
Prompt injection is an attack where malicious content in the environment manipulates an AI agent into taking unintended actions. In browser automation, this means a page's visible text, hidden HTML el
- Why
- asks the agent to drop prior instructions or safety
- Fix
- remove the instruction
INFOPrompt injectionprompt.credential_read · SECURITY.md:60
Connects to an already-running Firefox instance instead of launching a fresh one. If that instance is your regular browser profile, the agent has access to your cookies, saved passwords, active sessio
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
71 declared in source · 7 destructive
7 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clear_console_messages | destructive | Clear collected console messages. |
clear_downloads | destructive | Clear the tracked downloads buffer. |
clear_snapshot | destructive | Clear snapshot UIDs. Usually not needed. |
console | destructive | Read and clear console messages. |
remove_logpoint | destructive | Remove a previously set logpoint. |
uninstall_extension | destructive | Uninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions. |
webextension | destructive | Install and uninstall web extensions. |
click_by_uid | write | Click element by UID. Set dblClick for double-click. |
debugging | write | Inspect scripts and set logpoints (Firefox 153+). |
enable_debugger | write | Enable the JS debugger for the current page. Required before set_logpoint works. Requires Firefox 153+. |
evaluate_privileged_script | write | 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. |
evaluate_script | write | 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. |
get_logpoint_results | write | Get the results collected by a logpoint since it was set. |
install_extension | write | Install a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory. |
launch | write | Restart Firefox under a different launch configuration. |
prefs | write | Get and set Firefox preferences. |
press_key | write | Press a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead. |
profiler | write | Start, stop, and query the performance profiler. |
profiler_start | write | Start the Firefox profiler. Provide either a preset name or explicit recording options (entries, interval, features, threads). Cannot combine both. Valid presets: ${VALID_PRESETS.join( |
profiler_stop | write | 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. |
restart_firefox | write | Restart Firefox with different configuration. Allows changing binary path, environment variables, and other options. All current tabs will be closed. |
screencast_start | write | 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. |
screencast_stop | write | Stop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file. |
screenshot_page | write | Capture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document. |
select_privileged_context | write | Select a privileged browsing context by ID and set WebDriver Classic context to |
set_download_behavior | write | 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_firefox_prefs | write | Set Firefox preferences at runtime a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. |
set_logpoint | write | 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. |
set_network_cache | write | Control the HTTP cache. Use behavior= |
set_viewport_size | write | Set viewport dimensions in pixels. |
upload_file_by_uid | write | Upload file to file input by UID. |
accept_dialog | read | Accept browser dialog. Provide promptText for prompts. |
close_firefox_session | read | Ends the browser session. If the server connected to your existing Firefox, |
close_page | read | Close tab by index. |
dismiss_dialog | read | Dismiss browser dialog. |
downloads | read | Monitor and manage file downloads. |
drag_by_uid_to_uid | read | Drag element to another (HTML5 drag events). |
fill_by_uid | read | Fill text input/textarea by UID. |
fill_form_by_uid | read | Fill multiple form fields at once. |
get_firefox_info | read | Get information about the current Firefox instance configuration, including binary path, environment variables, and output file location. |
get_firefox_output | read | 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. |
get_firefox_prefs | read | Get Firefox preference values via a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. |
get_network_request | read | 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. |
get_page_text | read | Get the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file. |
get_script_source | read | Get the source code of a JavaScript file loaded in the page. Requires enable_debugger to have been called. |
hover_by_uid | read | Hover over element by UID. |
input | read | Interact with the page via UID-based clicks, typing, key presses, drag, and uploads. |
list_console_messages | read | List console messages, filterable by level, time, text, source. Caps at limit (default 50); saveTo saves all matches to a file. |
list_downloads | read | List downloads tracked since startup, including status and saved file path. |
list_network_requests | read | 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. |
list_pages | read | List open tabs (index, title, URL). Selected tab is marked. |
list_privileged_contexts | read | List privileged (privileged) browsing contexts. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Use restart_firefox with env parameter to enable. |
list_scripts | read | List all JavaScript files currently loaded in the page. Requires enable_debugger to have been called. |
management | read | Inspect Firefox options and logs, and close the browser. |
navigate_history | read | Navigate history back/forward. UIDs become stale. |
navigate_page | read | Navigate selected tab to URL. |
network | read | List and inspect network requests, and control the HTTP cache. |
new_page | read | Open new tab at URL. Returns tab index. |
pages | read | Open, navigate, select, and close pages. |
privileged | read | Access privileged ( |
profiler_is_active | read | Check whether the Firefox profiler is currently recording. |
resolve_uid_to_selector | read | Resolve UID to CSS selector. Fails if the element is gone. |
screencast | read | Record screencasts of the page viewport (Firefox 154+). |
screenshot | read | Capture screenshots of the page or specific elements. |
screenshot_by_uid | read | Capture element screenshot by UID as base64 PNG. |
script | read | Evaluate arbitrary JavaScript in the page context. |
select_page | read | Select active tab by index, URL, or title. Index takes precedence. |
snapshot | read | Capture accessibility/DOM snapshots and resolve UIDs. |
take_snapshot | read | 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. |
type_text | read | 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. |
utilities | read | Handle dialogs, history navigation, and viewport sizing. |
Install
Package version 0.10.5 · audited commit aaeef6d
claude mcp add firefox-devtools-mcp -- npx -y @mozilla/[email protected]
The command pins the package version recorded in the source (0.10.5); the audit covers commit aaeef6db0d72. Transport: stdio. Reads this environment variable: FIREFOX_MCP_TEST_NEWKEY. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
aaeef6db0d72
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/mozilla/firefox-devtools-mcp/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Firefox DevTools MCP
What is the Firefox DevTools MCP MCP server?
What tools does Firefox DevTools MCP expose?
Is Firefox DevTools MCP safe to connect to an agent?
What credentials does Firefox DevTools MCP need?
How does Firefox DevTools MCP run?
How current is this page?
Sources
- mozilla/firefox-devtools-mcp on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit aaeef6db0d72Observed · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Firefox DevTools MCP MCP server?
- What tools does Firefox DevTools MCP expose?
- Is Firefox DevTools MCP safe to connect to an agent?