MCPcopy Create free account
hub / github.com/MicrosoftDocs/mcp / LearnSessionCacheStore

Interface LearnSessionCacheStore

cli/src/mcp/cache.ts:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19export interface LearnSessionCacheStore {
20 read(endpoint: string): Promise<LearnSessionCacheValue | undefined>;
21 write(value: { endpoint: string; sessionId?: string; tools?: ListedTool[] }): Promise<LearnSessionCacheValue>;
22 clear(endpoint: string): Promise<void>;
23}
24
25interface CacheFileShape {
26 version: number;

Callers 7

cache.test.tsFile · 0.65
loadPersistentCacheMethod · 0.65
cache.test.tsFile · 0.65
createDefaultContextFunction · 0.65
persistCacheMethod · 0.65
ensureConnectedMethod · 0.65
resetConnectionMethod · 0.65

Implementers 1

FileLearnSessionCacheStorecli/src/mcp/cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected