All servers / Firefox DevTools
Firefox DevTools
Model Context Protocol (MCP) server that lets AI agents browse the web and debug web pages with Firefox
Tested by ConnectATDScore 87 out of 100. Tested 2026-11-17 on package version 0.10.7. Package: @mozilla/firefox-devtools-mcp · source
Score breakdown
| Runs | 18 / 20 | |
|---|---|---|
| Tool descriptions | 17 / 20 | |
| Package safety | 20 / 20 | |
| Maintenance | 20 / 20 | |
| Adoption | 12 / 20 |
What we saw
- Starts and answers the MCP handshake: yes (19.2 seconds including download)
- Tools offered: 35
- Last published: 2026-10-28
- Weekly downloads (npm): 3,802
- License: MIT OR Apache-2.0 · Direct dependencies: 5
Tools and how they are described
Agents choose tools from these descriptions. Under each name you can see how many of its parameters are explained.
list_pagesno parametersList open tabs (index, title, URL). Selected tab is marked.
new_page2 of 2 parameters describedOpen new tab at URL. Returns tab index.
navigate_page2 of 2 parameters describedNavigate selected tab to URL.
select_page3 of 3 parameters describedSelect active tab by index, URL, or title. Index takes precedence.
close_page1 of 1 parameter describedClose tab by index.
get_page_text3 of 3 parameters describedGet the visible text of the page (document.body.innerText). Caps at maxLength (default 20000 chars); saveTo saves the full text to a file.
take_snapshot8 of 8 parameters describedCapture 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.
resolve_uid_to_selector1 of 1 parameter describedResolve UID to CSS selector. Fails if the element is gone.
clear_snapshotno parametersClear snapshot UIDs. Usually not needed.
click_by_uid2 of 2 parameters describedClick element by UID. Set dblClick for double-click.
hover_by_uid1 of 1 parameter describedHover over element by UID.
fill_by_uid2 of 2 parameters describedFill text input/textarea by UID.
drag_by_uid_to_uid2 of 2 parameters describedDrag element to another (HTML5 drag events).
fill_form_by_uid1 of 1 parameter describedFill multiple form fields at once.
upload_file_by_uid2 of 2 parameters describedUpload file to file input by UID.
press_key2 of 2 parameters describedPress a single key, optionally with modifiers, to submit, dismiss, navigate or trigger a shortcut. Not for entering text: use fill_by_uid instead.
type_text3 of 3 parameters describedType 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.
screenshot_page2 of 2 parameters describedCapture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.
screenshot_by_uid2 of 2 parameters describedCapture element screenshot by UID as base64 PNG.
print_page3 of 3 parameters describedPrint the current page to a PDF file using print CSS. Returns the saved file path.
list_downloads4 of 4 parameters describedList downloads tracked since startup, including status and saved file path.
clear_downloadsno parametersClear the tracked downloads buffer.
set_download_behavior2 of 2 parameters describedControl 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.
accept_dialog1 of 1 parameter describedAccept browser dialog. Provide promptText for prompts.
dismiss_dialogno parametersDismiss browser dialog.
navigate_history1 of 1 parameter describedNavigate history back/forward. UIDs become stale.
set_viewport_size2 of 2 parameters describedSet viewport dimensions in pixels. Applies to the selected tab only.
get_firefox_output3 of 3 parameters describedRetrieve 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_infono parametersGet information about the current Firefox instance configuration, including binary path, environment variables, and output file location.
close_firefox_sessionno parametersEnds 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.
install_extension4 of 4 parameters describedInstall a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.
uninstall_extension1 of 1 parameter describedUninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions.
screencast_start5 of 5 parameters describedStart 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_stop1 of 1 parameter describedStop an in-progress screencast recording started with screencast_start and finalize the video file. Returns the path to the saved file.
evaluate_script6 of 6 parameters describedRun 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.
Tested in a sandbox with an empty environment: no API keys, a throwaway folder, nothing from a real account. A passing test shows the server runs and responds. It is not a security audit.