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

Method clear

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

Source from the content-addressed store, hash-verified

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 {

Callers 2

ensureConnectedMethod · 0.65
resetConnectionMethod · 0.65

Implementers 1

FileLearnSessionCacheStorecli/src/mcp/cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected