Skip to content

mcp tools not working with springboot ai 1.1.0-M1 #75

@jbrinnand

Description

@jbrinnand

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions