MCP Server Resource Templates #4231
ben-gineer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to implement a resource template in my MCP Server. I've looked at the example here:
https://docs.spring.io/spring-ai/reference/1.1-SNAPSHOT/api/mcp/mcp-stdio-sse-server-boot-starter-docs.html#_resources
And here:
https://medium.com/@tanbumails/exposing-resources-in-mcp-server-with-spring-ai-efbdfab1eaeb
But I'm not clear on how Resource Templates would be exposed. I see this blog related to this:
https://dzone.com/articles/logging-mcp-protocol-when-using-stdio-part-ii
And the source: https://github.com/teq-niq/mcp-stdio-logging/blob/main/mymcpserver/src/main/java/com/eg/mcp/providers/others/StoreMcpResourceProvider.java
But this isn't pure Spring AI MCP.
Are there any basic examples that show how I would define a resource template?
Many thanks,
Ben
Beta Was this translation helpful? Give feedback.
All reactions