Agents SDK mcp.Client mode auto against Sume's MCP server
With MCP Python SDK v2, the Agents SDK probes the newest protocol and falls back to initialize. Sume's hosted server still serves initialize with 2025-11-25.

An Agents SDK connection using mcp.Client(mode="auto") probes for the newest protocol and falls back to the legacy initialize handshake for older servers. Sume's hosted MCP server is such a server: it serves initialize and negotiates among 2025-03-26, 2025-06-18 and 2025-11-25.
Vendor facts are from the Agents SDK release notes; Sume facts from the MCP server source and the MCP quickstart, read 2026-10-01. The raw handshake is covered in the discover RPC post.
What does the Agents SDK release say?
Local MCP connections now support MCP Python SDK v2 while keeping v1 compatibility through mcp>=1.19.0,<3. With v2 installed, stdio, SSE and Streamable HTTP connections use mcp.Client(mode="auto"). Custom httpx.Auth objects or httpx.AsyncClient factories must move to httpx2, or you pin mcp<2.
What does Sume negotiate?
| Behavior | Value |
|---|---|
| Supported versions | 2025-03-26, 2025-06-18, 2025-11-25 |
initialize server name | sume-remote-mcp |
| Version header not in the list | 400, "Unsupported MCP protocol version." |
| Endpoint | https://mcp.sume.com/mcp |
How do I confirm the connection works?
After connecting, list tools and call mcp_health, which the quickstart describes as confirming endpoint, auth source and safety posture. If tools are missing, check the auth header first, then the negotiated version.
Do I need to pin mcp below 2?
Not for Sume's protocol versions on the evidence above; the fallback exists for this case. You may still need httpx2 migration for custom auth, which is an Agents SDK matter, not a Sume one.
Sources
Related posts
More in Developers
- OpenAI Agents Python MCP error content: reading Sume tool errors
openai-agents-python v0.20.0 keeps MCP error content with structured output. Sume tool failures arrive as isError text with code, message and http_status.
- OpenAI Agents Python MCP non-text content as JSON: Sume results
openai-agents-python v0.20.0 serializes non-text MCP blocks as JSON. Sume tool results are text blocks, with media delivered as URLs inside the JSON.
- OpenAI Agents Python MCP backoff ceiling vs Sume retry-after
Set the MCP retry backoff ceiling low enough that a Sume 429 with retry-after is honored first, and never retry a paid create without its idempotency key.
- Agents SDK approve_unsafe_replay with Sume paid calls
approve_unsafe_replay resends a model request, not a Sume tool call. Sume paid and write tools need a stable idempotency_key; keep it fixed on a repeat.
Written by Sume