MCPcopy Index your code
hub / github.com/codeaashu/claude-code / clearMcpAuthCache

Function clearMcpAuthCache

src/services/mcp/client.ts:311–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309}
310
311export function clearMcpAuthCache(): void {
312 authCachePromise = null
313 void unlink(getMcpAuthCachePath()).catch(() => {
314 // Cache file may not exist
315 })
316}
317
318/**
319 * Spread-ready analytics field for the server's base URL. Calls

Callers 2

callFunction · 0.85

Calls 2

unlinkFunction · 0.85
getMcpAuthCachePathFunction · 0.85

Tested by

no test coverage detected