Skip to content

Add browser WebMCP tool support - #177

Merged
rgarcia merged 2 commits into
mainfrom
hypeship/add-webmcp
Sep 3, 2026
Merged

Add browser WebMCP tool support#177
rgarcia merged 2 commits into
mainfrom
hypeship/add-webmcp

Conversation

@rgarcia

@rgarcia rgarcia commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

summary

  • add the project-scoped webmcp MCP tool with list and synchronous invoke actions
  • preserve browser-wide tool metadata and structured invocation failures while disabling retries for invocation
  • document browser-wide WebMCP helpers in Playwright execution guidance and cover registration, validation, passthrough, and retry behavior
  • accept a live browser session ID or name, matching the browser-tool convention in main
  • use the published @onkernel/sdk@0.98.0 WebMCP client now provided by main

testing

  • bun test (289 passed)
  • bunx tsc --noEmit --incremental false
  • bunx prettier --check package.json src/lib/mcp/register.ts src/lib/mcp/register.test.ts src/lib/mcp/responses.ts src/lib/mcp/tools/playwright.ts src/lib/mcp/tools/browsers.ts src/lib/mcp/tools/webmcp.ts src/lib/mcp/tools/webmcp.test.ts
  • KERNEL_CLI_PROD_CLIENT_ID=test KERNEL_CLI_STAGING_CLIENT_ID=test KERNEL_CLI_DEV_CLIENT_ID=test bun run build
  • bun install --frozen-lockfile with Bun 1.3.3

bun run lint remains unavailable because the existing script invokes next lint, which Next.js 16 removed. The repository-wide format check also flags the pre-existing AGENTS.md; changed files pass Prettier.

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mcp Ready Ready Preview Sep 3, 2026 2:17pm UTC

Comment thread src/lib/mcp/tools/webmcp.ts Outdated
Comment thread src/lib/mcp/tools/webmcp.ts Outdated
Comment thread src/lib/mcp/tools/playwright.ts Outdated
Comment thread src/lib/mcp/tools/webmcp.ts Outdated
Comment thread src/lib/mcp/tools/webmcp.ts
@rgarcia

rgarcia commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 2c6cbc6. Configure here.

@sjmiller609 sjmiller609 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/lib/mcp/tools/playwright.ts:36 — consider carrying the standalone tool’s untrusted-content and uncertain-outcome warnings into the Playwright helper guidance.

@rgarcia
rgarcia merged commit c783a97 into main Sep 3, 2026
10 checks passed
@rgarcia
rgarcia deleted the hypeship/add-webmcp branch September 3, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants