Skip to content

Commit 6444639

Browse files
Merge pull request modelcontextprotocol#1447 from tzolov/update-java-skd-to-version-0.12.1
Update the MCP Java SDK version to 0.12.1
2 parents 1d56a1c + dade18c commit 6444639

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

docs/docs/develop/build-client.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -964,12 +964,6 @@ var chatClient = chatClientBuilder
964964
.build();
965965
```
966966

967-
<Warning>
968-
969-
Breaking change: From SpringAI 1.0.0-M8 onwards, use `.defaultToolCallbacks(...)` instead of `.defaultTool(...)` to register MCP tools.
970-
971-
</Warning>
972-
973967
Key features:
974968

975969
- Uses Claude AI model for natural language understanding

docs/sdk/java/mcp-client.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The MCP Client is a key component in the Model Context Protocol (MCP) architectu
2424
- Optional features like roots management and sampling support
2525

2626
<Tip>
27-
The core `io.modelcontextprotocol.sdk:mcp` module provides STDIO, SSE and Streamable-HTTP client transport implementations without requiring external web frameworks.
27+
The core `io.modelcontextprotocol.sdk:mcp` module provides STDIO, Streamable-HTTP and SSE client transport implementations without requiring external web frameworks.
2828

2929
Spring-specific transport implementations are available as an **optional** dependency `io.modelcontextprotocol.sdk:mcp-spring-webflux` for [Spring Framework](https://docs.spring.io/spring-ai/reference/api/mcp/mcp-client-boot-starter-docs.html) users.
3030

docs/sdk/java/mcp-overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The SDK follows a layered architecture with clear separation of concerns:
5757
- **Session Layer (McpSession)**: Manages communication patterns and state using DefaultMcpSession implementation.
5858
- **Transport Layer (McpTransport)**: Handles JSON-RPC message serialization/deserialization via:
5959
- StdioTransport (stdin/stdout) in the core module
60-
- HTTP `SSE` & `Streamable-HTTP` transports in dedicated transport modules (Java HttpClient, Spring WebFlux, Spring WebMVC)
60+
- HTTP `Streamable-HTTP` and `SSE` transports in dedicated transport modules (Java HttpClient, Spring WebFlux, Spring WebMVC)
6161

6262
The [MCP Client](/sdk/java/mcp-client) is a key component in the Model Context Protocol (MCP) architecture, responsible for establishing and managing connections with MCP servers.
6363
It implements the client-side of the protocol.
@@ -140,10 +140,10 @@ Add the following dependencies to your project:
140140
</Tab>
141141
</Tabs>
142142

143-
- `io.modelcontextprotocol.sdk:mcp-spring-webflux` - WebFlux-based Client and Server, `SSE` and `Streamable-HTTP` transport implementations.
143+
- `io.modelcontextprotocol.sdk:mcp-spring-webflux` - WebFlux-based Client and Server, `Streamable-HTTP` and `SSE` transport implementations.
144144
The WebFlux implementation can be used in reactive applications while the WebClient-based MCP Client can be used in both reactive and imperative applications.
145145
It is a highly scalable option and suitable and recommended for high-throughput scenarios.
146-
- `io.modelcontextprotocol.sdk:mcp-spring-webmvc` - WebMVC-based Server, `SSE` and `Streamable-HTTP` transport implementation for servlet-based applications.
146+
- `io.modelcontextprotocol.sdk:mcp-spring-webmvc` - WebMVC-based Server, `Streamable-HTTP` and `SSE` transport implementation for servlet-based applications.
147147

148148
### Bill of Materials (BOM)
149149

@@ -162,7 +162,7 @@ Add the BOM to your project:
162162
<dependency>
163163
<groupId>io.modelcontextprotocol.sdk</groupId>
164164
<artifactId>mcp-bom</artifactId>
165-
<version>0.11.3</version>
165+
<version>0.12.1</version>
166166
<type>pom</type>
167167
<scope>import</scope>
168168
</dependency>
@@ -174,7 +174,7 @@ Add the BOM to your project:
174174
<Tab title="Gradle">
175175
```groovy
176176
dependencies {
177-
implementation platform("io.modelcontextprotocol.sdk:mcp-bom:0.11.3")
177+
implementation platform("io.modelcontextprotocol.sdk:mcp-bom:0.12.1")
178178
//...
179179
}
180180
```

docs/sdk/java/mcp-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The MCP Server is a foundational component in the Model Context Protocol (MCP) a
2323
- Implementing server-side protocol operations
2424
- Managing concurrent client connections
2525
- Providing structured logging, progress tracking, and notifications
26-
- Provides `STDIO`, `SSE`, `Streamable-HTTP` server transport implementations without requiring external web frameworks.
26+
- Provides `STDIO`, `Streamable-HTTP` and `SSE` server transport implementations without requiring external web frameworks.
2727
- **Optional**, Spring-specific transport dependencies `io.modelcontextprotocol.sdk:mcp-spring-webflux`, `io.modelcontextprotocol.sdk:mcp-spring-webmvc` for [Spring AI](https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-starter-docs.html) users.
2828

2929
<Tip>

0 commit comments

Comments
 (0)