
freema/firefox-devtools-mcp
Firefox automation via WebDriver BiDi: snapshot-based interactions
by freemaOpen source
Description
Firefox DevTools MCP is a Model Context Protocol server that lets AI agents use Firefox. It has two main uses. In agentic browsing, the agent reads pages, fills in forms and works through multi-step flows on websites. In web development, the agent loads the page you are working on and inspects it with the console, network requests, debugger and profiler. It controls Firefox through WebDriver BiDi, via Selenium WebDriver, and the README says it works with Claude Code, Claude Desktop, Cursor, Cline and other MCP clients. It needs Node.js 20.19.0 or later and a local Firefox 100 or later, which the server detects automatically. You can run it with npx or with the Dockerfile in the repository. The README says it cannot run on cloud hosting services. Its security section recommends a dedicated Firefox profile, cautious choice of sites because pages can carry prompt injection, and enabling only the tool presets you need.…
Highlights
- Agent browsing: read pages, fill forms, multi-step flows
- Console, network, debugger and profiler inspection
- WebDriver BiDi control of Firefox
- Tool presets from slim to developer
- Runs through npx or Docker
Ratings & Reviews
No ratings yet
Be the first to rate freema/firefox-devtools-mcp.
People also visit

playwright-cli
Browser automation with 40+ commands for navigation, interaction, form filling
freema/firefox-devtools-mcp FAQ
What can an AI agent do with it?
Use Firefox for everyday tasks such as reading pages and filling forms, and inspect pages with developer tools such as the console, network requests, debugger and profiler.
What do I need to run it?
Node.js 20.19.0 or later and Firefox 100 or later installed locally. The README says it cannot run on cloud hosting services.
How do I start it?
Run npx @mozilla/firefox-devtools-mcp@latest on your machine, or use Docker with the Dockerfile in the repository.
Is it safe to use?
The README advises a dedicated Firefox profile, since the agent can reach cookies and saved sessions, and careful choice of sites, because pages can carry prompt injection.
Can I limit what the agent does?
Yes. The slim preset drops evaluate_script. The default basic preset includes it, and the developer and mozilla presets add more capabilities.
What are the best freema/firefox-devtools-mcp alternatives?
Popular alternatives to freema/firefox-devtools-mcp include eyalzh/browser-control-mcp, sh6drack/zen-mcp and ndthanhdev/mcp-browser-kit. See all freema/firefox-devtools-mcp alternatives




















