- Create McpToolRegistry service (singleton)
- Subscribe to RuntimeConfigProvider config change events
- Rebuild tools when config changes
- Tools always fresh, metadata always accurate
this is only an attempt to reduce staleness of metadata of MCP tools. however, the general recommendation would be perform a clean start for any config changes. this is more robust and environment agnostic.
this is only an attempt to reduce staleness of metadata of MCP tools. however, the general recommendation would be perform a clean start for any config changes. this is more robust and environment agnostic.