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/mcp/client.md
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,16 @@ Examples of both are shown below; [mcp-run-python](run-python.md) is used as the
25
25
26
26
### SSE Client
27
27
28
-
[`MCPServerHTTP`][pydantic_ai.mcp.MCPServerHTTP] connects over HTTP using the [HTTP + Server Sent Events transport](https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/transports/#http-with-sse) to a server.
28
+
[`MCPServerHTTP`][pydantic_ai.mcp.MCPServerHTTP] connects over HTTP using the [Streamable HTTP transport](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports) to a server.
29
29
30
30
!!! note
31
31
[`MCPServerHTTP`][pydantic_ai.mcp.MCPServerHTTP] requires an MCP server to be running and accepting HTTP connections before calling [`agent.run_mcp_servers()`][pydantic_ai.Agent.run_mcp_servers]. Running the server is not managed by PydanticAI.
32
32
33
-
The name "HTTP" is used since this implemented will be adapted in future to use the new
34
-
[Streamable HTTP](https://github.com/modelcontextprotocol/specification/pull/206) currently in development.
33
+
The StreamableHTTP Transport is able to connect to both stateless http and sse servers.
35
34
36
-
Before creating the SSE client, we need to run the server (docs [here](run-python.md)):
35
+
Before creating the HTTP client, we need to run the server (docs [here](run-python.md)):
0 commit comments