fire-fodex
This server enables an AI agent to remotely control Firefox browser tabs via MCP (Model Context Protocol) for comprehensive browser automation.
Tab Management: List all open tabs, open new tabs, claim existing tabs for agent control, release claimed tabs without closing, and close tabs entirely.
Navigation: Navigate to URLs, go back/forward in browsing history, and reload pages.
Page Inspection: Capture compact DOM snapshots (configurable element count/text length), take PNG screenshots (with cropping and full-page options), and find visible elements by text, role, label, placeholder, CSS selector, or auto-detection.
Synchronization: Wait for specific conditions such as text appearance, selector presence, navigation completion, URL changes, page load, or element focus.
Mouse & Pointer Interaction: Click by coordinates or selector, move the mouse, scroll pages or specific elements, and drag elements from one point to another.
Keyboard & Text Input: Type text into elements (with optional clear-first), paste text, send key presses, focus elements, and select text ranges in inputs, textareas, or contenteditable elements.
Script Execution: Run arbitrary JavaScript directly on the page for custom automation, with built-in protections blocking direct cookie/storage extraction.
All operations are session-based, requiring a session tab ID obtained by listing or claiming tabs.
Allows an AI agent to control Firefox, including listing open tabs, navigating, clicking, typing, scrolling, taking screenshots, and executing page-side actions via a WebExtension and native messaging.
Click on "Install 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., "@fire-fodexlist my open Firefox tabs"
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.
fire-fodex
Firefox を、MCP agent からそのまま触るためのローカルツールです。
Chrome じゃなくて Firefox を使いたい。
でも AI agent からタブを見たり、クリックしたり、スクショを取ったりしたい。
そのために WebExtension、native messaging、MCP server をつないでいます。
OpenAI の Chrome plugin の移植ではありません。Firefox 用に別で作った橋です。
まだ v1 なので、かなりローカル開発者向けです。拡張機能は手で読み込みます。MCP server も自分で起動します。普段使いのブラウザプロファイルで動かす前に、コードは一回見てください。
できること
Firefox のタブ一覧を見る
新しいタブを開く
既存タブを agent 用に確保する
ページ移動、リロード、戻る、進む
表示中ページの軽い snapshot を取る
画面内の文字を探す
クリック、入力、貼り付け、フォーカス、テキスト選択、キー入力
マウス移動、スクロール、ドラッグ
文字や selector が出るまで待つ
通常スクショと full-page スクショ
Related MCP server: Firefox DevTools MCP
やらないこと
Firefox の cookie、保存済みパスワード、profile database、localStorage は直接読みません
ブラウザの情報を勝手に外へ送りません
cloud sync、account auth、操作録画、権限 UI はありません
AMO 向けの配布はまだしていません
firefox_eval はあります。ページ側で少しだけ処理したい時の逃げ道です。
ただし sandbox ではありません。cookie、storage、password 抜き取りっぽい文字列は止めますが、それで安全と言い切れるものではないです。信用できない agent に、普段の Firefox profile を触らせないでください。
必要なもの
Windows
Firefox Stable
Node.js 24+
npm 11+
セットアップ
cd path\to\fire-fodex
npm install
npm run build
npm run install:hostFirefox 側で拡張機能を読み込みます。
Firefox を開く
about:debugging#/runtime/this-firefoxに行くLoad Temporary Add-on...を押すextension\manifest.jsonを選ぶ
MCP server を起動します。
npm run mcpMCP client 側の設定例です。
{
"mcpServers": {
"fire-fodex": {
"command": "node",
"args": [
"path\\to\\fire-fodex\\dist\\mcp-server\\index.js"
]
}
}
}Tools
firefox_list_tabsfirefox_claim_tabfirefox_open_tabfirefox_navigatefirefox_snapshotfirefox_screenshotfirefox_findfirefox_wait_forfirefox_mouse_clickfirefox_mouse_movefirefox_scrollfirefox_dragfirefox_focusfirefox_select_textfirefox_pastefirefox_evalfirefox_clickfirefox_typefirefox_keypressfirefox_backfirefox_forwardfirefox_reloadfirefox_close_tabfirefox_release
基本は、見てから触る流れです。
firefox_snapshotやfirefox_findで画面を見るform は
firefox_focus、firefox_paste、firefox_type、firefox_keypresspointer 操作は
firefox_mouse_click、firefox_mouse_move、firefox_scroll、firefox_dragページが変わる操作の後は
firefox_wait_for見た目が大事なら
firefox_screenshot
確認
npm run typecheck
npm test
npm run lint:extension
npm run check
powershell -ExecutionPolicy Bypass -File scripts\smoke.ps1smoke.ps1 は、native host を入れて Firefox 側で拡張機能を読み込んでから動かしてください。
権限
拡張機能は <all_urls> を要求します。普通のサイトを横断して操作するためです。
強い権限です。v1 は「中身を読んで、自分のローカルで動かす」人向けとして置いています。
仕組み
AI agent / MCP client
|
| stdio MCP
v
fire-fodex MCP server
|
| localhost JSON request
v
native messaging host
|
| Firefox native messaging stdio
v
Firefox WebExtension
|
| tabs + content scripts
v
Firefox tabs拡張機能がつながっている間、native host は 127.0.0.1:17365 で待ち受けます。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skjshr/fire-fodex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server