firefox-devtools-mcp

general MCP Server

Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through the Remote Debugging Protocol

Install Ready
generalgeneral
3 views132 stars30 forksv0.9.2MIT

Why This Matters

Discovered via unknown and last synced 4mo ago.

Install Ready
Source
unknown
Stars
132
Last synced
4mo ago
Install
Instructions detected

Install

1. Install the package

npx @mozilla/firefox-devtools-mcp

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "firefox-devtools-mcp": {
      "command": "npx",
      "args": [
        "@mozilla/firefox-devtools-mcp"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

0
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Who Is This For?

Web developers and QA engineers who need to automate browser testing and debugging workflows benefit most from this MCP server. AI assistants and automation tools can leverage Firefox DevTools capabilities programmatically, enabling faster issue diagnosis and test execution without manual browser interaction.

Use Cases

Automate debugging with AI assistance

Let Claude inspect browser state, network activity, and console logs in real-time to diagnose issues. Claude can suggest fixes based on actual DevTools data rather than descriptions.

Generate test cases from live inspection

Capture current page state through DevTools to automatically generate test assertions and edge cases. Claude analyzes actual DOM structure and behavior to create more accurate test scenarios.

Monitor performance regressions

Connect Claude to DevTools performance profiling to detect slowdowns and bottlenecks. Get AI-powered analysis of flame graphs and timing data without manual review.

Interactive debugging workflows

Claude accesses DevTools to investigate failures, modify breakpoints, and execute commands in context. Enables conversational debugging where AI understands the actual application state.

Frequently Asked Questions

What DevTools capabilities does this MCP expose?

This server interfaces with Firefox's Remote Debugging Protocol, which provides access to DOM inspection, JavaScript execution, console operations, and network monitoring. The exact tools available depend on the implementation—check the server documentation for the current feature set.

Do I need Firefox running locally?

Yes, this MCP requires a Firefox instance with remote debugging enabled. Firefox must be accessible via the Remote Debugging Protocol, typically on localhost or a network address you control.

Can Claude modify page content or submit forms?

The Remote Debugging Protocol supports JavaScript execution, so Claude can theoretically interact with the page. However, practical capabilities depend on the server's implementation and any security restrictions in place.

How does this differ from browser automation tools like Selenium?

Unlike Selenium, this MCP is designed for AI-assisted inspection and real-time debugging rather than end-to-end test automation. It's better suited for interactive diagnosis where Claude needs access to DevTools data, not for scripting complex user workflows.