Autonomous UI debugging MCP server: an agent drives the browser/desktop, reports bugs + UX issues.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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:
look to ask
"does this look right? is the button centred?" and gets a description back.
Default: glm. 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 / vision |
| mobile | ADB (uiautomator + screencap), Android, headless by default | view hierarchy / vision |
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:
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:
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:
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.
This creates ./tmp/ui-debugger-mcp/, writes a starter config (.dz/β¦ or root),
and prints the .mcp.json snippet to paste.
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.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ui-debugger-mcp)<a href="https://allmcps.com/mcp/ui-debugger-mcp"><img src="https://allmcps.com/api/badge/ui-debugger-mcp?style=directory" alt="Ui Debugger MCP on AllMCPs" /></a>