Spring Boot
БесплатноНе проверен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
Описание
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.
README
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.
What it does
Exposes ready-to-use MCP tools that any MCP-compatible AI agent can call:
| Tool | What it does | Try asking Claude |
|---|---|---|
queryDatabase |
Read-only SQL with SELECT guard | "Show me the 5 most recent orders" |
listFiles |
Browse sandboxed workspace files | "What files are in the reports folder?" |
readFile |
Read file contents from workspace | "Read the contents of config.json" |
getCustomer |
Fetch customer from CRM REST API | "Get details for customer ID abc-123" |
searchOrders |
Filter orders by status | "Show me all PENDING orders" |
Quick start
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
Connect to Claude Desktop (stdio)
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.
Connect to VS Code / Cursor (SSE)
Start the app first, then add to .vscode/mcp.json:
{
"servers": {
"spring-boot-mcp": {
"type": "sse",
"url": "http://localhost:8080/sse"
}
}
}
The transport rule (saves you hours of debugging)
| Client | Transport | Use this |
|---|---|---|
| Claude Desktop, Claude Code CLI | stdio | command: java -jar ... |
| VS Code, Cursor, Windsurf | SSE | url: http://localhost:8080/sse |
Using the wrong transport causes silent connection failures with no useful error message.
Add your own tools
@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.
Built with
- Java 21 + Spring Boot 3.4
- Spring AI 1.0 MCP Server
- Tested: Claude Desktop (stdio), VS Code Agent mode (SSE)
Need a custom MCP server for your Java team?
I build these for teams integrating AI agents into existing Spring Boot applications. → Connect on LinkedIn
from github.com/anirbandashfx-commits/spring-boot-mcp-server
Установка Spring Boot
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/anirbandashfx-commits/spring-boot-mcp-serverFAQ
Spring Boot MCP бесплатный?
Да, Spring Boot MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Spring Boot?
Нет, Spring Boot работает без API-ключей и переменных окружения.
Spring Boot — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Spring Boot в Claude Desktop, Claude Code или Cursor?
Открой Spring Boot на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolRedis
Interact with Redis key-value stores.
автор: modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
автор: modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
автор: raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
автор: tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
автор: julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
автор: drakonkatCompare Spring Boot with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
