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

Method read

cli/src/mcp/cache.ts:20–20  ·  view source on GitHub ↗
(endpoint: string)

Source from the content-addressed store, hash-verified

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}

Callers 2

cache.test.tsFile · 0.65
loadPersistentCacheMethod · 0.65

Implementers 1

FileLearnSessionCacheStorecli/src/mcp/cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected