Open Browser Agent
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., "@Open Browser Agent Open example.com, take a screenshot, and list the links on the page."
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.
Open Browser Agent
An independent, self-hostable browser automation service built on Playwright and the Model Context Protocol (MCP). It provides a local persistent Chromium session and composable tools to navigate, inspect and interact with web pages.
This is an original implementation. It is not affiliated with TinyFish and does not copy TinyFish's proprietary hosted service.
Current status
Early MVP — local browser control. The first version exposes browser lifecycle, navigation, page snapshots, CSS-selector interaction, waits, link extraction and screenshots. It does not yet provide a hosted browser fleet, search API, CAPTCHA solving, stealth/evasion or a self-directed LLM planner. The connected assistant supplies the reasoning loop by calling MCP tools.
Related MCP server: sa2web-mcp
Requirements
Node.js 20+
npm
Chromium installed by Playwright
An MCP-compatible client
Install
git clone https://github.com/sakurachris0-max/open-browser-agent.git
cd open-browser-agent
npm install
npx playwright install chromium
npm run buildRun
npm startThe server communicates over MCP stdio. Add it to your MCP client with the absolute path to the built entry point:
{
"mcpServers": {
"open-browser-agent": {
"command": "node",
"args": ["/absolute/path/to/open-browser-agent/dist/server.js"]
}
}
}For detailed Claude Desktop and Claude Code instructions, see docs/claude-client-setup.md.
For the free Windows setup using Goose Desktop, Ollama and a local NVIDIA GPU, see docs/goose-ollama-windows-setup.md.
For development, run npm run dev.
Available MCP tools
Tool | Purpose |
| Start or reconnect to the persistent browser profile |
| Navigate to an HTTP(S) URL |
| Read title, URL and visible page text |
| Read the accessibility tree for semantic page understanding |
| Click the first CSS selector match |
| Fill a form control |
| Wait for a selector to become visible |
| Extract links from the current page |
| Return a viewport screenshot |
| Execute up to 25 ordered actions with a per-step result trace |
| Inspect session status |
| Close browser while retaining its profile |
Configuration
OBA_PROFILE_DIR: persistent browser profile directory. Defaults to~/.open-browser-agent/profile.OBA_HEADLESS: set tofalseto show the browser window where a display is available. Defaults to headless.
Only HTTP and HTTPS navigation is accepted. URLs with embedded credentials are rejected. Browser profiles contain login cookies and other sensitive session data; keep the profile directory private and never commit it.
Development
Run npm run check for TypeScript compilation and unit tests. GitHub Actions runs the same checks on pushes and pull requests.
REA (optional)
REA is a separate reverse-engineering tool and is not required by this browser agent. See docs/rea-setup.md for its official installation route. A skill or repository file does not activate REA inside ChatGPT.
Roadmap
Multi-tab and named-session support.
Search and structured extraction adapters.
Approval gates for sensitive actions and an append-only audit log.
Cancellation and richer per-step progress events.
Expanded browser and MCP integration tests.
License
MIT
Available Tools
12 toolsbrowser_accessibility_snapshotC
Return Playwright's accessibility snapshot for the current page.
Inputs: maxChars.
browser_clickC
Click the first element matching a CSS selector.
Inputs: selector (required).
browser_closeA
Close the browser context while retaining its persistent profile.
Inputs: no named parameters.
browser_fillC
Fill an input, textarea or contenteditable element selected by CSS.
Inputs: value (required), selector (required).
browser_linksC
Extract links from the current page.
Inputs: limit.
browser_openA
Start or reconnect to the persistent local Chromium browser session.
Inputs: no named parameters.
browser_run_stepsB
Execute a bounded sequence of browser actions in order; stops on the first failed step and returns a trace.
Inputs: steps (required).
browser_screenshotB
Capture the current browser viewport as a PNG image.
Inputs: no named parameters.
browser_snapshotC
Read the current page title, URL and visible body text.
Inputs: maxChars.
browser_statusB
Return browser session status without exposing cookies or credentials.
Inputs: no named parameters.
browser_waitC
Wait for a CSS selector to become visible.
Inputs: selector (required), timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool maps to a distinct browser action, and the descriptions clearly separate overlapping pairs like browser_snapshot (visible text) versus browser_accessibility_snapshot (Playwright a11y tree), and browser_status versus browser_snapshot. The only mild ambiguity is deciding when to use browser_run_steps versus chaining individual actions, but the 'bounded sequence with trace' framing mostly resolves it.
Every tool uses the same browser_ prefix followed by a lowercase snake_case action or noun, giving a fully predictable pattern. No mixing of conventions or verb styles.
Twelve tools is well within the sweet spot and each one covers a distinct, necessary capability of a browser-automation server. There is little redundancy; open/close/status lifecycle tools and action tools all earn their place.
The surface covers session lifecycle, navigation, reading, clicking, filling, waiting, links, screenshots, and batched steps, which handles most workflows. However, common operations like keyboard press/submit, selecting dropdown options, scrolling, hover, history back/forward, and tab management are absent, forcing agents into dead ends or workarounds.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
A real browser for your agent: screenshots, page checks, Markdown and PDFs.
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables MCP clients to automate a real Chrome browser via Playwright, supporting session sharing and tools for navigation, clicking, typing, and more.112MIT
- AlicenseCqualityDmaintenanceExposes a remote browser as MCP tools via Playwright, enabling AI agents to navigate and interact with web pages through DOM snapshots, clicks, typing, and form operations.4022 npm14Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI assistants to control a real Chromium browser through Playwright, allowing them to navigate pages, click elements, fill forms, extract text or HTML, and capture screenshots in a persistent session.6ISC
- AlicenseAqualityBmaintenanceEnables AI agents to drive a real Playwright browser over MCP to navigate pages, read accessibility-tree snapshots, click, type, screenshot, and evaluate JavaScript, either in a managed browser or attached to a running Chromium-based browser via CDP.201MIT