Spring AI MCP
Java SDK for seamless integration between Java and Spring applications and MCP-compliant AI models and tools
🔌 MCP Tools
Overview
Spring AI MCP
Description:
Java SDK providing seamless integration between Java/Spring apps and AI model tools
Category: SDK/Integration
Overview: Spring AI MCP is an experimental project built on Java 17+ that enables standardized interaction with AI models through two main components:
-
Core Module (spring-ai-mcp-core):
- Synchronous/asynchronous client implementations
- Standard operations support
- Stdio-based server transport
- Project Reactor support
-
Spring Module (spring-ai-mcp-spring):
- Function calling system integration
- Spring-friendly client abstractions
- JSON/Java object conversion
Requirements:
- Java 17+
- Maven 3.6+
- Spring AI 1.0.0-M4+
Installation:
<!-- Core MCP functionality -->
<dependency>
<groupId>org.springframework.experimental</groupId>
<artifactId>spring-ai-mcp-core</artifactId>
<version>0.2.0-SNAPSHOT</version>
</dependency>
<!-- Spring integration -->
<dependency>
<groupId>org.springframework.experimental</groupId>
<artifactId>spring-ai-mcp-spring</artifactId>
<version>0.2.0-SNAPSHOT</version>
</dependency>
Server Configuration:
{
"mcp-server-spring": {
"command": "java",
"args": ["-jar", "spring-ai-mcp.jar"],
"env": {
"SPRING_AI_API_KEY": "YOUR_API_KEY"
}
}
}
Notable Features:
- SQLite integration examples
- Filesystem interaction capabilities
- Brave Search integration
- Interactive chatbot functionality
The project is under active development with Apache License 2.0.