Java / Spring Boot Stack
Build Java Spring Boot applications with database access, containerization, monitoring, and CI/CD integration.
Token Budget
Moderate token usage. You will have good room for prompts but watch if adding more servers.
Config
Paste in ~/.claude.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
}
},
"docker-mcp": {
"command": "npx",
"args": [
"-y",
"docker-mcp"
]
},
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
},
"sentry-mcp": {
"command": "npx",
"args": [
"-y",
"sentry-mcp"
],
"env": {
"SENTRY_AUTH_TOKEN": "YOUR_SENTRY_AUTH_TOKEN"
}
},
"context7-mcp": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Included Servers
PostgreSQL MCP
Anthropic
Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.
Spring Boot's go-to database. Query schemas, inspect data, and debug JPA mappings without switching to a SQL client.
Docker MCP
Community
Manage Docker containers, images, volumes, and networks. Run, stop, inspect, and monitor containers from your AI editor.
Java apps need containerization for consistent builds. Manage your Docker Compose stack and multi-stage builds inline.
GitHub MCP
Anthropic
Access the GitHub API to manage repositories, issues, pull requests, branches, and workflows directly from your AI editor.
Enterprise Java projects live on rigorous code review. Manage PRs, branch protections, and CI checks from your editor.
Sentry MCP
Sentry
Query Sentry for error tracking, performance monitoring, and issue management directly from your AI editor.
Java stack traces are notoriously verbose. Let your AI assistant parse Sentry errors and pinpoint the actual issue.
Context7 MCP
Upstash
Pull up-to-date documentation and code examples for any library directly into your prompt context using the Context7 API.
Spring Boot's annotation-heavy API changes between versions. Current docs prevent your AI from generating deprecated patterns.