Stealth browser automation for AI agents over MCP and the Chrome DevTools Protocol: navigation, network hooks, DOM extraction, and pixel-accurate UI cloning.
Python ai-agent-toolsai-toolsanthropicanti-bot-bypassautomation-toolsbrowser-automationchrome-devtoolsclaude-mcpcloudflare-bypassdeveloper-toolsfastmcpmcp-servermodel-context-protocolnetwork-interceptionnodriverpythonstealth-browserundetectable-browserweb-automationweb-scraping
docs(readme): document debug logging behavior
Vibhek Soni03a7ffe2b97f
diff --git a/README.md b/README.mdindex 5aad5d3..457a9d5 100644--- a/README.md+++ b/README.md@@ -170,8 +170,11 @@ Choose exactly what functionality you need. Run the full 90-tool suite or strippython src/server.py --minimalpython src/server.py --disable-cdp-functions --disable-dynamic-hookspython src/server.py --list-sections+python src/server.py --debug```+Use `--debug` or set `STEALTH_BROWSER_DEBUG=1` to enable verbose server diagnostics on `stderr`. In normal MCP `stdio` usage, debug logging stays quiet by default to avoid noisy transport output.+**Available sections:**| Section | Tools | Description |@@ -392,6 +395,9 @@ Install Chrome, Chromium, or Microsoft Edge. The server auto-detects the first a**Tools hang or return malformed JSON**Debug output was printing to stdout, corrupting the MCP JSON-RPC protocol. This was fixed in [#8](https://github.com/vibheksoni/stealth-browser-mcp/issues/8). Pull the latest `master` branch.+**Need verbose diagnostics without noisy normal runs**+Use `python src/server.py --debug` or set `STEALTH_BROWSER_DEBUG=1`. Debug logs are emitted to `stderr`; normal MCP `stdio` runs stay quiet by default.+**Browser crashes on Linux / Docker / CI**Run with `--sandbox=false` or ensure your environment supports sandboxing. The server auto-detects root and container environments and adjusts accordingly.