Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Firefox DevTools MCP server

by mozilla/firefox-devtools-mcpNOASSERTION licenceAudited 3 Oct 2026 · source 7134318d871d

npm @mozilla/firefox-devtools-mcp 0.10.4stdio★ 456
✓SAFEGrade B · 89/100 · 3 Oct 2026 · 7134318
456GitHub stars

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, 13 low). Maintainer's description: Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through WebDriver BiDi

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Firefox DevTools MCP server (mozilla/firefox-devtools-mcp)”. Retrieved 3 Oct 2026. https://modelsatlas.com/mcp/mozilla/firefox-devtools-1

Copy of mcp/mozilla/firefox-devtools-mcp: identical text; the original is the page to read and cite.

Trust audit

Audit 0.4.1 · full source read 3 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium13 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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-mcp at version 0.10.4
  • LicenceNOASSERTIONFrom the repository, as read at the audited commit.
  • Last push4 days agoActivity of the repository when we read it.
  • Source commit read7134318d871dThe audit covers exactly this commit, read on 3 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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
LOWInventory / provenanceinv.hidden_file · .codecov.yml
F-13 Inventory / provenanceCWE-1104Layer L0
.codecov.yml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/utils/paths.ts:42
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logDebug } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/firefox/events/debugging.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logDebug } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/firefox/events/downloads.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logDebug } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/firefox/events/network.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logDebug } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/firefox/snapshot/manager.ts:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { nativeToLocalValue } from '../../utils/local-value.js';
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
webdriver-bidi-protocol
Why
1 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · SECURITY.md:60
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
—
LOWPrompt injectionprompt.override · SECURITY.md:9
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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

Tools it exposes

71 declared in source · 7 destructive

40 read24 write7 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.

ToolRiskWhat it does
clear_console_messagesdestructiveClear collected console messages.
clear_downloadsdestructiveClear the tracked downloads buffer.
clear_snapshotdestructiveClear snapshot UIDs. Usually not needed.
consoledestructiveRead and clear console messages.
remove_logpointdestructiveRemove a previously set logpoint.
uninstall_extensiondestructiveUninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions.
webextensiondestructiveInstall and uninstall web extensions.
click_by_uidwriteClick element by UID. Set dblClick for double-click.
debuggingwriteInspect scripts and set logpoints (Firefox 153+).
enable_debuggerwriteEnable the JS debugger for the current page. Required before set_logpoint works. Requires Firefox 153+.
evaluate_privileged_scriptwriteExecute 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_scriptwriteRun 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_resultswriteGet the results collected by a logpoint since it was set.
install_extensionwriteInstall a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.
launchwriteRestart Firefox under a different launch configuration.
prefswriteGet and set Firefox preferences.
press_keywritePress a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead.
profilerwriteStart, stop, and query the performance profiler.
profiler_startwriteStart 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_stopwriteStop 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_firefoxwriteRestart Firefox with different configuration. Allows changing binary path, environment variables, and other options. All current tabs will be closed.
screencast_startwriteStart 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_stopwriteStop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file.
screenshot_pagewriteCapture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.
select_privileged_contextwriteSelect a privileged browsing context by ID and set WebDriver Classic context to
set_download_behaviorwriteControl 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_prefswriteSet Firefox preferences at runtime a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.
set_logpointwriteSet 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_cachewriteControl the HTTP cache. Use behavior=
set_viewport_sizewriteSet viewport dimensions in pixels.
upload_file_by_uidwriteUpload file to file input by UID.
accept_dialogreadAccept browser dialog. Provide promptText for prompts.
close_firefox_sessionreadEnds the browser session. If the server connected to your existing Firefox,
close_pagereadClose tab by index.
dismiss_dialogreadDismiss browser dialog.
downloadsreadMonitor and manage file downloads.
drag_by_uid_to_uidreadDrag element to another (HTML5 drag events).
fill_by_uidreadFill text input/textarea by UID.
fill_form_by_uidreadFill multiple form fields at once.
get_firefox_inforeadGet information about the current Firefox instance configuration, including binary path, environment variables, and output file location.
get_firefox_outputreadRetrieve 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_prefsreadGet Firefox preference values via a privileged API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.
get_network_requestreadGet 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_textreadGet 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_sourcereadGet the source code of a JavaScript file loaded in the page. Requires enable_debugger to have been called.
hover_by_uidreadHover over element by UID.
inputreadInteract with the page via UID-based clicks, typing, key presses, drag, and uploads.
list_console_messagesreadList console messages, filterable by level, time, text, source. Caps at limit (default 50); saveTo saves all matches to a file.
list_downloadsreadList downloads tracked since startup, including status and saved file path.
list_network_requestsreadList 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_pagesreadList open tabs (index, title, URL). Selected tab is marked.
list_privileged_contextsreadList privileged (privileged) browsing contexts. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Use restart_firefox with env parameter to enable.
list_scriptsreadList all JavaScript files currently loaded in the page. Requires enable_debugger to have been called.
managementreadInspect Firefox options and logs, and close the browser.
navigate_historyreadNavigate history back/forward. UIDs become stale.
navigate_pagereadNavigate selected tab to URL.
networkreadList and inspect network requests, and control the HTTP cache.
new_pagereadOpen new tab at URL. Returns tab index.
pagesreadOpen, navigate, select, and close pages.
privilegedreadAccess privileged (
profiler_is_activereadCheck whether the Firefox profiler is currently recording.
resolve_uid_to_selectorreadResolve UID to CSS selector. Fails if the element is gone.
screencastreadRecord screencasts of the page viewport (Firefox 154+).
screenshotreadCapture screenshots of the page or specific elements.
screenshot_by_uidreadCapture element screenshot by UID as base64 PNG.
scriptreadEvaluate arbitrary JavaScript in the page context.
select_pagereadSelect active tab by index, URL, or title. Index takes precedence.
snapshotreadCapture accessibility/DOM snapshots and resolve UIDs.
take_snapshotreadCapture 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_textreadType 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.
utilitiesreadHandle dialogs, history navigation, and viewport sizing.

Install

Package version 0.10.4 · audited commit 7134318

claude mcp add firefox-devtools-mcp -- npx -y @mozilla/[email protected]

The command pins the package version recorded in the source (0.10.4); the audit covers commit 7134318d871d. Transport: stdio. Reads this environment variable: FIREFOX_MCP_TEST_NEWKEY. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 7134318d871d

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 server

What is the Firefox DevTools MCP server?
Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through WebDriver BiDi
What tools does Firefox DevTools expose?
71 in total: 40 read-only, 24 that write, and 7 that can delete or overwrite (clear_console_messages, clear_downloads, clear_snapshot, console, remove_logpoint). Every one is listed on this page with its risk.
Is Firefox DevTools safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 7 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Firefox DevTools need?
It reads FIREFOX_MCP_TEST_NEWKEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Firefox DevTools run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @mozilla/firefox-devtools-mcp at 0.10.4.
How current is this page?
The grade is for one exact copy of the source (7134318d871d), read on 2026-10-03. The repository is watched and re-audited when it changes.

Sources

  • mozilla/firefox-devtools-mcp on GitHub — the source we read, its licence, stars and activityObserved · 3 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 7134318d871dObserved · 3 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.