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
fix: require restart to apply tool visibility changes
Runtime mcp.enable/disable calls accumulate visibility transforms in
the provider's _transforms list every save, causing stale transforms
to pile up. More importantly, they don't reliably remove tools from
the LLM's tool list in practice — tools still appear in list_tools()
output with full schema, just fail at call time with "Unknown tool".
New approach: save changes to tool_config.json and require an add-on
restart. Startup-time apply_tool_visibility() reads the config and
applies visibility once, cleanly. Disabled tools are then fully absent
from list_tools() on next startup.
- Remove runtime mcp.enable/disable from POST handler
- Show "Saved — restart required" status after save
- Show prominent red restart-required banner in UI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments