MCP Catalogs
Home

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.

browser-automationdeveloper-toolsweb-scraping
34
Forks
2
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Automated web testing with AI assistants that can navigate pages and interact with elements
you:Web scraping and data extraction by AI systems that can control browser behavior
you:Visual regression testing through automated screenshot comparison

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 README
  • list_pages

    List all open pages in Firefox

  • select_page

    Select a specific page to interact with

  • navigate_page

    Navigate a page to a specific URL

  • take_snapshot

    Take a snapshot of the current page state

  • click_by_uid

    Click on an element by its unique identifier

  • fill_by_uid

    Fill text into an input element by its unique identifier

  • list_network_requests

    List all network requests made by the page

  • get_network_request

    Get details of a specific network request by ID

  • screenshot_page

    Take a screenshot of the entire page

  • list_console_messages

    List console messages from the page

  • evaluate_script

    Execute JavaScript in the page context

  • get_firefox_info

    Get information about the Firefox browser instance

Comparable tools

playwright-mcpbrowserless-mcppuppeteer-mcpselenium-mcp

Installation

Installation with Claude Code

claude mcp add firefox-devtools npx firefox-devtools-mcp@latest

Or 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.