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
{{ message }}
Repository navigation
[Server][Schema] SEP-2549: ttlMs and cacheScope on list/read results #354
2026-07-28All issues and PRs related to the spec release 2026-07-28SchemaIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScript
Tracked by umbrella #336. Fully additive, non-breaking.
Spec summary
Adds ttlMs (freshness lifetime) and cacheScope (who may cache: private, shared, etc.) to results of tools/list, prompts/list, resources/list, resources/read, and resources/templates/list. Coexists with existing notifications/list_changed.
src/Capability/Registry/Registry.php and list handlers (src/Server/Handler/Request/List*Handler.php) — accept TTL/scope config (via Builder or per-capability attributes).
src/Server/Builder.php — add global defaults like setListTtlMs(int), setListCacheScope(CacheScope).
Consider new #[Cacheable(ttlMs: ..., scope: ...)] attribute under src/Capability/Attribute/.
Client-side honoring is optional and can be a follow-up.
2026-07-28All issues and PRs related to the spec release 2026-07-28SchemaIssues & PRs related to the Schema componentServerIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScript
Activity
chr-hertel commentedon Aug 19, 2026
Implemented via #450.
CachePolicy+Rev2026Codec::fillCacheHints()applyttlMs/cacheScopeat the wire layer for every cacheable method.