Skip to content

MCP Tool description from external source #1516

@askids

Description

@askids

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions