Purpose: Debugg AI MCP Server provides AI-driven browser testing capabilities through the Model Context Protocol. Hand it any URL (including localhost) and describe what to test; the AI agent will browse the application and return pass/fail results with screenshots, aimed at zero-configuration end-to-end testing for all kinds of code generation platforms. Requires Node.js 20.20.0 or higher.
Main capabilities: The server exposes 8 tools, including three browser tools and action-type tools divided by managed entity. At the core are check_app_in_browser (full AI agent) and probe_page (lightweight page probing that does not use an LLM); the rest are project, environment, test_suite, test_case, and executions, each accepting an action discriminator field (e.g. {"action":"list"}). Destructive delete operations require confirmation (using an elicitation prompt when supported, otherwise confirm: true).
check_app_in_browser runs an AI browser agent to navigate and interact and returns screenshots; localhost URLs are automatically forwarded through a tunnel; each call performs only one focused check (with an internal budget of about 25 steps). probe_page is LLM-free batch probing that can take 1-20 URLs and returns rendering status, metadata, console errors, and a network summary, with a performance budget of under 10 seconds for 1 URL and under 25 seconds for 20 URLs. Testing http://localhost:... requires the caddy binary; the @radically-straightforward/caddy dependency is downloaded automatically during npm install / npx; if the download does not run, you can point CADDY_BIN to a self-installed Caddy. Cross-domain SSO requires adding the identity provider host to the environment's authorizedCredentialHosts.
Security invariants: passwords are write-only and never appear in any response body; tunnel URLs are stripped from all browser agent responses; when DEBUGGAI_API_KEY is missing, the first call returns a structured tool error but the server still registers tools normally. It uses stdio by default (local npx), and can optionally run as a remote Streamable HTTP + OAuth OAuth resource server.
Limitations: The Docker build currently lacks the required directories and references a tunnels/ directory that no longer exists, so new builds may fail; the published quinnosha/debugg-ai-mcp image predates the Caddy dependency, and localhost URL calls inside the image will report CaddyBinaryNotFoundError unless it is rebuilt or Caddy is specified via CADDY_BIN. Before deploying multiple replicas, evaluate this: tunnel state is in-process, distinguished by bearer token hash, with no cross-process coordination.