Skip to content

feat(mcp): native Playwright browser tool, wired into every session - #109

Merged
Robbertvermeulen merged 2 commits into
mainfrom
card/task_3ab6
Oct 15, 2026
Merged

Robbertvermeulen merged 2 commits into
mainfrom
card/task_3ab6

Conversation

@Robbertvermeulen

Copy link
Copy Markdown
Owner

Closes #107.

Adds an agentboard-browser MCP server (navigate / click / fill / read / screenshot) backed by a single shared Playwright/Chromium page per session process. Wired unconditionally into runSession() via --mcp-config on the spawned claude command, no opt-in env var, per the scope confirmed on the issue.

  • Chromium is installed during the Docker image build (npx playwright install --with-deps chromium), not lazily at session start.
  • PLAYWRIGHT_BROWSERS_PATH pinned to /opt/playwright-browsers so the install (run as root) stays reachable after start.sh drops to the node user.
  • screenshot writes to artifacts/<cardId>/<name>.png via a new artifactWritePath() helper (mirrors the existing artifactPath() read-side validation).
  • Attachment/comment preview UI is out of scope here, tracked separately on Attach files directly to a comment (human + agent, CLI + API) #67.

Test plan

  • npm run build passes
  • Robbert: smoke-test a session using browser_navigate + browser_screenshot on Fly

agentboard added 2 commits October 15, 2026 10:59
…107)

Adds an agentboard-browser MCP server (navigate/click/fill/read/screenshot)
backed by a single shared Playwright/Chromium page per session process.
Wired unconditionally via --mcp-config on the spawned claude command (no
opt-in env var, per confirmed scope). Chromium is installed in the Docker
image build, not lazily at session start.

card/task_3ab6
@Robbertvermeulen
Robbertvermeulen merged commit 1ecc9ef into main Oct 15, 2026
2 checks passed
@Robbertvermeulen
Robbertvermeulen deleted the card/task_3ab6 branch October 15, 2026 19:04
github-actions Bot pushed a commit that referenced this pull request Oct 15, 2026
# [0.25.0](v0.24.0...v0.25.0) (2026-10-15)

### Features

* **mcp:** native Playwright browser tool, wired into every session ([#109](#109)) ([1ecc9ef](1ecc9ef))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.25.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native Playwright browser tool for agent sessions

1 participant