Module and Package restructoring
- mcp-transport -> mcp-spring - mcp-webflux-sse-transport -> mcp-spring-webflux - pom coordinates changed accordingly - mpc-webmvc-sse-transport -> mcp-spring-webmvc - pom coordinates changed accordingly - docs contains the mdx version of the documentation
This commit is contained in:
parent
7e73152ada
commit
585f30cf33
3 changed files with 51 additions and 133 deletions
|
|
@ -57,8 +57,8 @@ The following dependencies are available and managed by the BOM:
|
|||
|
||||
=== Transport Dependencies
|
||||
|
||||
* `io.modelcontextprotocol.sdk:mcp-webflux-sse-transport` - WebFlux-based Server-Sent Events (SSE) transport implementation for reactive applications.
|
||||
* `io.modelcontextprotocol.sdk:mcp-webmvc-sse-transport` - WebMVC-based Server-Sent Events (SSE) transport implementation for servlet-based applications.
|
||||
* `io.modelcontextprotocol.sdk:mcp-spring-webflux` - WebFlux-based Server-Sent Events (SSE) transport implementation for reactive applications.
|
||||
* `io.modelcontextprotocol.sdk:mcp-spring-webmvc` - WebMVC-based Server-Sent Events (SSE) transport implementation for servlet-based applications.
|
||||
|
||||
=== Testing Dependencies
|
||||
|
||||
|
|
|
|||
|
|
@ -47,13 +47,13 @@ For HTTP SSE transport implementations, add one of the following dependencies
|
|||
<!-- Spring WebFlux-based SSE client and server transport -->
|
||||
<dependency>
|
||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||
<artifactId>mcp-webflux-sse-transport</artifactId>
|
||||
<artifactId>mcp-spring-webflux</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Spring WebMVC-based SSE server transport -->
|
||||
<dependency>
|
||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||
<artifactId>mcp-webmvc-sse-transport</artifactId>
|
||||
<artifactId>mcp-spring-webmvc</artifactId>
|
||||
</dependency>
|
||||
----
|
||||
|
||||
|
|
@ -74,10 +74,10 @@ For HTTP SSE transport implementations, add one of the following dependencies
|
|||
[source,groovy]
|
||||
----
|
||||
// Spring WebFlux-based SSE client and server transport
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-webflux-sse-transport'
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-spring-webflux'
|
||||
|
||||
// Spring WebMVC-based SSE server transport
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-webmvc-sse-transport'
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-spring-webmvc'
|
||||
----
|
||||
======
|
||||
|
||||
|
|
@ -267,7 +267,7 @@ McpTransport transport = new HttpClientSseClientTransport("http://your-mcp-serve
|
|||
SSE (WebFlux)::
|
||||
+
|
||||
Creates WebFlux-based SSE client transport.
|
||||
Requires the `mcp-webflux-sse-transport` dependency.
|
||||
Requires the `mcp-spring-webflux` dependency.
|
||||
+
|
||||
[source,java]
|
||||
----
|
||||
|
|
@ -464,7 +464,7 @@ Provides bidirectional JSON-RPC message handling over standard input/output stre
|
|||
SSE (WebFlux)::
|
||||
+
|
||||
Creates WebFlux-based SSE server transport.
|
||||
Requires the `mcp-webflux-sse-transport` dependency.
|
||||
Requires the `mcp-spring-webflux` dependency.
|
||||
+
|
||||
[source,java]
|
||||
----
|
||||
|
|
@ -492,7 +492,7 @@ Implements the MCP HTTP with SSE transport specification, providing:
|
|||
SSE (WebMvc)::
|
||||
+
|
||||
Creates WebMvc-based SSE server transport.
|
||||
Requires the `mcp-webmvc-sse-transport` dependency.
|
||||
Requires the `mcp-spring-webmvc` dependency.
|
||||
+
|
||||
[source,java]
|
||||
----
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ Core implementation of the Model Context Protocol specification, providing:
|
|||
** Servlet-based SSE server (`HttpServletSseServerTransport`) for HTTP SSE Server streaming using traditional Servlet API
|
||||
|
||||
* *Optional SSE Transports*
|
||||
** link:https://github.com/modelcontextprotocol/java-sdk/tree/main/mcp-transport/mcp-webflux-sse-transport[WebFlux SSE Transport] - Reactive HTTP streaming with Spring WebFlux (Client & Server)
|
||||
** link:https://github.com/modelcontextprotocol/java-sdk/tree/main/mcp-transport/mcp-webmvc-sse-transport[WebMvc SSE Transport] - Spring MVC based SSE transport (Server only).
|
||||
** link:https://github.com/modelcontextprotocol/java-sdk/tree/main/mcp-spring/mcp-spring-webflux[WebFlux SSE Transport] - Reactive HTTP streaming with Spring WebFlux (Client & Server)
|
||||
** link:https://github.com/modelcontextprotocol/java-sdk/tree/main/mcp-spring/mcp-spring-webmvc[WebMvc SSE Transport] - Spring MVC based SSE transport (Server only).
|
||||
You can use the core `HttpClientSseClientTransport` transport as a SSE client.
|
||||
|
||||
== Getting Started
|
||||
|
|
@ -46,13 +46,13 @@ Maven::
|
|||
<!-- Optional: WebFlux SSE transport -->
|
||||
<dependency>
|
||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||
<artifactId>mcp-webflux-sse-transport</artifactId>
|
||||
<artifactId>mcp-spring-webflux</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Optional: WebMVC SSE transport -->
|
||||
<dependency>
|
||||
<groupId>io.modelcontextprotocol.sdk</groupId>
|
||||
<artifactId>mcp-webmvc-sse-transport</artifactId>
|
||||
<artifactId>mcp-spring-webmvc</artifactId>
|
||||
</dependency>
|
||||
|
||||
----
|
||||
|
|
@ -79,8 +79,8 @@ Gradle::
|
|||
----
|
||||
dependencies {
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp' // Core
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-webflux-sse-transport' // Optional
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-webmvc-sse-transport' // Optional
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-spring-webflux' // Optional
|
||||
implementation 'io.modelcontextprotocol.sdk:mcp-spring-webmvc' // Optional
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
|
|||
Loading…
Reference in a new issue