
Spring Boot based MCP Server provide full Spring Ecosystem Documentation for LLMs
概览
A comprehensive Spring Boot application that serves as a Model Context Protocol (MCP) Server, providing AI assistants with full-text searchable access to Spring ecosystem documentation via Server-Sent Events (SSE). This MCP server enables AI assistants (like Claude) to search, browse, and retrieve Spring Framework documentation, code examples, and API references. It includes: - : SSE-based protocol implementation using Spring AI - : Automated synchronization from spring.io - : PostgreSQL-powered search across all Spring documentation - : Thymeleaf-based interface for managing projects, versions, and documentation - : Searchable repository of Spring code snippets Login - Secure authentication with Spring Security Dashboard - Overview statistics and quick actions Spring Boot - Spring Boot project management Projects - All Spring projects overview Project Details - Spring Batch project details Versions - Version management and tracking Documentation - Full-text search and browse Code...
README
以下为原文 README 节选,完整内容请查看原文。
Spring Documentation MCP Server
A comprehensive Spring Boot application that serves as a Model Context Protocol (MCP) Server, providing AI assistants with full-text searchable access to Spring ecosystem documentation via Server-Sent Events (SSE).
What is this?
This MCP server enables AI assistants (like Claude) to search, browse, and retrieve Spring Framework documentation, code examples, and API references. It includes:
- MCP Server: SSE-based protocol implementation using Spring AI
- Documentation Sync: Automated synchronization from spring.io
- Full-Text Search: PostgreSQL-powered search across all Spring documentation
- Web Management UI: Thymeleaf-based interface for managing projects, versions, and documentation
- Code Examples: Searchable repository of Spring code snippets
Screenshots
Login - Secure authentication with Spring Security
Dashboard - Overview statistics and quick actions
Spring Boot - Spring Boot project management
Projects - All Spring projects overview
Project Details - Spring Batch project details
Versions - Version management and tracking
Documentation - Full-text search and browse
Code Examples - Searchable code snippets library with language and tag filters
Settings - Application configuration, scheduler, and sync controls
Documentation Markdown - Expanded Spring Batch documentation content
MCP Inspector - MCP Inspector connected to Spring Documentation MCP Server
安装
npx @modelcontextprotocol/inspector配置
{
"mcpServers": {
"spring-documentation": {
"type": "sse",
"url": "http://localhost:8080/mcp/spring/sse",
"headers": {
"X-API-Key": "YOUR_API_KEY_HERE"
}
}
}
}