Skip to content

feat(framework): --browser gives the agent a real browser (chrome-devtools-mcp)#466

Merged
suleimansh merged 1 commit into
mainfrom
feat/browser-mcp-452
Jul 14, 2026
Merged

feat(framework): --browser gives the agent a real browser (chrome-devtools-mcp)#466
suleimansh merged 1 commit into
mainfrom
feat/browser-mcp-452

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Phase 1 of #452: give the agent a real browser during a run, host side only, no runner change.

Adds --browser. When set, the build driver writes a temp --mcp-config wiring chrome-devtools-mcp (a maintained stdio server that launches its own Chromium). The agent can then navigate pages, read console + network output, inspect the DOM, and screenshot while it works, instead of only type-checking and guessing whether a frontend change works.

Notes:

  • Off by default. npx -y chrome-devtools-mcp@latest resolves it on demand, nothing to pre-install.
  • Merges with the user's own MCP servers (not --strict-mcp-config).
  • Scoped to the build driver only, not the short preset-router turn.
  • ClaudeCodeDriver gains an mcpServers option backing this; the temp config is written once per session and removed on dispose.

Phase 2 (bundling Chromium into the sandbox runner image) stays gated on the agent-in-container move, tracked in #452.

Closes #452

@suleimansh suleimansh self-assigned this Jul 14, 2026
@suleimansh suleimansh merged commit 9e71fc8 into main Jul 14, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/browser-mcp-452 branch July 14, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give the agent a real browser (chromium + chrome-devtools-mcp) during runs

1 participant