Expected Behavior

ToolCallbackProvider is an interface to collect tools.

MethodToolCallbackProvider.builder().toolObjects(...).build() allows loading of ToolCallbacks by introspection.

Implement a similar interface PromptsProvider to load prompts from classpath resource or a URL.

Current Behavior

There is no such mechanism.

Context

We want to control the prompts provided by MCP. server to be externally controllable and dynamically update the prompts based on analytics and user feedback about deployed prompts working or not. We want to be able to do this without rebuilding the binaries (jars and docker images). We may want to load from URLs or ConfigMap mounted files.