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
Thread protocol_version through Client and default CacheableResult to immediately-stale private
- Client gains protocol_version: str | None; threads to ClientSession and
streamable_http_client. The interaction-suite connect factories forward
the parameter they already accepted.
- CacheableResult defaults to ttl_ms=0, cache_scope="private" so list/read
results constructed without explicit hints validate against the 2026-07-28
surface and never accidentally enable shared caching.
- TRANSPORT_SPEC_VERSIONS era-locks in-memory and streamable-http-stateless
to 2025-11-25 (the former pending a modern in-memory entry; the latter
collapses into stateful at the newer revision).
Copy file name to clipboardExpand all lines: docs/migration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1241,7 +1241,7 @@ If you relied on extra fields round-tripping through MCP types, move that data i
1241
1241
1242
1242
### 2025-11-25 and 2026-07-28 protocol fields modeled
1243
1243
1244
-
`mcp.types` models the 2025-11-25 and 2026-07-28 protocol fields (e.g. `resultType`, `ttlMs`/`cacheScope` on cacheable results, `inputResponses`/`requestState` on retried requests), so inbound payloads carrying these keys parse into typed fields and round-trip. `ttlMs`/`cacheScope` default to `None`; `resultType` defaults to `"complete"` on concrete results (`None` on `EmptyResult`); the server strips all of them from the wire at pre-2026 versions.
1244
+
`mcp.types` models the 2025-11-25 and 2026-07-28 protocol fields (e.g. `resultType`, `ttlMs`/`cacheScope` on cacheable results, `inputResponses`/`requestState` on retried requests), so inbound payloads carrying these keys parse into typed fields and round-trip. `ttlMs`/`cacheScope` default to `0`/`"private"` (immediately stale, not shared-cacheable); `resultType` defaults to `"complete"` on concrete results (`None` on `EmptyResult`); the server strips all of them from the wire at pre-2026 versions.
1245
1245
1246
1246
### `streamable_http_app()` available on lowlevel Server
0 commit comments