You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,26 @@
1
-
# Spring AI MCP
1
+
# Java & Spring MCP
2
2
3
3
Java SDK for the Model Context Protocol (MCP), providing seamless integration between Java and Spring applications and MCP-compliant AI resources and tools.
4
4
5
5
## Overview
6
6
7
-
Spring AI MCP is an experimental project that provides Java and Spring Framework integration for the [Model Context Protocol](https://modelcontextprotocol.org/docs/concepts/architecture). It enables Java applications to interact with AI models and tools through a standardized interface, supporting both synchronous and asynchronous communication patterns.
7
+
Experimental project that provides Java and Spring Framework integration for the [Model Context Protocol](https://modelcontextprotocol.org/docs/concepts/architecture). It enables Java applications to interact with AI models and tools through a standardized interface, supporting both synchronous and asynchronous communication patterns.
The core module provides a Java implementation of the Model Context Protocol specification. It includes:
18
18
- Synchronous and asynchronous client implementations
19
19
- Standard MCP operations support (tool discovery, resource management, prompt handling). Support for request and notificaiotn handling.
20
20
-[Stdio](https://spec.modelcontextprotocol.io/specification/basic/transports/#stdio) and [SSE](https://spec.modelcontextprotocol.io/specification/basic/transports/#http-with-sse) transport implementations.
McpTransport transport =newSseClientTransport(webClientBuilder);
63
-
64
-
// Or with custom ObjectMapper
65
-
ObjectMapper mapper =newObjectMapper();
66
-
McpTransport transport =newSseClientTransport(webClientBuilder, mapper);
67
64
```
68
65
69
66
The SSE transport provides:
@@ -74,52 +71,14 @@ The SSE transport provides:
74
71
- Graceful shutdown handling
75
72
- Configurable JSON serialization
76
73
77
-
### Roots List Support
78
-
79
-
The SDK supports the MCP roots list capability, which allows servers to understand which directories and files they have access to. Clients can provide a list of root directories/files and notify servers when this list changes.
80
-
81
-
#### Features
82
-
- Define root providers that supply filesystem access boundaries
@@ -261,7 +215,44 @@ The SDK follows a layered architecture with clear separation of concerns:
261
215
- Execution handling with timeout support
262
216
- Result processing with error handling
263
217
264
-
### Change Notifications
218
+
### Roots List Support
219
+
220
+
The SDK supports the MCP roots list capability, which allows servers to understand which directories and files they have access to. Clients can provide a list of root directories/files and notify servers when this list changes.
221
+
222
+
#### Features
223
+
- Define root providers that supply filesystem access boundaries
<description>Demo project for Spring Boot</description>
13
+
<name>Java MCP SDK</name>
14
+
<description>Core Java implementation of the Model Context Protocol (MCP) specification, providing synchronous and asynchronous clients, server implementations (coming in 0.3.0), with support for tool discovery, resource management, and multiple transport implementations</description>
0 commit comments