Skip to content

Caching hints (ttlMs / cacheScope) #2899

Description

@maxisbey

Tracks: #2802

Emit ttlMs/cacheScope on the six cacheable results with a server-wide default and per-handler override; client just parses/exposes.

What's in it

  • Server-wide default + per-handler override for ttlMs/cacheScope on tools/prompts/resources/templates list, resources/read, and discover.
  • tools/list deterministic ordering (the SHOULD).
  • Client parse/expose helper (wired in by New Client (all-versions, low-level + high-level) #2894).

Conformance

Dependencies

  • Depends on: none

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-2026-07-282026-07-28 MCP spec release workv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions