Firefox DevTools MCP MCP Server

Firefox browser automation via DevTools Protocol.

TypeScript 130 9MIT
View on GitHub

Overview

This MCP server provides seamless Firefox browser automation capabilities through the DevTools Protocol, enabling developers to programmatically control and interact with Firefox instances. Built with TypeScript, it delivers a robust solution for integrating browser automation into AI-powered applications and development workflows. The server bridges the gap between Claude and Firefox, allowing users to automate complex browser tasks, capture screenshots, execute JavaScript, and manipulate DOM elements with precision. Its implementation of the Model Context Protocol ensures standardized communication and seamless integration with compatible AI clients.

The server supports comprehensive Firefox automation features including tab management, navigation control, form interaction, and element inspection through DevTools Protocol. Developers can capture page screenshots, extract DOM content, monitor network activity, and execute arbitrary JavaScript code within browser contexts. The TypeScript implementation provides type-safe interactions and modern async/await patterns for handling browser operations. It enables cookie management, session handling, and viewport configuration, giving users granular control over browser behavior and state during automation tasks.

The server is compatible with Claude and other MCP-compliant clients, making it ideal for developers seeking intelligent browser automation. Typical use cases include automated testing workflows, web scraping with JavaScript rendering, interactive web debugging, screenshot capture automation, and AI-assisted web exploration. Development teams can leverage this tool for quality assurance, documentation generation, and building sophisticated browser automation pipelines. The community-driven approach ensures ongoing improvements and contributions from the developer ecosystem.

Installation

npx -y @modelcontextprotocol/server-firefox-devtools-mcp

Compatible Clients

Claude DesktopCursor

Related

FAQ

How do I install the Firefox DevTools MCP MCP server?
Install via npx or pip depending on the language. Then add the server configuration to your MCP client settings file.
Which AI clients support the Firefox DevTools MCP MCP server?
The Firefox DevTools MCP MCP server is compatible with Claude Desktop, Cursor. Any MCP-compatible client should work.