A curated collection of MCP (Model Context Protocol) servers for AI-powered Java development.
The Model Context Protocol (MCP) is an open protocol that enables AI models like Claude Code to connect with external tools. This repository focuses on Java Spring Boot MCP servers that supercharge your Java development workflow.
Turns Claude Code into a Java Spring Boot code generation machine.
| Tool | What it does |
|---|---|
spring_generate |
Generates Entity, Repository, Service, Controller, DTO, Config — real working Java code |
java_compile |
Compiles Java source code |
health_check |
Checks server health status |
git clone https://github.com/SoberChina/mcp-hub.git
cd mcp-hub/servers/java-spring-mcp
mvn clean package -DskipTestsAdd this to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"java-spring-mcp": {
"command": "java",
"args": ["-jar", "/path/to/java-spring-mcp-1.0.0.jar"]
}
}
}In Claude Code, just say:
"Create a User entity with username, email, and password fields, then generate the full CRUD stack"
The MCP server will generate all the Spring Boot code for you.
| Document | Description |
|---|---|
| Quick Start Guide | Fast-track setup in 5 minutes |
| Tools Reference | All available tools and their parameters |
| Examples | Real-world usage examples |
| Contributing | How to add your own MCP server |
Contributions welcome! Read CONTRIBUTING.md to learn how to add your MCP server.
Built with ❤️ by SoberChina