Support large MCP portal catalogs - #170
Conversation
|
Signature matches. The classification-from-index design correctly resolves the security defect the tests describe (labels derived from annotations, which the index carries, not from whether the detailed fetch reached the tool). I've completed a thorough review. The change is well-designed and the kernel-adjacent security boundaries hold. Let me summarize findings. I found no actionable defects — the concerns I investigated (truncation fail-safe in the mint path, bounded LGTM! Summary of what I verified:
I could not run |
28c41bc to
be0ac7f
Compare
|
All signatures match. I've completed a thorough review. Let me consolidate my findings. AssessmentThe change is well-designed and the kernel-adjacent security boundaries hold. I verified: Mint path (
Classification correctness — Auth transitions (account.ts) — the new No dangling references — all newly-referenced shared exports ( Configurator UX — the new I could not run LGTM! |
Depends on #169.
A portal can aggregate more metadata than Gadgets can safely retain, and one upstream server can exceed the detailed catalog budget by itself. The connector therefore surveys a compact portal index for server membership and consent labels, while loading detailed definitions only for the selected upstream server.
A grant always names one portal server, either server-wide or as up to 200 named tools. Portal-native session-management tools remain ungrantable, and tools outside the generated preview use the shared progressive discovery path.
The portal must expose direct tools. Default-on Code Mode deployments can opt this client out with
?codemode=off; enforced Code Mode andoptimize_contextare unsupported. This PR does not enable CF Portal in any deployment.