Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit 3725c3f

Browse files
committed
Update main README
1 parent 830fc1b commit 3725c3f

File tree

1 file changed

+35
-11
lines changed

1 file changed

+35
-11
lines changed

README.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@ Java implementation of the Model Context Protocol specification. It includes:
1313
- Synchronous and asynchronous [MCP Client](https://github.com/spring-projects-experimental/spring-ai-mcp/blob/main/mcp/README.md#client-usage-examples) and [MCP Server](https://github.com/spring-projects-experimental/spring-ai-mcp/blob/main/mcp/README.md#server-usage-examples) implementations
1414
- Standard MCP operations support (tool discovery, resource management, prompt handling, structured logging). Support for request and notification handling.
1515
- [Stdio](https://spec.modelcontextprotocol.io/specification/basic/transports/#stdio) and [SSE](https://spec.modelcontextprotocol.io/specification/basic/transports/#http-with-sse) transport implementations.
16-
- [Find more](./mcp/README.md).
16+
17+
### MCP Transports
18+
19+
#### Core Transports
20+
- Stdio-based (`StdioClientTransport`, `StdioServerTransport`) for process-based communication
21+
- Java HttpClient-based SSE client (`HttpClientSseClientTransport`) for HTTP streaming
22+
23+
#### Optional SSE Transports
24+
- [WebFlux SSE Transport](https://github.com/spring-projects-experimental/spring-ai-mcp/tree/main/mcp-transport/mcp-webflux-sse-transport) - Reactive HTTP streaming with Spring WebFlux (Client & Server)
25+
- [WebMvc SSE Transport](https://github.com/spring-projects-experimental/spring-ai-mcp/tree/main/mcp-transport/mcp-webmvc-sse-transport) - Servlet-based HTTP streaming (Server only).
26+
Use the core `HttpClientSseClientTransport` for SSE clients.
1727

1828
### [Spring AI MCP](https://docs.spring.io/spring-ai-mcp/reference/spring-mcp.html)
1929

@@ -28,14 +38,28 @@ The Spring integration module provides Spring-specific functionality:
2838
Add the following dependencies to your Maven project:
2939

3040
```xml
31-
<!-- For core MCP functionality -->
41+
<!-- Core MCP -->
3242
<dependency>
3343
<groupId>org.springframework.experimental</groupId>
3444
<artifactId>mcp</artifactId>
3545
<version>0.5.0-SNAPSHOT</version>
3646
</dependency>
3747

38-
<!-- For Spring AI integration -->
48+
<!-- Optional: WebFlux SSE transport -->
49+
<dependency>
50+
<groupId>org.springframework.experimental</groupId>
51+
<artifactId>mcp-webflux-sse-transport</artifactId>
52+
<version>0.5.0-SNAPSHOT</version>
53+
</dependency>
54+
55+
<!-- Optional: WebMVC SSE transport -->
56+
<dependency>
57+
<groupId>org.springframework.experimental</groupId>
58+
<artifactId>mcp-webmvc-sse-transport</artifactId>
59+
<version>0.5.0-SNAPSHOT</version>
60+
</dependency>
61+
62+
<!-- Optional: Spring AI integration -->
3963
<dependency>
4064
<groupId>org.springframework.experimental</groupId>
4165
<artifactId>spring-ai-mcp</artifactId>
@@ -48,14 +72,14 @@ Add this repository to your POM:
4872

4973
```xml
5074
<repositories>
51-
<repository>
52-
<id>spring-milestones</id>
53-
<name>Spring Milestones</name>
54-
<url>https://repo.spring.io/libs-milestone-local</url>
55-
<snapshots>
56-
<enabled>false</enabled>
57-
</snapshots>
58-
</repository>
75+
<repository>
76+
<id>spring-milestones</id>
77+
<name>Spring Milestones</name>
78+
<url>https://repo.spring.io/milestone</url>
79+
<snapshots>
80+
<enabled>false</enabled>
81+
</snapshots>
82+
</repository>
5983
</repositories>
6084
```
6185

0 commit comments

Comments
 (0)