Back to Home
andrlange icon

spring-documentation-mcp-server

Verified Safe

by andrlange

Overview

Provides an AI-driven Model Context Protocol (MCP) server for comprehensive access to Spring ecosystem documentation, migration guides, code examples, and project compatibility, serving as a knowledge base and tool integration for AI agents.

Installation

Run Command
./mvnw spring-boot:run

Environment Variables

  • DB_USER
  • DB_PASSWORD
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • OPENAI_API_KEY
  • OLLAMA_BASE_URL
  • GITHUB_API_TOKEN
  • MCP_SECURITY_API_KEY
  • MCP_FEATURES_EMBEDDINGS_ENABLED
  • MCP_FEATURES_JAVADOCS_ENABLED
  • MCP_FEATURES_OPENREWRITE_ENABLED
  • MCP_FEATURES_INITIALIZR_ENABLED
  • MCP_FEATURES_FLAVORS_ENABLED
  • MCP_FEATURES_LANGUAGE_EVOLUTION_ENABLED

Security Notes

The application leverages Spring Security for API key-based authentication, with hashed storage of API keys. External API integrations (OpenAI, Ollama, GitHub, spring.io) use externalized API keys from environment variables or properties, which is good practice. Extensive data fetching from external sources is handled with timeouts and retry mechanisms. HTML parsing for documentation relies on Jsoup, which is generally robust, but processing untrusted HTML can introduce risks for unexpected behavior. No direct code injection or SQL injection vulnerabilities are apparent from the provided truncated source code. Overall, it follows standard Spring Boot security practices for an application of this complexity, but a comprehensive review of all third-party dependencies and their configurations would be essential for production deployment.

Similar Servers

Stats

Interest Score81
Security Score8
Cost ClassHigh
Avg Tokens50
Stars103
Forks23
Last Update2026-01-15

Tags

Spring BootAI AgentsDocumentationMigrationCode ExamplesAPISemantic SearchEmbeddingsMonitoringSchedulingAdmin UI