agent-browse
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-browse
Stateful browser automation plugin for Claude Code. Control a browser across multiple tool calls with full console/network observability.
Features
Stateful sessions - Browser persists across tool calls. Navigate, then click, then check console - all in the same session.
Console capture - Get console.log, warnings, and errors (last 500 messages)
Network tracking - See all network requests with status codes (last 500 requests)
Error capture - Catch JavaScript errors with stack traces (last 200 errors)
Accessibility snapshots - Get page structure as text for AI reasoning
Screenshots - Capture full page or viewport
Browser subagent - Claude auto-delegates browser tasks to a specialized agent
Related MCP server: mcp-playwright-automation
Installation
Prerequisites
Node.js 20+
Chrome/Chromium (Playwright will use system Chrome or download one)
Build
git clone https://github.com/tollebrandon/agent-browse.git
cd agent-browse
npm install
npm run buildAdd to Claude Code
Option 1: As a Plugin (recommended)
claude plugin install /path/to/agent-browseThis installs both the MCP server and the browser subagent.
Option 2: MCP Server Only
claude mcp add --transport stdio agent-browse -- node /path/to/agent-browse/dist/index.jsOption 3: Project config (.mcp.json)
Create .mcp.json in your project root:
{
"mcpServers": {
"agent-browse": {
"type": "stdio",
"command": "node",
"args": ["/path/to/agent-browse/dist/index.js"]
}
}
}Verify Installation
In Claude Code:
/mcpYou should see agent-browse listed with its tools.
Tools
Tool | Description |
| Start browser session (headless by default) |
| Stop browser and clear buffers |
| Get session status, URL, buffer counts |
| Go to URL |
| Click element by selector |
| Fill input field |
| Select dropdown option |
| Type text via keyboard |
| Press key (Enter, Tab, etc.) |
| Hover over element |
| Capture page as PNG |
| Get accessibility tree |
| Get console messages |
| Get network requests |
| Get page errors |
| Run JavaScript |
| Wait for selector |
| Wait for network idle |
Example Usage
You: Start a browser and go to example.com
Claude: [browser_start] [browser_navigate url="https://example.com"]
Page loaded: "Example Domain"
You: Click the "More information" link
Claude: [browser_click selector="a"]
Clicked the link, navigated to IANA page.
You: Any console errors?
Claude: [browser_console level="error"]
No errors found.
You: Take a screenshot
Claude: [browser_screenshot]
[Image of current page]
You: What network requests were made?
Claude: [browser_requests]
Found 3 requests:
- GET https://example.com (200)
- GET https://www.iana.org/... (200)
- GET https://www.iana.org/favicon.ico (200)Headless vs Headed
By default, the browser runs headless (no visible window). To see the browser:
browser_start with headless=falseLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides browser automation capabilities using Playwright's accessibility tree, enabling LLMs to interact with web pages through structured data without screenshots or vision models. It's designed for specialized agentic loops that benefit from persistent state and iterative reasoning over page structure.Apache 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
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to browse and interact with web pages through a persistent headless Chromium session, returning compact structured page summaries, targeted element queries, and full detail only on request. This keeps token usage far below full accessibility-tree snapshots while still supporting navigation, forms, screenshots, and session control.4 npm-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to browse and interact with web pages through a persistent headless Chromium session, returning compact structured page orientations and letting agents query specific elements, forms, and content only when needed. This keeps token usage far below full accessibility-tree snapshots while still supporting navigation, clicking, typing, screenshots, tabs, and network/console monitoring.4 npmMIT