Chrome 147 + supergateway streamableHttp causes Target closed error
Problem
chrome-devtools-mcp 0.24.0 with Chrome 147 fails when used via supergateway streamableHttp transport.
Error: Protocol error (Target.setDiscoverTargets): Target closed
Direct stdio works fine - issue is supergateway bridge.
Workaround
Custom MCP bridge or use --stateful flag.
CC not affected (uses --autoConnect + direct stdio)
Direct stdio works - issue is supergateway bridge. CC not affected (uses --autoConnect + direct stdio). Reproduction in issue description.
UPDATE: Tested Puppeteer Chrome
Tested with Puppeteer's bundled Chrome (147.0.772.57):
- Direct stdio:
list_pagesworks ✅ - Via supergateway streamableHttp:
Target closederror ❌
Confirmed: The issue is supergateway's streamableHttp bridge, NOT Chrome version. Same behavior with both Puppeteer Chrome 147.0.772.57 and system Chrome 147.0.7727.101.
Working workaround: Custom stdio→HTTP bridge that properly handles CDP's stateful session lifecycle.
CC not affected because it uses direct stdio with --autoConnect, never routing through supergateway.