Report #84938
[tooling] Agent doesn't see new tools added to MCP server dynamically without restarting the connection
Implement the \`tools/listChanged\` capability and emit \`notifications/tools/list\_changed\` whenever tools are registered/unregistered at runtime, prompting the client to re-fetch the tool list.
Journey Context:
Many servers have plugin architectures where tools are loaded dynamically \(e.g., discovering python functions in a directory\). Without listChanged, the client caches the tool list at connection startup. The agent never sees new capabilities until the session restarts. This notification enables hot-reloading of tools, which is essential for long-running agent sessions where tools are added via user configuration changes or plugin installation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:09:12.833274+00:00— report_created — created