f / f/mcptools

mcp tools not working with springboot ai 1.1.0-M1

Open
#75 4 comments 0 reactions 0 assignees View on GitHub
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

Image

So - why does mcp tools not work but the npx inspector connects and runs the tools successfully?

Thanks in advance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.