Lets agents inspect and control Firefox via WebDriver BiDi, with page interaction, network monitoring, console capture and screenshots.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add firefox-devtools -- npx -y @mozilla/firefox-devtools-mcp~/.codex/config.toml
[mcp_servers.firefox-devtools]
command = "npx"
args = ["-y", "@mozilla/firefox-devtools-mcp"]
# codex mcp add firefox-devtools -- npx -y @mozilla/firefox-devtools-mcp~/.cursor/mcp.json
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"firefox-devtools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"firefox-devtools": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
]
}
}
}