MCPcopy Create free account
hub / github.com/codeaashu/claude-code / clearClaudeAIMcpConfigsCache

Function clearClaudeAIMcpConfigsCache

src/services/mcp/claudeai.ts:140–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 * Call this after login so the next fetch will use the new auth tokens.
139 */
140export function clearClaudeAIMcpConfigsCache(): void {
141 fetchClaudeAIMcpConfigsIfEligible.cache.clear?.()
142 // Also clear the auth cache so freshly-authorized servers get re-connected
143 clearMcpAuthCache()
144}
145
146/**
147 * Record that a claude.ai connector successfully connected. Idempotent.

Callers 1

loadAndConnectMcpConfigsFunction · 0.85

Calls 2

clearMcpAuthCacheFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected