MCP PHP SDK

CacheScope : string

How widely a cacheable result may be reused (SEP-2549).

A security boundary, not a performance knob: public lets shared caches serve the result to other authorization contexts, so anything shaped by who asked must stay private — which is why private is the default throughout.

Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Cases

Private  = 'private'
Reusable only within the same authorization context.
Public  = 'public'
Contains no caller-specific data; any cache may share it.

Cases

Public

Contains no caller-specific data; any cache may share it.

Private

Reusable only within the same authorization context.

On this page

Search results