firefox-devtools-mcp
by mozilla·★ 162·Score 50
Mozilla's MCP server for automating Firefox DevTools via WebDriver BiDi, enabling AI assistants to control and inspect browser functionality.
Overview
This MCP server provides comprehensive tools for AI assistants to interact with Firefox browser through WebDriver BiDi protocol. It enables page navigation, element interaction, network monitoring, console logging, screenshot capture, and Firefox management capabilities. The server offers both headless and standard modes, with options to connect to existing Firefox instances. Mozilla provides detailed documentation with security considerations, especially regarding the use of dedicated browser profiles to prevent unintended access to personal data.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose this when you need AI-powered browser automation specifically for Firefox, especially when working with web scraping, testing, or interaction with websites.
When NOT to choose this
Don't choose this if you need browser automation for browsers other than Firefox, or if you cannot install Firefox locally on your system.
Tools this server exposes
12 tools extracted from the READMElist_pagesList all open pages in Firefox
select_pageSelect a specific page to interact with
navigate_pageNavigate a page to a specific URL
take_snapshotTake a snapshot of the current page state
click_by_uidClick on an element by its unique identifier
fill_by_uidFill text into an input element by its unique identifier
list_network_requestsList all network requests made by the page
get_network_requestGet details of a specific network request by ID
screenshot_pageTake a screenshot of the entire page
list_console_messagesList console messages from the page
evaluate_scriptExecute JavaScript in the page context
get_firefox_infoGet information about the Firefox browser instance
Comparable tools
Installation
Installation with Claude Code
claude mcp add firefox-devtools npx firefox-devtools-mcp@latestOr add to Claude Code settings:
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": ["-y", "firefox-devtools-mcp@latest", "--headless", "--viewport", "1280x720"],
"env": {
"START_URL": "about:home"
}
}
}
}Prerequisites
- Node.js ≥ 20.19.0
- Firefox 100+ installed
Compare firefox-devtools-mcp with
Last updated · Auto-generated from public README + GitHub signals.