Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
Autonomous UI debugging MCP server: an agent drives the browser/desktop, reports bugs + UX issues.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OPENAI_API_KEY, OPENAI_BASE_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ui-debugger": {
"command": "npx",
"args": [
"-y",
"@developerz.ai/ui-debugger-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ui-debugger --env OPENAI_API_KEY=your-value --env OPENAI_BASE_URL=your-value -- npx -y @developerz.ai/ui-debugger-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ui-debugger": {
"command": "npx",
"args": [
"-y",
"@developerz.ai/ui-debugger-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ui-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@developerz.ai/ui-debugger-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"OPENAI_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OPENAI_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 developerz-ai 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OPENAI_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.9.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
MCP server for Chrome DevTools
MCP server for browser use access
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that debugs UIs autonomously — so the AI that wrote your app can also test it, without a human clicking through every flow.
AI coding agents (Claude, etc.) are great at writing code. They're bad at knowing if the UI actually works. For backend code there are unit and integration tests. For UI, a human still has to open the app, log in, click around, and report what's broken. That human-in-the-loop is slow, boring, and the main bottleneck when an entire product is built by AI.
Eliminate the human from the UI-debug loop with an MCP server.
Unlike playwright-mcp — where the smart model issues every single click itself — here the smart model stays high-level and delegates the whole clicking loop to the small agent.
| playwright-mcp | UI Debugger MCP | |
|---|---|---|
| Who clicks | smart model, one action per call | small agent, on its own |
| Tools exposed | many (click, type, snapshot…) | few (give a story, get findings) |
| Smart model cost | high (chatty) | low (high-level) |
| Output | raw page state | structured findings + evidence |
Picture a boss, a fast blind driver, and a describer with eyes:
┌─────────────┐ MCP conversation ┌──────────────────────────────────────┐
│ smart agent │ start_debug ───────▶ │ UI Debugger MCP server │ │ (Claude) │ send_message (live) │ │ │ │ ◀─────── get_findings │ ┌────────────┐ ┌────────────┐ │ │ sets goals │ │ │ fast guy │ look│ vision guy │ │ │ fixes code │ │ │ (driver) │────▶│ (eyes) │ │ │ loops │ │ │ deepseek │◀────│ qwen3-vl │ │ └─────────────┘ │ │ text·blind │ desc│ image │ │ ▲ │ └─────┬──────┘ └────────────┘ │ │ "works + looks nice" │ observe / act (SQL-like) │ │ findings + screenshots │ │ shared adapter contract │ └──────────────────────────────│─────────┼─────────────────────────────│ └─────────┼─────────────────────────────┘ ▼ ┌──────────────┬──────────────┬──────────────┐ │ web (CDP) │ desktop │ android │ │ browser │ X11/Wayland │ ADB │ └──────────────┴──────────────┴──────────────┘
look to ask *"does this look right? is the button centred?"* and gets a description back. Default: qwen. Spent only when visual judgment is needed.One goal: **the UI works *and* looks nice.** Full design in docs/idea/.
Every run keeps its screenshots and stitches them into a short captioned replay video — Claude attaches it to the PR so a reviewer sees the flow working in ~10 seconds (docs/idea/workspace.md).
One project can expose several debug targets. A large app can have all three:
| Target | Protocol / how it's driven | Reads |
|---|---|---|
| web | CDP (Chrome DevTools Protocol), headless by default | DOM |
| desktop | X11 / Wayland input + AT-SPI | a11y tree |
| mobile | ADB (uiautomator + screencap), Android, headless by default | view hierarchy |
The desktop and android adapters read structure only — there is no automatic vision/OCR fallback: the adapter never switches to pixels. A custom-drawn surface (canvas, game, custom widget) exposes no nodes, so it is unreachable there; Chromium/Electron need --force-renderer-accessibility. The only vision is the agent-level look the driver calls when it needs a visual judgment.
Three adapters, one shared contract. Each runs managed (server launches the target) or attach (connect to a running one via cdpUrl / adbSerial). Linux first. iOS is out of scope on Linux (macOS-only tooling).
A managed android run boots the emulator windowless — -no-window with -gpu swiftshader_indirect -no-audio, because -no-window alone still opens a host GL context and dies on a box with no display. Set "headless": false on the target to watch it in a window; append anything else with emulatorArgs.
Install like any local MCP server — one entry in your .mcp.json:
{
"mcpServers": { "ui-debugger": { "command": "npx", "args": ["-y", "@developerz.ai/ui-debugger-mcp@latest"], "env": { "OPENAI_API_KEY": "sk-...", "OPENAI_BASE_URL": "https://openrouter.ai/api/v1" } } } }
Wiring more than one repo? .mcp.json is usually committed, so don't paste the key into each one — export it once in your shell and reference it, which keeps every repo's entry identical and secret-free:
"env": {
"OPENAI_API_KEY": "${UI_DEBUGGER_API_KEY}", "OPENAI_BASE_URL": "${UI_DEBUGGER_BASE_URL:-https://openrouter.ai/api/v1}" }
It's also published in the official MCP Registry as io.github.developerz-ai/ui-debugger-mcp — any client that browses the registry (instead of a hand-written .mcp.json entry) can find and install it by that name.
Then add a per-project config describing the app to debug (models, targets, urls) — .dz/ui-debugger/ui-debugger-mcp.json if your repo keeps agent config under .dz/ (checked first), else the root .ui-debugger-mcp.json (legacy). The fastest way is the init command:
npx @developerz.ai/ui-debugger-mcp@latest init # in your project root
`ui-debugger-mcp init` scaffolds a project for debugging (described in docs/idea/config.md):
./tmp/ui-debugger-mcp/web target stub) if one doesn't already exist — at .dz/ui-debugger/ui-debugger-mcp.json when the repo already has a .dz/ dir, else at the root .ui-debugger-mcp.jsontmp/ to .gitignore.mcp.json snippet to paste (it never writes your API key)Config files:
.mcp.json → how to launch the server (command + secret key). Gitignored..dz/ui-debugger/ui-debugger-mcp.json (or root .ui-debugger-mcp.json) → how to debug this app (models, targets). Committed. When both exist the .dz/ copy wins and the tool prints a notice naming the ignored root file.Every key of both files is documented in docs/idea/config.md; every tool's exact input/output shape is in docs/idea/mcp-tools.md.
The server reads the current directory to pick the project session — open it in your repo and it debugs that repo.
# 1. Scaffold the project (run once in your app's root)
npx @developerz.ai/ui-debugger-mcp@latest init
This creates ./tmp/ui-debugger-mcp/, writes a starter config (.dz/… or root), and prints the .mcp.json snippet to paste.
// 2. Paste into your project's .mcp.json (add your API key)
{ "mcpServers": { "ui-debugger": { "command": "npx", "args": ["-y", "@developerz.ai/ui-debugger-mcp@latest"], "env": { "OPENAI_API_KEY": "sk-...", "OPENAI_BASE_URL": "https://openrouter.ai/api/v1" } } } }
// 3. Edit the project config (.dz/ui-debugger/ui-debugger-mcp.json or root
// .ui-debugger-mcp.json) — set your app's URL { "targets": { "web": { "adapter": "browser", "url": "http://localhost:3000" } } }
// 4. In Claude Code (or any MCP client):
start_debug { target: "web", goal: "log in and add item 3 to the cart", url: "http://localhost:3000" }
// 5. Poll until done: get_findings { session_id: "...", wait: 30000 }
// 6. Read bugs[] + visual[] + summary. Fix code, repeat.
It's a conversation, not a remote control — five fat tools, not one-per-click:
| Tool | What it does |
|---|---|
start_debug | Open a run: { target, goal, url?, as?, replace?, criteria?, timeout? }. url is required when the target has no configured url; as names a login persona; replace: true takes over a project that already has a run. The small agent drives autonomously. Returns { session_id }. |
get_findings | Poll status + structured findings (functional bugs + visual issues) + evidence. Long-poll with wait. A whole-object read caps each list at 20 and says so in truncated ({returned, total} per field) — pass fields for the full lists. |
send_message | Talk to the running agent mid-flight — add work, redirect, or answer a question. |
describe | List the configured targets + models for this project — including each target's auth personas[] and notes — plus session: the run this project currently holds. |
end_session | Close the run, free the browser/profile. |
A run is always time-capped: start_debug's timeout (seconds) overrides the default 300s, so a session can never hang forever — it auto-ends and frees the profile lock when the cap fires.
Almost every interesting screen is behind a login, and re-explaining the login flow in every goal string costs driver steps before the real goal starts. Say it once, in the target:
"targets": {
"dashboard": { "adapter": "browser", "url": "http://localhost:5173", "auth": { "admin": { "path": "/login", "fields": { "email": "admin@dev.local", "password": "admin" }, "submit": "Sign in" }, "user": { "path": "/login", "fields": { "email": "user@dev.local", "password": "user" }, "submit": "Sign in" } } } }
start_debug { target: "dashboard", as: "admin", goal: "open Audit and check the table renders" }
The run signs in out-of-band, before the driver's first step: it costs zero driver steps, and the credentials never enter the model's context — the prompt only learns *"you are already signed in as admin"*. Values are redacted out of every log the run writes; describe reports persona names only. A typo'd as fails loud listing the valid names, and a login that does not take fails the run rather than handing back a session that will report every page behind it as empty. Use dev/seed credentials — this file is committed. Details in docs/idea/config.md.
notesA freshly-migrated app with no seed data renders empty states everywhere, and the driver reports *"the table is empty"* as the run's headline bug. It is right, and it is useless. Say what's expected once, in the target:
"targets": {
"dashboard": { "adapter": "browser", "url": "http
只显示了开头部分;其余内容请在仓库中阅读