Skip to content

Add browser session parity options to MCP#110

Draft
IlyaasK wants to merge 3 commits into
codex/api-keys-mcp-toolfrom
codex/browser-session-parity
Draft

Add browser session parity options to MCP#110
IlyaasK wants to merge 3 commits into
codex/api-keys-mcp-toolfrom
codex/browser-session-parity

Conversation

@IlyaasK
Copy link
Copy Markdown
Contributor

@IlyaasK IlyaasK commented May 29, 2026

Summary

  • extend manage_browsers create with SDK 0.58 browser-session options: start_url, chrome_policy, gpu, and telemetry category controls
  • add manage_browsers update for supported session settings: disable_default_proxy, proxy/profile updates, viewport updates, and telemetry updates
  • replace the previous untyped create params object with SDK-derived request types and small builders for profile, viewport, and telemetry payloads

Validation

  • bunx prettier --write src/lib/mcp/tools/browsers.ts
  • git diff --check
  • KERNEL_CLI_PROD_CLIENT_ID=dummy-prod KERNEL_CLI_STAGING_CLIENT_ID=dummy-staging KERNEL_CLI_DEV_CLIENT_ID=dummy-dev NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_Y2xlcmsuZXhhbXBsZS5jb20k bun run build
  • localhost MCP smoke against http://127.0.0.1:3002/mcp with API_BASE_URL=http://127.0.0.1:3001: initialized MCP, verified manage_browsers was listed, created a short-lived headless browser with start_url, chrome_policy, telemetry, and viewport options, updated telemetry/viewport through the new update action, retrieved it, and deleted it

Notes

  • Attempting disable_default_proxy: true through the same localhost MCP path reached the API but the local backend returned 500 proxy swap did not complete; browser cleanup succeeded. The MCP request wiring is present, but that backend behavior was not green in local smoke.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

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

Project Deployment Actions Updated (UTC)
mcp Ready Ready Preview, Comment May 29, 2026 11:01pm

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.

1 participant