agent-browser
Agent Browser MCP Server
一个封装了 agent-browser 的 MCP(Model Context Protocol)服务器,为 AI 助手提供浏览器自动化工具。支持 stdio 和 HTTP/SSE 两种传输方式。
功能特性
40 多个浏览器自动化工具,包括:
类别 | 工具 |
导航 |
|
交互 |
|
检查 |
|
执行 |
|
状态 |
|
开发者工具 |
|
高级 |
|
系统 |
|
Related MCP server: selenium-mcp
安装
npm install
npm run build使用
Stdio 模式(适用于本地 MCP 客户端)
npm run devHTTP/SSE 模式(适用于远程访问)
node server.js服务器默认监听 5888 端口。
环境变量
变量 | 默认值 | 描述 |
|
| 服务器端口 |
|
| 保存截图的目录 |
|
| 截图的公共 URL 路径 |
|
| 编译后 MCP 服务器的路径 |
|
| 使用 Let's Encrypt 证书启用 HTTPS |
|
| SSL 证书路径 |
Docker
docker build -t agentbrowser-mcp .
docker run -p 5888:5888 agentbrowser-mcp部署
Render
包含 render.yaml 蓝图。可直接从仓库部署。
PM2
pm2 start ecosystem.config.cjsAPI 端点
方法 | 路径 | 描述 |
GET |
| 健康检查 |
GET |
| SSE 连接(创建新会话) |
POST |
| JSON-RPC 请求 |
GET |
| 服务信息 |
客户端配置
Claude Desktop
{
"mcpServers": {
"agent-browser": {
"command": "node",
"args": ["dist/index.js"]
}
}
}远程 HTTP 客户端
{
"mcpServers": {
"agent-browser": {
"url": "https://your-domain.com/mcp"
}
}
}许可证
MIT
Available Tools
39 toolsbrowser_a11yD
Accessibility audit
Inputs: url, json, tags, session, +1 more.
browser_batchC
Execute multiple commands
Inputs: commands (required), bail.
browser_chatD
Natural language browser control
Inputs: instruction (required), session.
browser_clickC
Click element by selector or @ref
Inputs: selector (required), session.
browser_closeC
Close browser
Inputs: all, session.
browser_consoleC
View/clear console logs and errors
Inputs: action (required), json, session.
browser_cookieD
Manage cookies
Inputs: action (required), name, value, session.
browser_dialogD
Handle dialogs
Inputs: action (required), text, session.
browser_diffC
Diff snapshots/screenshots
Inputs: type (required), json, target, session, +2 more.
browser_doctorD
Diagnose install
Inputs: fix, offline.
browser_evalD
Execute JavaScript
Inputs: script (required), session.
browser_fillC
Clear and fill input
Inputs: text (required), selector (required), session.
browser_findC
Find elements semantically
Inputs: type (required), value (required), action (required), name, +1 more.
browser_frameD
Switch frame
Inputs: session, selector.
browser_getC
Get text/html/value/url/title
Inputs: property (required), session, selector.
browser_hoverD
Hover element
Inputs: selector (required), session.
browser_installC
Install Chrome
Inputs: deps.
browser_networkD
Network requests/routes
Inputs: action (required), url, body, type, +7 more.
browser_openC
Open URL in browser
Inputs: url (required), session.
browser_pressC
Press key (Enter, Tab, etc)
Inputs: key (required), session.
browser_profileD
Chrome profiles
Inputs: action (required), name.
browser_reactD
React devtools
Inputs: action (required), json, fiberId, session.
browser_readC
Read page content or fetch URL
Inputs: url, filter, session.
browser_screenshotD
Take screenshot
Inputs: full, path, session.
browser_scrollC
Scroll page
Inputs: direction (required), pixels, session, selector.
browser_selectC
Select dropdown option
Inputs: value (required), selector (required), session.
browser_sessionD
Session management
Inputs: action (required), scope, prefix.
browser_setC
Set viewport/device/geo/media
Inputs: value (required), setting (required), session.
browser_skillsD
List/get skills
Inputs: action (required), all, name.
browser_snapshotC
Get accessibility tree with refs
Inputs: session.
browser_stateC
Save/load auth state
Inputs: action (required), path, session.
browser_storageC
Manage localStorage/sessionStorage
Inputs: type (required), action (required), key, value, +1 more.
browser_streamD
WebSocket streaming
Inputs: action (required), port, session.
browser_tabD
Manage tabs
Inputs: action (required), url, label, target, +1 more.
browser_traceC
Record trace
Inputs: action (required), path, session.
browser_typeC
Type text into input
Inputs: text (required), selector (required), session.
browser_vitalsD
Web Vitals metrics
Inputs: url, json, session.
browser_waitC
Wait for element/text/URL
Inputs: url, text, session, timeout, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 39 tools
Each tool targets a distinct browser operation (e.g., click, fill, hover, scroll) with no overlapping responsibilities. Even similar tools like get and read are differentiated by specific data returning or page fetching, and snapshot is distinct from screenshot.
All tools follow a consistent 'browser_<verb>' pattern (e.g., open, click, fill, type, press), with no mixed conventions or vague names. The naming is predictable and clearly conveys each tool's action.
With 39 tools, the count exceeds the typical range and feels heavy for most workflows. While the browser automation domain is broad, many tools are granular (e.g., browser_console, browser_trace), leading to potential selection overhead.
The tool set covers a comprehensive range of browser interactions: navigation, element actions, state management, debugging, performance monitoring, and network control. Minor gaps exist (e.g., file upload, form submission explicit handling), but most core workflows are well-supported.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to automate web tasks such as browsing, clicking, typing, and taking screenshots via the Model Context Protocol.1MIT
- AlicenseAqualityBmaintenanceEnables browser automation through the Model Context Protocol, allowing AI agents to control Chrome, Firefox, or Edge for tasks like navigation, clicking, typing, and screenshots.4165 npmMIT
- AlicenseAqualityDmaintenanceEnables AI-powered browser automation controlled through natural language, integrating Playwright with the Model Context Protocol to perform web interactions like navigation, form filling, and screenshots.10MIT

Browseagent MCPofficial
AlicenseAqualityDmaintenanceEnables AI agents to control web browsers through the Model Context Protocol, supporting navigation, clicking, typing, and screenshots.1210 npm1MIT