mcpproxy-go
mcpproxy-go copied to clipboard
Follow-ups from Spec 108-c2 client credentials review (#1430)
Low-severity findings left open after the review and live QA of #1430 (Spec 108-c2).
- [ ]
internal/runtime/clients_service.gosetBindingLockedchecks that the requested profile exists before it checks whether the client has an active credential. A binding request for a client with no active credential that also names an unknown profile therefore returns400 unknown profile. The contract says it should return409 no_client_credential. Fix: do the credential-state check first. - [ ]
internal/server/profile_resolver.go:338-341resolveEffectiveProfileForJustSetSlugtreatsac.ProfilePinas authoritative without checkingProfileMode. Example: a switchable client bound torocallsset_profile("full")and gets backservers:["github"], which isro's list, althoughfull's tools are reachable. The reported list understates reach (it errs toward closed), and enforcement is not affected. The T029 rows do not assertservers. - [ ] CLI: refusal
Error:lines print twice for connect errors.connect <existing entry>without--forceprints "Failed" but exits 0. These predate this PR. - [ ]
PATCH /configanswers "No configuration changes detected" even though the change is persisted. This predates this PR. - [ ]
disconnectleaves the client credential active; only undo or the 108-f forget route revoke it. Decide whether disconnect should revoke it, and document the choice.