Hi,
Currently, when we define McpServerTool methods under McpServerToolType class, the description corresponding to that particular tool, along with any custom instructions needs to be coded as part of the statically compiled code. However, I want to know, if the tool description can be loaded via an external configuration so that I have ability to update the description, by just publishing an updated configuration instead of needing to publish a new version of the MCP application? My intent is to load this during startup OR as part of periodic config refresh. So the tool request and response will still remain unchanged. Only the instructions on how to use the tool will get updated externally.
Thanks!
Hi,
Currently, when we define McpServerTool methods under McpServerToolType class, the description corresponding to that particular tool, along with any custom instructions needs to be coded as part of the statically compiled code. However, I want to know, if the tool description can be loaded via an external configuration so that I have ability to update the description, by just publishing an updated configuration instead of needing to publish a new version of the MCP application? My intent is to load this during startup OR as part of periodic config refresh. So the tool request and response will still remain unchanged. Only the instructions on how to use the tool will get updated externally.
Thanks!