firefox-mcp
Enables AI applications to drive the user's own Firefox browser, including signed-in sites and profile, through tabs. It supports navigation, page interaction, form filling, snapshots, screenshots, tab management, console and network inspection, and waiting for page conditions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@firefox-mcp open my Gmail and summarize the unread emails from today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP for Firefox
Lets AI agents use your own Firefox: the sites you're signed in to, in tabs of their own.

Set it up
You need Node.js 20 or later and Firefox 140 or later.
1. Get the server
git clone https://github.com/dh1011/firefox-mcp
cd firefox-mcp
npm install
npm run build2. Add the extension to Firefox
Install MCP for Firefox from addons.mozilla.org. To run your own build instead, see other ways to load the extension.
3. Add it to your AI app
In your AI app's MCP settings, add:
{
"mcpServers": {
"firefox": {
"command": "node",
"args": ["/path/to/firefox-mcp/dist/server/index.js"]
}
}
}4. Approve it
The first time an agent uses the browser, the MCP for Firefox button in the toolbar shows !. Click it, check that the code matches the one your AI app shows, and click Allow. You only do this once.
Related MCP server: Cloudflare Playwright MCP
Use it
Ask your agent for something in plain words:
"How tall is Mount Everest? Look it up on Wikipedia."
"Open my GitHub notifications and tell me what's new."
"Find a table for two at an Italian place near me on Saturday."
Agents work in tabs of their own, grouped under the AI app's name, and leave your other tabs alone.
Stay in control
Click the toolbar button and press Stop to halt agents at any time.
Agents can do what you can on the sites you're signed in to, including uploading files from your computer. A page can try to trick an agent, so keep an eye on what it does on sites that matter.
It never opens Firefox's own pages, other extensions, or Mozilla's add-on and account sites.
More detail: how it works, and what it does and doesn't protect against.
License
Apache-2.0, with third-party attributions in NOTICE. Not affiliated with or endorsed by Mozilla.
Available Tools
1 toolbrowserADestructive
Controls the user's Firefox. Runs one command per line, stopping at the first error. Actions print one ✓ line, reads print their output. Do many steps per call. goto | back | forward | reload click fill "" [--submit] type "" press select "" check | uncheck wait | wait --text "" | wait tab list | tab new [] | tab select | tab close snapshot [] [-i] [--depth N] find "" get text|value|count|url|title [] screenshot [] eval "" # runs in the page More (help ): scroll, hover, drag, upload, dialog, console, requests, request Targets: e12 (a snapshot ref), getByRole('button', { name: 'Go' }), getByLabel/getByText/getByPlaceholder('…'), or CSS. Quote text with spaces: "like this".
Inputs: commands (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of selecting the wrong tool. The internal command grammar is documented with clear, non-overlapping verbs (goto, click, fill, get, snapshot, etc.).
The single tool is a noun ('browser'), not the typical verb_noun pattern, but as a unified dispatcher that is a reasonable and readable choice. Its subcommands are consistently lowercase verb-based (goto, click, fill, select, wait, eval), with only minor mixes like 'tab list' versus bare verbs.
One consolidated command-dispatch tool is a defensible design for browser automation: it avoids an explosion of 30+ granular tools and encourages multi-step scripting. It is somewhat heavy per call, but the surface is well-organized rather than thin, so it is not a trivial single tool.
Covers navigation, clicking, form fill/select/check, typing, keypress, waits, tabs, snapshots, text queries, screenshots, JS eval, and more (scroll, hover, drag, upload, dialog, console, requests) via help. Minor gaps exist around storage/cookies, downloads, and explicit navigation-assertion helpers, but core automation workflows are covered.
Maintenance
Related MCP Connectors
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Let your AI agent operate any website through a real, logged-in browser session.
Let AI agents observe and control Chrome tabs you explicitly share via Browse Bridge.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.Apache 2.0