-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
Environment
- Spring Tools Version: 5.0.1.RELEASE (Build Id: 202512192126, Revision: ac8ca43)
- IDE: Spring Tool Suite for Eclipse
- OS: TUXEDO OS 24.04 (Ubuntu-based)
- MCP Client: Claude Code CLI (Anthropic)
Problem
MCP tools execute without errors but return empty/no data when called from an external MCP client.
Steps to Reproduce
- Enable embedded MCP server in STS preferences (AI section)
- Restart STS with a Spring Boot project open (multi-module Maven project)
- Configure Claude Code to connect:
"spring-tools-mcp": { "url": "http://127.0.0.1:50627/sse", "type": "sse" }
- Call any MCP tool, e.g.:
getProjectList()(no parameters)getSpringBootVersion(projectName: "my-project")getRequestMappings(projectName: "my-project")
Expected Behavior
Tools should return data, e.g. getProjectList() returns:
[{"name": "my-spring-project", ...}]Actual Behavior
- Tools are discovered correctly by the MCP client
- Tool execution completes without error
- Response is empty/null (no data returned)
Additional Context
- MCP connection works (tools are listed and callable)
- Project visible in Package Explorer and Boot Dashboard
- Spring indexing completed
- Tested with different project name variations
Questions
- Is there debug logging available for MCP tool execution?
- Are there specific prerequisites for projects to be recognized by the MCP server?
- Does the MCP server require a specific project structure or import method?