Spring Boot MCP Server
Connects your existing Java services to AI agents — Claude, GitHub Copilot, Cursor — via SSE (IDE clients) and stdio (CLI clients). Drop in your own
@Toolmethods and your Java backend becomes AI-callable.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Connects your existing Java services to AI agents — Claude, GitHub Copilot, Cursor — via SSE (IDE clients) and stdio (CLI clients). Drop in your own
@Toolmethods and your Java backend becomes AI-callable.
Spring Boot MCP server — connects existing Java services to AI agents (Claude, Copilot, Cursor) via SSE and stdio. Production-ready with database, REST API, and file system tools.
Exposes ready-to-use MCP tools that any MCP-compatible AI agent can call:
git clone https://github.com/anirbandashfx-commits/spring-boot-mcp-server.git
cd spring-boot-mcp-server
cp application.yml.example src/main/resources/application.yml
# Edit application.yml with your DB credentials
mvn spring-boot:run
Or with Docker:
docker compose up
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"spring-boot-mcp": {
"command": "java",
"args": ["-jar", "/absolute/path/to/target/spring-boot-mcp-server.jar"]
}
}
}
Restart Claude Desktop. Look for the 🔨 hammer icon in the chat input — your tools will be listed there.
Start the app first, then add to .vscode/mcp.json:
{
"servers": {
"spring-boot-mcp": {
"type": "sse",
"url": "http://localhost:8080/sse"
}
}
}
Using the wrong transport causes silent connection failures with no useful error message.
@Service
public class MyCustomTools {
@Tool(description = "Describe what this tool does in plain English")
public String myTool(
@ToolParam(description = "What this parameter expects") String input
) {
return result;
}
}
Spring AI auto-registers any @Service with @Tool methods. No extra config needed.
I build these for teams integrating AI agents into existing Spring Boot applications. → Connect on LinkedIn
Spring Boot MCP server — connects existing Java services to AI agents (Claude, Copilot, Cursor) via SSE and stdio. Production-ready with database, REST API, and file system tools.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Spring Boot 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 Spring Boot MCP server — connects existing Java services to AI agents (Claude, Copilot, Cursor) via SSE and stdio. Production-ready with database, REST API, and file system tools.