Expose Config Registry recommendations through MCP - #200
masnwilliams wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8e6f40f. Configure here.
rgarcia
left a comment
There was a problem hiding this comment.
reviewed — this looks superseded by #196, which already merged Config Registry support into main via manage_config_registry (including lookup, resolve, analysis polling/cancellation, listing, and structured 409 handling). this branch now conflicts with main and would introduce a second, narrower MCP surface for the same operations. i think we should close this PR unless there’s a specific UX change here that should be applied on top of #196.

Summary
resolve_browser_configMCP tool for cached lookup, analysis start, and analysis pollingWhy
Browser agents should consult Config Registry before creating a session so cached recommendations return immediately and missing recommendations can be analyzed before the target flow begins.
Testing
bun test(607 passed)bunx tsc --noEmitbun run buildcompiled and typechecked successfully, then stopped during page-data collection becauseKERNEL_CLI_PROD_CLIENT_IDis unavailable locallyNote
Medium Risk
Exposes a new authenticated, project-scoped MCP surface that can start Config Registry analyses and influences browser/proxy setup before session creation; mitigated by validation and existing SDK contracts.
Overview
Adds a project-scoped MCP standalone tool
resolve_browser_configso agents can query Config Registry before creating a browser.The tool supports three actions:
lookup(immediate cached browser/proxy recommendations),resolve(kick off a background analysis when cache is empty), andget_analysis(poll byanalysis_id). Responses are passed through from the Kernel SDK without reshaping. Tool description documents the lookup → resolve → poll flow and that managed proxy recipes should be created viamanage_proxies.Wiring: new
config_registrytoolset in MCP registration, allowlist aliasresolve_browser_config, entry inKERNEL_MCP_TOOL_NAMES, README standalone-tools list, and contract tests for registration allowlists and tool behavior.Reviewed by Cursor Bugbot for commit b2be582. Bugbot is set up for automated code reviews on this repo. Configure here.