LibreWolf Agent Bridge

LibreWolf Agent Bridge

Local-first browser automation for LibreWolf, enabling controlled profile browsing with status, navigation, screenshots, console/network inspection, and more through MCP.

Category
访问服务器

README

LibreWolf Agent Bridge

Local-first Model Context Protocol (MCP) browser automation for LibreWolf. It wraps the pinned Mozilla @mozilla/firefox-devtools-mcp process; it is not a LibreWolf or Firefox fork and is not affiliated with Mozilla, LibreWolf, OpenAI, or Anthropic.

Current status

The controlled-profile design is the supported path. It launches a dedicated, app-owned LibreWolf profile and exposes a deliberately small browser_* MCP surface. Browser data stays on the local machine except for normal browser traffic to sites you choose.

The repository contains a locally verified source distribution and reproducible release assembly. Build the declared MCP CLI before configuring a client; the preflight in the setup below confirms that the server and its Windows process supervisor were produced.

The optional companion package can connect an explicitly approved existing LibreWolf session on Windows. It must be installed from a complete native-host payload: its secure helper enforces same-user named-pipe checks, and browser_status reports the final capability state. Linux, macOS, and Flatpak LibreWolf should use controlled mode because this hardened companion transport is Windows-only.

No artifact is deployed by this project.

Fastest path: Claude Desktop one-click

npm ci
npm run package:all

Open the resulting artifacts/librewolf-agent-bridge-<version>.mcpb with Claude Desktop, then call browser_status. No config file to edit and no dependency install: the bundle carries the server, the pinned Mozilla upstream, GeckoDriver, and the Windows secure helper. Use the manual setup below for Codex, Claude Code, ChatGPT Desktop, or when you want the checkout itself to be the server.

Five-minute controlled setup (Windows)

  1. Install LibreWolf and Node 20.19.0 or newer. The compatibility check was run with LibreWolf 146.0-2; Node 20.18.2 is known to be too old for the pinned Mozilla dependency.

  2. In an elevated-free PowerShell window, clone the repository and install its locked dependencies:

    git clone <your-fork-or-checkout-url> librewolf-agent-bridge
    Set-Location librewolf-agent-bridge
    node --version
    npm ci
    npm run build
    Test-Path .\apps\mcp-server\dist\cli.js
    Test-Path .\apps\mcp-server\dist\native\secure-pipe-helper.exe
    

    Both checks must print True. If either does not, stop and inspect the build output before configuring a client.

  3. Configure one of the clients below, replacing the absolute path. Each example launches a local process over stdio and creates a separate controlled profile; it does not attach to your everyday browser profile.

    For Codex, add this to %USERPROFILE%\.codex\config.toml:

    [mcp_servers.librewolf-agent-bridge]
    command = "node"
    args = ['C:/absolute/path/to/librewolf-agent-bridge/apps/mcp-server/dist/cli.js']
    startup_timeout_sec = 90
    

    For Claude Desktop, add this server to its MCP configuration:

    {
      "mcpServers": {
        "librewolf-agent-bridge": {
          "command": "node",
          "args": ["C:\\absolute\\path\\to\\librewolf-agent-bridge\\apps\\mcp-server\\dist\\cli.js"]
        }
      }
    }
    
  4. Restart or reconnect your MCP client, then call browser_status. Confirm the reported mode is controlled and inspect its capabilities before browsing.

See Windows installation, security, and troubleshooting before using credentials or downloads. ACCEPTANCE.md records what has been verified, how to re-run it, and what remains open.

What the server can do

The public surface contains status and tab control, navigation, compact snapshots and text lookup, UID-based input, screenshots, console and network inspection, downloads, and bounded batches. Its exact names and input contracts are documented in the protocol reference. State-changing actions, uploads, downloads, tab closing, and batches deserve explicit user confirmation in the MCP client.

Controlled mode supports delta snapshots. Companion actions briefly highlight their target in the page; controlled-mode highlighting is limited to native hover state and is reported as degraded. Screen recording is explicitly unavailable on the tested LibreWolf 146.0-2 because the pinned upstream screencast requires Firefox 154 or newer. The extension popup and options page show connection and permission state; an optional persistent sidebar is not shipped.

Distribution inputs

  • packaging/codex-plugin/ — Codex plugin template.
  • packaging/claude-mcpb/ — Claude Desktop MCPB source using manifest 0.3. npm run package:all turns it into a self-contained installable .mcpb carrying the server, the pinned Mozilla upstream, GeckoDriver, and the secure helper.
  • packaging/windows/ — native host and secure-helper installation/removal scripts (dry-run by default).
  • packaging/linux/ and packaging/macos/ — per-user native-messaging registration templates; they do not add Windows-only secure companion transport.
  • scripts/package-artifacts.mjs — deterministic local artifact collector. It makes no installation, registry, network, or deployment changes.

Run npm run package:all only from a build-ready checkout. It emits an artifact manifest and SHA-256 checksums under artifacts/, or exits with a specific missing-prerequisite error. The complete release matrix is assembled on Windows because the npm, Codex, MCPB, and Windows archives include the compiled Windows Job Object/secure-pipe helper. Linux and macOS users can build and run controlled mode locally, but their source hosts do not produce that complete release matrix.

Development

Read architecture, performance profiling, contributing, and compatibility evidence. Source code is Apache-2.0; see third-party notices.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选