Westfield Spring Boot Standards MCP Server
Westfield Spring Boot Standards - MCP Server
MCP server that serves Spring Boot development standards to Claude Code.
Quick Start
uv sync
uv run context_server.py --transport sseSSE Endpoint: http://localhost:8000/sse
Docker Deployment
docker build -t westfield-springboot-standards .
docker run -p 8000:8000 westfield-springboot-standardsDeveloper Configuration
Add .mcp.json to your project:
Local:
{
"mcpServers": {
"westfield-standards": {
"url": "http://localhost:8000/sse"
}
}
}Behind Gravitee:
{
"mcpServers": {
"westfield-standards": {
"url": "https://api.yourcompany.com/mcp/springboot/sse"
}
}
}Endpoints
Path | Purpose |
| MCP SSE endpoint for Claude Code |
| Health check for Kubernetes probes |
Kubernetes Deployment
livenessProbe:
httpGet:
path: /health
port: 8000
readinessProbe:
httpGet:
path: /health
port: 8000Gravitee Gateway Setup
Route /mcp/springboot/sse → http://backend:8000/sse
Important: Configure for SSE (Server-Sent Events):
Disable request timeout or set very high
Disable response buffering
Enable keep-alive
Available Resources
Quick Start
Resource | Description |
| Condensed guide for new developers |
Core Standards
Resource | Description |
| Main instructions (intro.md) |
| Package structure guide |
| REST controller patterns |
| Service layer patterns |
| DTO patterns |
| External API integration |
Enterprise Standards
Resource | Description |
| Tracing, metrics, logging |
| Error responses |
| Caching, pooling, async |
Resilience (full or focused)
Resource | Description |
| Full resilience guide |
| Circuit breaker patterns |
| Retry patterns |
| Bulkhead isolation |
Testing (full or focused)
Resource | Description |
| Full testing guide |
| Unit test patterns |
| WireMock, TestContainers |
| Pact contract testing |
Tools
list_standards()- List all available standardssearch_standards(query)- Search for a keywordget_quick_reference()- Quick reference card