About Firefox Devtools
Firefox Devtools is an MCP server published by padenot in the Browser category: model Context Protocol (MCP) server for Firefox DevTools automation. Conduid read 36 tools from its source: accept_dialog, clear_console_messages, clear_snapshot, click_by_uid, close_page, dismiss_dialog and 30 more. No package is published for it, so it installs from a source checkout.
The repository has 24 stars and 9 forks, and its last commit was on 29 Apr 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include firefox.
Install
git clone https://github.com/padenot/firefox-devtools-mcpTools (36)
accept_dialogAccept browser dialog. Provide promptText for prompts.clear_console_messagesClear collected console messages.clear_snapshotClear snapshot cache. Usually not needed.click_by_uidClick element by UID. Set dblClick for double-click.close_pageClose tab by index.dismiss_dialogDismiss browser dialog.drag_by_uid_to_uidDrag element to another (HTML5 drag events).evaluate_chrome_scriptEvaluate JavaScript in the current chrome context. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Returns the result of the expression.evaluate_scriptExecute JS function in page. Prefer UID tools for interactions.fill_by_uidFill text input/textarea by UID.fill_form_by_uidFill multiple form fields at once.get_firefox_infoGet information about the current Firefox instance configuration, including binary path, environment variables, and output file location.get_firefox_outputRetrieve 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_prefsGet Firefox preference values via Services.prefs API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.get_network_requestGet request details by ID. URL lookup as fallback.hover_by_uidHover over element by UID.install_extensionInstall a Firefox extension using WebDriver BiDi webExtension.install command. Supports installing from archive (.xpi/.zip), base64-encoded data, or unpacked directory.list_chrome_contextsList chrome (privileged) browsing contexts. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var. Use restart_firefox with env parameter to enable.list_console_messagesList console messages. Supports filtering by level, time, text, source.list_extensionsList installed Firefox extensions with UUIDs and background scripts. Uses chrome-privileged AddonManager API as workaround for missing webExtension.getExtensions BiDi command. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.list_network_requestsList network requests. Returns IDs for get_network_request.list_pagesList open tabs (index, title, URL). Selected tab is marked.navigate_historyNavigate history back/forward. UIDs become stale.navigate_pageNavigate selected tab to URL.new_pageOpen new tab at URL. Returns tab index.resolve_uid_to_selectorResolve UID to CSS selector. Fails if stale.restart_firefoxRestart Firefox with different configuration. Allows changing binary path, environment variables, and other options. All current tabs will be closed.screenshot_by_uidCapture element screenshot by UID as base64 PNG.screenshot_pageCapture page screenshot as base64 PNG.select_chrome_contextSelect a chrome browsing context by ID and set Marionette context to chrome. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.select_pageSelect active tab by index, URL, or title. Index takes precedence.set_firefox_prefsSet Firefox preferences at runtime via Services.prefs API. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1 env var.set_viewport_sizeSet viewport dimensions in pixels.take_snapshotCapture DOM snapshot with stable UIDs. Retake after navigation.uninstall_extensionUninstall a Firefox extension using WebDriver BiDi webExtension.uninstall command. Requires the extension ID returned by install_extension or obtained from list_extensions.upload_file_by_uidUpload file to file input by UID.Security checks
- ✓README presentThe repository's README runs to about 921 words.
5 checks have not been run yet.
README
The repository's README runs to about 921 words. The original in the repository is authoritative.
Read full README