Fast Browser
БесплатноНе проверенAdds persistent QA state to browser automation, enabling AI agents to maintain session-scoped artifacts and generate reports across multiple steps.
Описание
Adds persistent QA state to browser automation, enabling AI agents to maintain session-scoped artifacts and generate reports across multiple steps.
README
fast-browser-mcp is a lightweight MCP server that adds persistent QA state on top of agent-browser.
It does not rebuild browser automation. Instead, it shells out to agent-browser commands and stores compact session state on disk so AI agents can reason over changes across multiple steps.
Features
- session-scoped storage (
sessionId) instead of environment-scoped state - persistent snapshots, diffs, errors, timeline, and QA report
- simple line-based diff optimized for AI readability
- file-based architecture only (no database, no workers, no polling)
- MCP-first tool interface for Cursor and other MCP clients
Why this project exists
AI-driven QA workflows lose context quickly between actions. This server keeps state per browser session so agents can:
- compare state before/after each action
- inspect recent console/network failures
- generate concise QA reports from deterministic stored artifacts
Requirements
- Node.js
>=24(required byagent-browser) - npm
agent-browser does not need to be installed globally. This package will use a local/global agent-browser if available, and falls back to npx agent-browser@latest when needed.
Installation
Option A: Run from npm (after publish)
npx fast-browser-mcp
Option B: Install globally from GitHub (no npm registry publish required)
Direct npm i -g github:... can leave a broken symlink in global node_modules on some npm setups. Use the pack-then-install flow instead:
bash <(curl -fsSL https://raw.githubusercontent.com/donleqt/fast-browser-mcp/main/scripts/install-global.sh)
Or manually:
tmpdir=$(mktemp -d) && \
tarball=$(npm pack github:donleqt/fast-browser-mcp --pack-destination "$tmpdir" --silent) && \
npm i -g "$tmpdir/$tarball" && \
rm -rf "$tmpdir"
Then run:
fast-browser-mcp
Option C: Build from source
git clone https://github.com/donleqt/fast-browser-mcp.git
cd fast-browser-mcp
npm install
npm run build
node dist/index.js
Cursor MCP configuration
Add a stdio MCP server entry:
{
"mcpServers": {
"fast-browser-mcp": {
"command": "npx",
"args": ["fast-browser-mcp"]
}
}
}
If installed globally:
{
"mcpServers": {
"fast-browser-mcp": {
"command": "fast-browser-mcp",
"args": []
}
}
}
Session model
- every browser flow is keyed by
sessionId - default
sessionIdis slug-safe and derived from URL - duplicate derived session IDs are reused by default
- custom
sessionIdis supported
Examples:
http://localhost:3000->localhost-3000https://app.example.com/dashboard->app-example-com-dashboard
Storage layout
All artifacts are written under:
.fast-browser/
sessions/
{sessionId}/
latest.md
previous.md
diff.md
errors.md
timeline.jsonl
meta.json
screenshot.png
report.md
MCP tools
fast_browser_open({ url, sessionId? })fast_browser_snapshot({ sessionId })fast_browser_diff({ sessionId })fast_browser_errors({ sessionId })fast_browser_act({ sessionId, action, ref?, value? })fast_browser_state({ sessionId })fast_browser_report({ sessionId })fast_browser_sessions({})
Quick example workflow
fast_browser_open({ url: "http://localhost:3000" })
fast_browser_state({ sessionId: "localhost-3000" })
fast_browser_act({ sessionId: "localhost-3000", action: "click", ref: "@e1" })
fast_browser_report({ sessionId: "localhost-3000" })
Architecture
src/agentBrowser.ts: centralized CLI mapping and execution wrappersrc/storage.ts: file-based session persistencesrc/tools.ts: MCP tool handlers and orchestrationsrc/diff.ts: readable line-based diffsrc/report.ts: report generation
Scope and non-goals (MVP)
This project intentionally does not include:
- environment concepts (
local/staging/prod) - database or cloud sync
- authentication or multi-user orchestration
- web UI, React/Redux hooks, polling loops, background workers
Troubleshooting
ENOTDIRorgit dep preparation failedduring global GitHub install- remove any broken global install:
rm -f "$(npm root -g)/fast-browser-mcp" - reinstall using Option B above (pack-then-install), not
npm i -g github:...directly
- remove any broken global install:
agent-browser CLI not found...- ensure
npxcan run in your environment - optionally install
agent-browserglobally for faster startup (npm i -g agent-browser) - verify Node.js version is
>=24
- ensure
- session not found errors
- run
fast_browser_openfirst to create/reuse a session
- run
Установка Fast Browser
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/donleqt/fast-browser-mcpFAQ
Fast Browser MCP бесплатный?
Да, Fast Browser MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Fast Browser?
Нет, Fast Browser работает без API-ключей и переменных окружения.
Fast Browser — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Fast Browser в Claude Desktop, Claude Code или Cursor?
Открой Fast Browser на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Fast Browser with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
