Expose region param on manage_browsers create and list - #158
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
tnsardesai
marked this pull request as ready for review
August 14, 2026 01:50
masnwilliams
approved these changes
Aug 14, 2026
masnwilliams
left a comment
Collaborator
There was a problem hiding this comment.
reviewed for maintainability, abstraction quality, boundary cleanliness, and structural complexity. no actionable findings.
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
POST /browsersaccepts aregionparam (us-east|eu-west, fixed at create, plan-gated to Start-Up/Enterprise, defaults tous-east), andGET /browserscan filter by it. The pinned@onkernel/sdk@0.90.0already types both, but themanage_browserstool schema never exposed the field — so MCP clients couldn't select or filter by region.Changes
regionto themanage_browsersinput schema, described for both(create)and(list).regionthrough on create and as a filter on list.Testing
bun test src/lib/mcp— 177 pass, 0 fail.bunx tsc --noEmitclean.bun run format:checkflags only the pre-existing AGENTS.md formatting issue on main.Note
Low Risk
Thin schema and pass-through wiring to an already-typed SDK; no auth or data-model changes.
Overview
Exposes
region(us-east|eu-west) on themanage_browsersMCP tool so clients can match the REST API: set region at session create (fixed afterward, plan-gated) and filter list by region.The tool input schema documents both uses; create forwards
regionintobrowsers.create, and list passes it as a list filter. A unit test asserts both pass-throughs against a mocked Kernel client.Reviewed by Cursor Bugbot for commit 6f4fa57. Bugbot is set up for automated code reviews on this repo. Configure here.