devharness

Let Claude open your app, use it, and see what actually goes wrong.
When you build with an AI agent, you end up as its tester. It changes the code,
then you open the browser, click through, and paste the error back. It can't see
the page, the browser console or your server's output, so it works from what you
paste, and "fixed" often isn't.
devharness gives the agent its own Chrome window. It opens your app, clicks and
types like you would, reads the errors in the console and the server logs, and
can try its own fix in the browser before telling you it's done.
/plugin marketplace add InDate/indate-tools
/plugin install devharness@indate-tools
Was cdp-tools-mcp. Migrating.
What you'll notice
- A Chrome window opens and the agent uses your app. You can watch it
navigate, fill forms and click buttons. It runs with its own temporary profile,
so your everyday browser, bookmarks and logins are untouched.
- The agent sees errors without you pasting them. After each action it gets
any new output from your dev server and the newest error in the browser
console, with where it came from.
- The agent runs your dev server. It can start it, restart it and read its
logs. With port monitoring on, a server that dies stops browser actions with a
message saying so, rather than the agent clicking away at a dead page and
reporting made-up results.
- Setup isn't redone by hand. Every action gets a number. To get back to the
broken screen after a fix, the agent re-runs those numbered steps in one call,
with exactly the values it used the first time.
Things to ask
Ask for the outcome. The agent picks the tools.
- "Open the app at localhost:3000 and check the signup form works."
- "The total on the checkout page is wrong. Find where it's calculated."
- "Start the dev server and keep an eye on it while we work."
- "Click through the settings page and tell me which buttons do nothing."
- "Record the steps that reproduce this bug, then re-run them after you fix it."
Show it the problem instead of describing it
Some bugs are hard to put into words: "the thing on the right, under the header,
is too far down". Ask the agent to open the bench, and a panel opens beside
your app. Click the element you mean and type a note, and attach a screenshot
you can crop and draw on. The note records what the element is -
its selector, and its component and source file where your dev build exposes
them - and reaches the agent as soon as you save it.
Keep a bug and prove the fix
The steps the agent takes can be saved as a sequence and replayed later, or
exported as a Playwright or Puppeteer test. An issue can carry the sequence
that reproduces it, so working on it starts by replaying to the broken state.
Closing an issue needs you. The agent opens a Fixed / Not Fixed prompt in the
browser and waits for your click; it can record what it found, but it can't mark
its own work as fixed. Issues can be published to GitHub, which shows you a
draft and posts nothing until you confirm.
Setup
You need Google Chrome installed in its usual place and Node.js 18 or
later.
Claude Code (recommended) - the plugin registers the server, adds the skill
that teaches the agent how to use it, and pins the version, so what you installed
is what runs until you update:
/plugin marketplace add InDate/indate-tools
/plugin install devharness@indate-tools
Claude Code, server only:
claude mcp add devharness -- npx devharness@latest
Claude Desktop:
{
"mcpServers": {
"devharness": {
"command": "npx",
"args": ["-y", "devharness@latest"]
}
}
}
Other MCP clients: run npx devharness@latest over stdio.
The tools' descriptions and replies carry how to use them; the full reference is
docs/instructions.md.
For developers
devharness is an MCP server that drives Chrome
and Node.js through the Chrome DevTools Protocol. Beyond the above: