Browser Use
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Autonomous UI debugging MCP server: an agent drives the browser/desktop, reports bugs + UX issues.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"OPENAI_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add ui-debugger --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env OPENAI_BASE_URL='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
"OPENAI_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"ui-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@developerz.ai/ui-debugger-mcp"
],
"env": {
"OPENAI_API_KEY": "ใส่ค่าของคุณ",
"OPENAI_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
OPENAI_BASE_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub developerz-ai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OPENAI_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.9.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Browser Use, Chrome DevTools MCP, MCP Server Browser
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ให้ AI ทำงานบนเว็บแทนคุณ เช่น กรอกฟอร์ม ค้นหา และดึงข้อมูล ใช้เบราว์เซอร์บนคลาวด์ของผู้ทำหรือรันในเครื่องก็ได้
ให้ AI ใช้เครื่องมือนักพัฒนาของ Chrome ตรวจหน้าเว็บ ดูว่าโหลดช้าตรงไหน และหาข้อผิดพลาด ทำโดยทีม Chrome DevTools
MCP server for browser use access
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo