Upgrade Python libraries to mcp 2.2.0, and bump others as well (#197)
This commit is contained in:
parent
5eb3b647d0
commit
ccb4eeef82
1 changed files with 659 additions and 722 deletions
|
|
@ -43,4 +43,4 @@ Without an `ANTHROPIC_API_KEY`, the client still connects, prints the server's t
|
|||
|
||||
The two channels go to different readers: `content` is forwarded to the model, while `structured_content` is used as data — when a tool returns an array, the client counts its items rather than re-reading the prose. See [Structured Content](https://modelcontextprotocol.io/specification/2026-07-28/server/tools#structured-content).
|
||||
|
||||
`Client(transport, mode="auto")` probes `server/discover` and falls back to the `2025-11-25` handshake; `client.protocol_version` reports which era you got. See [Protocol versions](https://py.sdk.modelcontextprotocol.io/v2/protocol-versions/).
|
||||
`Client(server_params, mode="auto")` launches the server from its `StdioServerParameters`, then probes `server/discover` and falls back to the `2025-11-25` handshake; `client.protocol_version` reports which era you got. See [Protocol versions](https://py.sdk.modelcontextprotocol.io/v2/protocol-versions/).
|
||||
|
|
|
|||
Loading…
Reference in a new issue