Repository navigation
Conversation
|
INFRA-1236 review checkpoint: I ran the repository-required generators and gates against 657b388. The implementation and focused/full tests pass, but the branch is missing two generated updates: |
Adopt the canonical shared Streamable HTTP server implementation from upstream PR ChromeDevTools#2733, including direct AXI HTTP transport, generated metadata, notices, and awaited async test teardown.
|
Closing as the attached feature request #2188 is not yet confirmed. Also the changes required to address the FR are too large to be part of a single PR |
Why
Addresses #2188. Multiple MCP clients need to drive one long-lived Chrome without spawning one Chrome-connected server per client, leaking orphaned processes, contending for profiles, or sharing selected-page and filesystem state.
What changed
http://127.0.0.1:<port>/mcpvia--http-portMcpServerandMcpContextfor every HTTP session while sharing one process-level Chrome connection and page inventory--server-url/CHROME_DEVTOOLS_MCP_SERVER_URLas a transparent stdio-to-HTTP proxy for stdio-only clients--auto-connect, and explicit remote-debugging--browser-url/--ws-endpointmodesLifecycle and security
127.0.0.1; reject non-loopbackHostandOriginDELETE; inactive sessions expire after 30 minutes while active requests/streams suspend expiryVerification
npm run formatnpm run test tests/http-server.test.ts tests/proxy.test.ts tests/http-multi-client.test.ts: 10 passednpm run test -- --retry: final attempt 1,036 passed, 3 platform skips; earlier attempts hit existing extension teardown/network ordering flakeschrome-devtools-axisessions opened separate tabs through one service, saw the same page inventory, and retained different selected pagesCompanion
AXI upstream: kunchenguid/chrome-devtools-axi#139
Fork review PRs: lmn451#3 and lmn451/chrome-devtools-axi#1
Supersedes the narrower per-session-browser approach in #2730.