Back to Home
freema icon

firefox-devtools-mcp

Verified Safe

by freema

Overview

Automate Firefox browser interactions and inspect DevTools features for AI agents via Model Context Protocol (MCP).

Installation

Run Command
npx firefox-devtools-mcp@latest --headless --viewport 1280x720

Environment Variables

  • NODE_ENV
  • FIREFOX_HEADLESS
  • START_URL
  • FIREFOX_PATH
  • ACCEPT_INSECURE_CERTS
  • DEBUG

Security Notes

The `evaluate_script` tool (currently disabled but fully implemented) allows executing arbitrary JavaScript code within the browser context. While this is a core 'DevTools' feature, it presents a significant security risk if the server itself is compromised or if a malicious agent is allowed to use this tool without proper vetting of the script input. Other operations like navigating to URLs or uploading files also carry inherent risks but are generally expected in a browser automation tool. The project implements internal token limits and truncation to mitigate large outputs, which can indirectly prevent some forms of resource exhaustion attacks via oversized responses.

Similar Servers

Stats

Interest Score45
Security Score4
Cost ClassMedium
Avg Tokens500
Stars16
Forks2
Last Update2025-12-02

Tags

mcpfirefoxbrowser-automationwebdriver-bididevtools