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
docs(java): Update Java SDK documentation with improved navigation and version bump
- Update page titles to include Java prefix for clarity
- Remove breaking changes warnings for 0.8.x
- Add cross-navigation links between Java SDK pages
- Add quickstart demo references with tips
- Bump version from 0.9.0 to 0.10.0 in dependency examples
- Fix Tip block formatting in mcp-client.mdx
- Add content overview section to mcp-overview.mdx
Signed-off-by: Christian Tzolov <[email protected]>
Copy file name to clipboardExpand all lines: docs/sdk/java/mcp-client.mdx
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
---
2
-
title: MCP Client
2
+
title: Java MCP Client
3
3
description: Learn how to use the Model Context Protocol (MCP) client to interact with MCP servers
4
4
---
5
5
6
+
Go to the [Java MCP Server](/sdk/java/mcp-server) to learn how to build MCP servers or the [Java MCP Overview](/sdk/java/mcp-overview) to understand the overall architecture.
7
+
6
8
# Model Context Protocol Client
7
9
8
10
The MCP Client is a key component in the Model Context Protocol (MCP) architecture, responsible for establishing and managing connections with MCP servers. It implements the client-side of the protocol, handling:
@@ -16,11 +18,13 @@ The MCP Client is a key component in the Model Context Protocol (MCP) architectu
16
18
- Optional features like roots management and sampling support
17
19
18
20
<Tip>
19
-
20
21
The core `io.modelcontextprotocol.sdk:mcp` module provides STDIO and SSE client transport implementations without requiring external web frameworks.
21
22
22
23
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.
24
+
</Tip>
23
25
26
+
<Tip>
27
+
This [quickstart demo](/quickstart/client), based on Spring AI MCP, you'll show you how to build an AI client that connects to MCP servers.
24
28
</Tip>
25
29
26
30
The client provides both synchronous and asynchronous APIs for flexibility in different application contexts.
Copy file name to clipboardExpand all lines: docs/sdk/java/mcp-overview.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
---
2
-
title: Overview
2
+
title: Java SDK Overview
3
3
description: Introduction to the Model Context Protocol (MCP) Java SDK
4
4
---
5
5
6
6
Java SDK for the [Model Context Protocol](https://modelcontextprotocol.org/docs/concepts/architecture)
7
7
enables standardized integration between AI models and tools.
8
8
9
-
<Note>
9
+
## Content
10
10
11
-
### Breaking Changes in 0.8.x ⚠️
12
-
13
-
**Note:** Version 0.8.x introduces several breaking changes including a new session-based architecture.
14
-
If you're upgrading from 0.7.0, please refer to the [Migration Guide](https://github.com/modelcontextprotocol/java-sdk/blob/main/migration-0.8.0.md) for detailed instructions.
15
-
16
-
</Note>
11
+
-[Introduction](/sdk/java/mcp-overview#features) - Overview of the Model Context Protocol (MCP) Java SDK
12
+
-[Features](/sdk/java/mcp-overview#features) - Overview of the features provided by the Java MCP SDK
13
+
-[Acrchitecture](/sdk/java/mcp-overview#architecture) - Overview of the Java MCP SDK architecture
14
+
-[Java Dependencies](/sdk/java/mcp-overview#dependencies) - Java dependencies required to use the Model Context Protocol (MCP) SDK
15
+
-[Java MCP Client](/sdk/java/mcp-client) - Learn how to use the Model Context Protocol (MCP) client to interact with MCP servers
16
+
-[Java MCP Client](/sdk/java/mcp-client) - Learn how to implement and configure a Model Context Protocol (MCP) server
17
17
18
18
## Features
19
19
@@ -55,12 +55,12 @@ The SDK follows a layered architecture with clear separation of concerns:
55
55
- StdioTransport (stdin/stdout) in the core module
56
56
- HTTP SSE transports in dedicated transport modules (Java HttpClient, Spring WebFlux, Spring WebMVC)
57
57
58
-
The MCP Client is a key component in the Model Context Protocol (MCP) architecture, responsible for establishing and managing connections with MCP servers.
58
+
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.
The MCP Server is a foundational component in the Model Context Protocol (MCP) architecture that provides tools, resources, and capabilities to clients.
63
+
The [MCP Server](/sdk/java/mcp-server) is a foundational component in the Model Context Protocol (MCP) architecture that provides tools, resources, and capabilities to clients.
64
64
It implements the server-side of the protocol.
65
65
66
66

Copy file name to clipboardExpand all lines: docs/sdk/java/mcp-server.mdx
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,9 @@
1
1
---
2
-
title: MCP Server
2
+
title: Java MCP Server
3
3
description: Learn how to implement and configure a Model Context Protocol (MCP) server
4
4
---
5
5
6
-
<Note>
7
-
8
-
### Breaking Changes in 0.8.x ⚠️
9
-
10
-
**Note:** Version 0.8.x introduces several breaking changes including a new session-based architecture.
11
-
If you're upgrading from 0.7.0, please refer to the [Migration Guide](https://github.com/modelcontextprotocol/java-sdk/blob/main/migration-0.8.0.md) for detailed instructions.
12
-
13
-
</Note>
6
+
Go to the [Java MCP Client](/sdk/java/mcp-client) to learn how to build MCP clients or [Java MCP Overview](/sdk/java/mcp-overview) for a general overview of the Model Context Protocol (MCP) in Java.
14
7
15
8
## Overview
16
9
@@ -32,6 +25,11 @@ Spring-specific transport implementations are available as an **optional** depen
32
25
33
26
</Tip>
34
27
28
+
<Tip>
29
+
This [quickstart demo](/quickstart/server), based on Spring AI MCP, you'll show you how to build an MCP server.
30
+
</Tip>
31
+
32
+
35
33
The server supports both synchronous and asynchronous APIs, allowing for flexible integration in different application contexts.
0 commit comments