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
Copy file name to clipboardExpand all lines: docs/docs/concepts/transports.mdx
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,15 +129,7 @@ Use stdio when:
129
129
130
130
### Streamable HTTP
131
131
132
-
<Warning>
133
-
134
-
The SSE Transport has been [**replaced**](http://modelcontextprotocol.io/specification/2025-03-26/changelog#major-changes) with a more
135
-
flexible [Streamable HTTP](http://modelcontextprotocol.io/specification/2025-03-26/basic/transports) transport. Refer to the [Specification](http://modelcontextprotocol.io/specification/2025-03-26/basic/transports)
136
-
and latest SDKs for the most recent information.
137
-
138
-
</Warning>
139
-
140
-
SSE transport enables server-to-client streaming with HTTP POST requests for client-to-server communication.
132
+
The Streamable HTTP transport uses HTTP POST requests for client-to-server communication and optional Server-Sent Events (SSE) streams for server-to-client communication.
Copy file name to clipboardExpand all lines: docs/quickstart/client.mdx
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "For Client Developers"
3
3
description: "Get started building your own client that can integrate with all MCP servers."
4
4
---
5
5
6
-
In this tutorial, you'll learn how to build a LLM-powered chatbot client that connects to MCP servers. It helps to have gone through the [Server quickstart](/quickstart/server) that guides you through the basic of building your first server.
6
+
In this tutorial, you'll learn how to build an LLM-powered chatbot client that connects to MCP servers. It helps to have gone through the [Server quickstart](/quickstart/server) that guides you through the basics of building your first server.
When creating the `ApplicationHostBuilder`, ensure you use `CreateEmptyApplicationBuilder` instead of `CreateDefaultBuilder`. This ensures that the server does not write any additional messages to the console. This is only neccessary for servers using STDIO transport.
1576
+
When creating the `ApplicationHostBuilder`, ensure you use `CreateEmptyApplicationBuilder` instead of `CreateDefaultBuilder`. This ensures that the server does not write any additional messages to the console. This is only necessary for servers using STDIO transport.
.resources(false, true) // Enable resource support
72
+
.tools(true) // Enable tool support
73
+
.prompts(true) // Enable prompt support
74
+
.logging() // Enable logging support
75
+
.completions() // Enable completions support
75
76
.build())
76
77
.build();
77
78
@@ -507,7 +508,7 @@ var mcpServer = McpServer.async(mcpServerTransportProvider)
507
508
</Tabs>
508
509
509
510
The `McpSchema.CompletionReference` definition defines the type (`PromptRefernce` or `ResourceRefernce`) and the identifier for the completion specification (e.g handler).
510
-
The handler function processes requests and returns the complition response.
511
+
The handler function processes requests and returns the completion response.
511
512
The first argument is `McpAsyncServerExchange` for client interaction, and the second argument is a `CompleteRequest` instance.
512
513
513
514
Check the [using completion](/sdk/java/mcp-client#using-completion) to learn how to use the completion capabilities on the client side.
0 commit comments