Spring AI 1.1.0-M1
spring.ai.mcp.server.protocol=stateless
@Component
class MyTools {
@McpTool(description = "say hello")
fun hello(@ToolParam(description = "name") name: String): String =
"Hello $name!"
}
List tools returns an empty array.
Works with:
spring.ai.mcp.server.protocol=streamable
Comment From: jamesward
I believe this is now fixed