MCP caching hints
Fields on cacheable MCP results, such as discovery and list results, that tell a client how long it may reuse them and with whom.
In more detail
ttlMs gives the lifetime in milliseconds and cacheScope says whether the cached result may be shared. With them a client can skip repeated list calls, while subscriptions tell it when something changes sooner.
Related terms
- server/discover — The MCP method, new in the 2026-07-28 revision, that returns the protocol versions, capabilities and identity a server supports.
- subscriptions/listen — The MCP method, new in the 2026-07-28 revision, that a client calls to receive notifications when a server's tools, resources or prompts change.
- cache — A store of earlier answers kept close to where they are needed so they can be reused instead of fetched or computed again.
Taught in
- What MCP Is — AI Engineering: LLM Apps, RAG & Agents
- Build An MCP Server — AI Engineering: LLM Apps, RAG & Agents
- Connect An Agent To MCP — AI Engineering: LLM Apps, RAG & Agents