Learning resourcesReviewed · Model Context Protocol

MCP SEP-2549: TTL for List Results

SEP-2549 explains caching for developers building Model Context Protocol clients, servers and gateways, but its historical text requires checking against the current specification. It describes ttlMs and cacheScope for feature discovery and resource reads, including expiration, notification invalidation and pagination. Conflicting guidance about the default cache scope needs clarification before implementation.

Researched 24 Nov 2026

In short.

SEP-2549 is a caching design document for developers building MCP clients, servers and gateways, but it is a historical record with conflicting cacheScope guidance. It describes response freshness, sharing boundaries, notification invalidation and independent caching of paginated results across five methods. It is useful for understanding the design and planning implementation work. Current protocol requirements, SDK support and performance benefits remain unknown from this page, which provides no reference implementation.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the entire page at [https://modelcontextprotocol.io/seps/2549-TTL-for-list-results.md], including its historical-record notice, schema, semantics, examples, pagination, compatibility, rationale, security discussion and reference-implementation statement. Linked pages, the documentation index, current specification, changelog and pull request are excluded. No implementation was executed and no protocol behavior was tested. Current conformance, SDK support, operational benefits, costs and licensing remain unestablished where the page supplies no evidence.

The overview

identity

SEP-2549, titled TTL for List Results, is a Final Standards Track proposal for Model Context Protocol. The page names Caitie McCaffrey as author and sponsor and gives a creation date of 9 April 2026. The original source is [https://modelcontextprotocol.io/seps/2549-TTL-for-list-results.md].

It introduces a CacheableResult interface extending Result, with ttlMs for freshness and cacheScope for response-sharing boundaries. Despite the title, its scope includes resources/read as well as list methods.

assessment

The document is useful when designing MCP caching, especially where maintaining server-sent event streams for notifications is difficult. It explains how a server can communicate expected freshness and how clients can avoid unnecessary fetches while retaining notification-based invalidation.

The evidence supports a detailed design discussion, but supplies no measurements of request reduction, latency, reliability or operating savings. Its historical status and inconsistent cacheScope guidance limit its use as an implementation authority.

users

Server developers can use it to understand response metadata and freshness choices. Client developers can study cache expiration and invalidation. Gateway developers should pay particular attention to the restriction on serving private cached responses to another user.

Readers benefit from familiarity with MCP request methods, notifications and pagination. The page includes a TypeScript interface and an interaction diagram, but does not provide a beginner introduction to MCP or an SDK walkthrough.

capabilities

The proposed metadata applies to tools/list, prompts/list, resources/list, resources/read and resources/templates/list. ttlMs expresses freshness in milliseconds. cacheScope distinguishes responses that may be shared across users from responses restricted to the requesting user's client.

The design covers immediate staleness, expiration, early invalidation through notifications, optional early refetching and serving stale responses after refetch errors. Paginated responses have separate freshness clocks, while all pages for a given list request must use the same cache scope.

Using it

requirements

Under the proposal, servers must supply a nonnegative ttlMs for the five covered methods. Clients should treat a missing or negative TTL as zero. Existing clients can ignore unfamiliar fields, and the design requires no capability negotiation.

A public response may be cached and served across users. A private response must not be served from a shared cache to another user. The text conflicts on whether an absent cacheScope defaults to public or is prohibited, so the fallback requirement is unresolved within this page. Supported SDK versions and deployment prerequisites are unspecified.

mechanism

TTL means time to live: the period during which a received response is considered fresh. A client records its receipt time, t_received, and considers the result fresh while now < t_received + ttlMs. Zero means immediately stale. After expiration, the client should fetch again when it next needs the result.

Expiration should not itself trigger background polling. Implementations that choose to poll should use jitter and backoff. A relevant notification invalidates the cache before expiration; clients may also refetch early when errors suggest changed data, or serve stale data if refetching fails.

setup

The page provides no installation commands, SDK configuration or reference implementation. Applying its design would involve adding cache metadata to server responses and implementing receipt-time tracking, freshness checks and scope-aware storage in clients or gateways.

Implementers would also need to connect relevant notifications to invalidation and handle pagination. Each page gets its own receipt time and TTL. If a previously valid cursor becomes invalid, the client should discard all cached pages and restart from the beginning. Cache-key construction is not specified.

example

In the page's illustrative sequence, a tools/list response contains ttlMs: 300000, representing five minutes of freshness. A request for the list two minutes later uses the cached response. Once five minutes have elapsed, the next access fetches a new response.

If notifications/tools/list_changed arrives before expiration, the client invalidates the cached list and should refetch regardless of the remaining TTL. The diagram illustrates intended behavior; no implementation was run or tested.

Assessment & evidence

limitations

The cacheScope guidance is internally inconsistent. The schema comment says an absent value defaults to public, while the compatibility section says the field is required because no safe default exists. The example responses also omit it. This ambiguity matters for user-specific data because public caching permits cross-user reuse.

TTL is a freshness estimate, so underlying data may change before it expires. Pagination has no cross-page consistency guarantee and can produce duplicates or gaps. Restarting pagination is the stated recovery approach, but the page does not establish an atomic snapshot mechanism.

The security discussion identifies excessively long TTLs as a stale-data risk and recommends handling unexpected values gracefully. It does not provide concrete maximum TTLs or an algorithm for detecting incorrectly public user-specific responses. Runtime behavior and interoperability are unassessed.

reasoning

Placing freshness metadata in the response body makes the design usable across HTTP, stdio and other transports. HTTP Cache-Control headers alone would not provide that uniform behavior.

TTL and notifications address different timing needs: freshness hints reduce repeated fetches, while notifications can invalidate data immediately. The stated reason for milliseconds is consistency with other MCP TTL uses, including cases requiring sub-second precision. These are design arguments; their operational benefits are not measured here.

alternatives

The page discusses server-push notifications as a complementary approach that provides immediate invalidation. It also preserves existing client caching heuristics and notification handling when older servers omit ttlMs.

HTTP Cache-Control is the closest transport-specific comparison, but the rationale explains that HTTP headers cannot cover stdio and other transports uniformly. DNS TTLs, GraphQL cache controls and gRPC timing hints appear as design comparisons. No competing MCP products or SDK implementations are evaluated.

evidence

The evidence is the complete SEP page at [https://modelcontextprotocol.io/seps/2549-TTL-for-list-results.md]. It contains the proposed TypeScript interface, behavioral rules, a sequence diagram, pagination guidance, compatibility statements, rationale and security discussion.

The page explicitly reports that no reference implementation is available there. It supplies no implementation results, interoperability reports or performance benchmarks. Linked specifications, pull-request discussion and other external material are outside this account.

Access & freshness

costs

The page provides no pricing, implementation-effort estimates or operating-cost figures. Engineering effort, cache-storage requirements and any monetary savings are unknown.

Reducing unnecessary refetches is a design objective. The document provides no benchmark or workload data establishing how much traffic or expense an implementation would save.

rights

The supplied page does not state license or redistribution terms for the documentation or TypeScript excerpt. Those rights are unknown from this evidence.

The public and private cacheScope values describe permitted sharing of cached protocol responses. They do not establish a documentation or software license.

freshness

The page was created on 9 April 2026, and the available snapshot was captured on 24 November 2026. It labels the SEP Final and explicitly preserves it as a historical record of the accepted design, without subsequent protocol changes.

Its notice directs readers to the current specification at [https://modelcontextprotocol.io/specification/latest.md] and its changelog for authoritative requirements. Those linked contents are unavailable here. The current protocol wording, implementing SDK versions and adoption status therefore remain unknown.

actions

Before implementing, compare the design with the current MCP specification and resolve the contradictory cacheScope fallback guidance. Establish whether the intended clients, servers and SDKs support the relevant fields.

For an implementation based on these semantics, verification should cover expiry from receipt time, notification invalidation, missing and negative TTLs, private-response isolation, per-page expiration and invalid cursor recovery. Choose TTLs according to acceptable staleness and expected changes. These are recommended next steps; no execution evidence is available.

Evidence for this report

selected-page.txtselected · checked 2026-11-24