You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Re-apply tool filtering when tools/list_changed fires #5749
Part of #5743 (Workstream B: 2025-11-25 compliance).
Gap
Tool filtering/override middleware rewrites tools/list responses and gates tools/call, but nothing reacts to notifications/tools/list_changed (pkg/mcp/tool_filter.go). A backend that changes its tool set after the filtered list was served opens a stale-view / filter-bypass window (a renamed tool could evade a name-based filter until the client re-lists).
Proposed work
When a tools/list_changed notification traverses the proxy, ensure the next tools/list re-applies filters (it does — verify) AND consider whether tools/call gating needs a refreshed tool map.
Ensure the notification itself is forwarded to clients (depends on the streamable server→client channel issue) so they actually re-list.
Depends on: the streamable proxy server→client channel issue. Priority: Medium.
Activity
JAORMX commentedon Jul 8, 2026
Folding into #5744 (re-filtering is a direct consequence of the server→client channel work there). Tracked in the epic #5743 follow-ups.