MCPcopy Create free account
hub / github.com/Noumena-Network/code / getMcpAuthCachePath

Function getMcpAuthCachePath

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

Source from the content-addressed store, hash-verified

270type McpAuthCacheData = Record<string, { timestamp: number }>
271
272function getMcpAuthCachePath(): string {
273 return join(getClaudeConfigHomeDir(), 'mcp-needs-auth-cache.json')
274}
275
276// Memoized so N concurrent isMcpAuthCached() calls during batched connection
277// share a single file read instead of N reads of the same file. Invalidated

Callers 3

getMcpAuthCacheFunction · 0.85
setMcpAuthCacheEntryFunction · 0.85
clearMcpAuthCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected