Give your agent
testing superpowers.

  • Claude Code
  • Codex
  • OpenCode
  • Cursor
  • Arca

choose your fighter, we support them all.

1. Set up with one prompt

Give this prompt to the agent in your project to install and set up the screw-bugs MCP server and CLI.

setup-prompt.md
Set up screw-bugs (local browser QA for coding agents, over MCP) in this project.

1. Find this app's local dev server URL and what it needs to run (its dev command, and any services such as a database) by reading package.json scripts and the README. Do not run commands for this. If you can't tell the URL, leave it out.
2. In the project's root folder, run: npx -y screw-bugs@latest setup --agent <id> --url <that URL>
   where <id> is the coding agent you are:
   - Claude Code (terminal, IDE or Claude Desktop): claude (config file: .mcp.json, entry under "mcpServers")
   - Codex: codex (config file: .codex/config.toml)
   - Cursor: cursor (config file: .cursor/mcp.json, entry under "mcpServers")
   - VS Code / Copilot: vscode (config file: .vscode/mcp.json, entry under "servers")
   - OpenCode: opencode (config file: opencode.json or opencode.jsonc, entry under "mcp", or under "mcp.servers" if the file already uses that)
   If you are none of these, stop and tell me.
   This command must run outside any sandbox: it downloads from npm, writes your config file (which sandboxes often make read-only) and starts a browser to check this machine. In a sandbox it can hang or report a missing browser. If your permissions block it, ask me once to allow it, then run it again. Do not suggest other ways to run it.
3. Read all of its output, whatever the exit code, and act on every line of these kinds:
   - "Add this to <file> yourself:": setup left your config file alone. Add the entry printed under it to that file yourself, keeping everything else in it (comments included) as it is.
   - A line marked ✗ or ! with "Fix:" (and often "Run:") under it: something this machine needs is missing or out of date. Show these to me, and ask me before running any command.
   - "✗ screw-bugs.json …": the project file could not be written. Tell me why.
   - Any other line marked ✗ (such as a download that failed): tell me what it says.
   It is all done only when no line is marked ✗.
   Install nothing else, and do not edit any other files.
4. Tell me what changed, what the app needs running before a test (from step 1), and how to start the server in you:
   - Claude Desktop: this session can't load the new server. Start a new session in this project folder.
   - Claude Code in a terminal or IDE: run /mcp (or restart in this project) and approve "screw-bugs" from .mcp.json.
   - Codex: restart in this project, and trust this folder if asked (Codex loads .codex/config.toml only in a trusted project).
   - Cursor: open Cursor Settings > MCP and check "screw-bugs" is listed and turned on (reload the window if it is not there yet).
   - VS Code: open .vscode/mcp.json and click "Start" above "screw-bugs" (or run "MCP: List Servers"), then use it from Copilot Chat in Agent mode.
   - OpenCode: restart in this project.
   Then give me one first message to paste into that new session, naming one important flow in this app, such as: Use screw-bugs to check that <flow> works.
5. If I ask you to test something before the screw-bugs tools are loaded in this session, use its CLI from the project's root instead (npx -y screw-bugs@latest run, status, findings; --help shows how).

2. Generate a report

Use the prompt below to generate a report with your agent.

report-prompt.md
Use screw-bugs to test what I changed on this branch (or the main flows if nothing changed) and give me the report and walkthrough links.