f / f/mcptools
mcp tools not working with springboot ai 1.1.0-M1
Open
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
springboot ai 1.1.0-M1 is a new version of springboot ai and uses McpTool annotation instead of Tool to annotate methods. It looks like mcp tools is not able to read the tools when this annotation is present.
For example:
Accessing the server on the command line:
`mcp tools http://localhost:8898/mcp
Error: unexpected status code: 400
Example: mcp tools npx -y @modelcontextprotocol/server-filesystem ~`
However the npx inspector can access the server and run the tools successfully
So - why does mcp tools not work but the npx inspector connects and runs the tools successfully?
Thanks in advance
Contributor guide
Assessment
This issue has not been assessed yet.