Firefox Debug

🌐Community
by zenobi-us · vlatest · Repository

Inspect Firefox browser state, network requests, and console logs to diagnose website issues and test functionality.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add firefox-debug npx -- -y @trustedskills/firefox-debug
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "firefox-debug": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/firefox-debug"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill integrates Firefox Remote Debugging Protocol (RDP) into an AI agent's workflow using mcporter. It allows the agent to remotely control a Firefox browser instance, enabling inspection of its state, network requests, and console logs for website debugging and testing purposes. The agent can interact with the browser through WebSocket connections on port 6000.

When to use it

  • Debugging Website Issues: Diagnose errors by inspecting console logs and DOM elements.
  • Automated Testing: Automate interactions like form filling and submissions for validation.
  • Inspecting Browser State: Examine localStorage, cookies, and sessionStorage for specific data.
  • Visual Validation: Take screenshots of web pages to verify visual appearance.

Key capabilities

  • Inspector: DOM manipulation and inspection.
  • Debugger: JavaScript breakpoints and stepping.
  • Console: Script execution and log viewing.
  • Network: Request monitoring and interception.
  • Performance: Runtime performance profiling.
  • Storage: Access to cookies, localStorage, and sessionStorage.

Example prompts

  • "Navigate to http://localhost:3000 and take a screenshot."
  • "Open DevTools console and read the error messages."
  • "Fill the form with test data and submit it."

Tips & gotchas

  • Prerequisites: Ensure Firefox is running and listening on port 6000. Use mise x node@20 -- mcporter call 'firefox-devtools.getVersion' to verify this connection. If this command fails, the agent cannot connect to Firefox.
  • The skill relies on the Firefox Remote Debugging Protocol over WebSocket connections.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
zenobi-us
Installs
38

🌐 Community

Passed automated security scans.