firefox-devtools-mcp
Model Context Protocol server for Firefox DevTools - enables AI assistants to inspect and control Firefox browser through the Remote Debugging Protocol
Ads
Overview
Model Context Protocol server for automating Firefox via WebDriver BiDi (through Selenium WebDriver). Works with Claude Code, Claude Desktop, Cursor, Cline and other MCP clients. Repository: https://github.com/mozilla/firefox-devtools-mcp > Note: This MCP server requires a local Firefox browser installation and cannot run on cloud hosting services like glama.ai. Use npx @mozilla/firefox-devtools-mcp@latest to run locally, or use Docker with the provided Dockerfile. Browser MCP servers carry inherent risks. A few key practices:
Installation
claude mcp add firefox-devtools npx @mozilla/firefox-devtools-mcp@latest
Configuration
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": ["-y", "@mozilla/firefox-devtools-mcp@latest", "--headless", "--viewport", "1280x720"],
"env": {
"START_URL": "about:blank"
}
}Capabilities
- Browser automation
Ask your assistant to launch Firefox, navigate to URLs, and manage tabs using tools like `navigate_page`, `list_pages`, and `select_page`.
- Interactive page control
Have your assistant take a snapshot of the current page and then click, fill, or hover over elements using `take_snapshot`, `click_by_uid`, and `fill_by_uid`.
- Network and console inspection
Request details on network requests, downloads, or console messages with `list_network_requests`, `list_downloads`, and `list_console_messages`.
- Screenshots and page text
Capture full-page screenshots or extract page text with `screenshot_page` and `get_page_text`, optionally saving large output to disk via the `saveTo` parameter.
- Script execution
Run custom JavaScript in the page context using `evaluate_script`, with optional sandboxing and file-based output for bulky results.
- Firefox management
Get browser information, restart Firefox, or manage extensions through `get_firefox_info`, `restart_firefox`, and `install_extension`.
Tags
- browser-automation
- browser
- development
- debugging
Related MCP servers
Mastra Docs Server
OfficialProvides AI assistants with direct access to Mastra.ai's complete knowledge base.
Fetch MCP Server
OfficialFetch web content and convert HTML pages into LLM-friendly markdown output.
Perplexity Ask MCP Server
OfficialA connector for the Perplexity API to enable web search within the MCP ecosystem.
Perplexity
OfficialAn MCP server that connects to Perplexity's Sonar API, enabling real-time web-wide research in conversational AI.