What are the runtime requirements for Spring MCP Server?
Java 21, Maven 3.9.9, Spring Boot 3.4.4, Spring AI 0.4.0, and the Spring Model Context Protocol Server dependency are required. The application is built and run as a JAR file.
@deepanshu-rawat6
基本信息
A basic implementation of MCP server using Spring Boot
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Spring MCP Server is a Spring Boot application that implements the Model Context Protocol (MCP) to expose data and tools to AI-powered clients. It is built with Spring AI and Spring Model Context Protocol Server, and is intended for developers who want to create secure, two-way connections between their data sources and AI tools like Claude Desktop.
Create a Spring Boot application with the Spring Model Context Protocol Server dependency, define service classes annotated with @Tool, and register tool callbacks in a @Bean method. Build the application with mvn clean package -DskipTests and configure it in claude_desktop_config.json by specifying the Java command and the path to the generated JAR file. Start Claude Desktop to see the installed MCP server and its available tools.
@Tool annotation to expose Java methods as MCP toolsJava 21, Maven 3.9.9, Spring Boot 3.4.4, Spring AI 0.4.0, and the Spring Model Context Protocol Server dependency are required. The application is built and run as a JAR file.
The server uses the stdio transport protocol. Clients such as Claude Desktop are configured to launch the JAR file as a subprocess and communicate via standard input/output.
Tools are defined by annotating methods in a Spring service class with `@Tool(name = "...", description = "...")`. The annotated methods are then registered as tool callbacks using `ToolCallbacks.from(service)` in a Spring `@Bean` method.
Data is defined in Java code within the service class, typically loaded at startup (e.g., via `@PostConstruct`). The README example stores data in a static list inside the service.
The README only demonstrates integration with Claude Desktop. The configuration uses `claude_desktop_config.json`, but the underlying MCP standard could support other clients that implement the same protocol.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Open-source MCP to use Blender with any LLM

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

Model Context Protocol Servers
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论