docs(rfc): pooled HTTP Playwright MCP server for generated claws - #40
Open
BoldBlackBot wants to merge 1 commit into
Open
docs(rfc): pooled HTTP Playwright MCP server for generated claws#40BoldBlackBot wants to merge 1 commit into
BoldBlackBot wants to merge 1 commit into
Conversation
EnriqueCanals
approved these changes
Aug 16, 2026
Propose an opt-in pooled browser backend: a long-lived Playwright MCP server in HTTP mode (--port + --isolated) started by the container boot command — one chromium launch, one BrowserContext per client. Bounds browser memory for multi-client workloads and removes cross-client tab/session collisions. Daemon lifetime is tied to the container, so no orphaned browser processes are possible. Co-authored-by: capotej <6135+capotej@users.noreply.github.com>
BoldBlackBot
force-pushed
the
rfc/pooled-http-playwright-mcp
branch
from
August 18, 2026 21:30
f02c0e2 to
b0aa7c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--port+--isolated) started by the container boot command, before theexec hermes gateway.BrowserContextper MCP client: bounds browser memory for multi-client workloads (~(N−1) × 1.0 GiB saved for N clients) and removes cross-client tab/session collisions (upstreammicrosoft/playwright-mcp#893failure mode).EnablePooledPlaywright(defaultfalse) — default-path output stays byte-identical, golden test regenerates only for the enabled path.Design highlights
--host 127.0.0.1), version-pinned server (no@latest), chromium installed to the persistent volume via the pinned server's owninstall-browser.agent_home/config.yaml(type: streamable-http,url: http://127.0.0.1:8931/mcp) pushed by the existing manage overlay; RFC documents the stack-parameter-before-overlay ordering and rollback.Test plan
RFC:
rfcs/2026-08-16_pooled-http-playwright-mcp.md