MCPcopy Index your code
hub / github.com/simstudioai/sim / getMcpCacheType

Function getMcpCacheType

apps/sim/lib/mcp/storage/factory.ts:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 * Get the current adapter type for logging/debugging
38 */
39export function getMcpCacheType(): 'redis' | 'memory' {
40 const redis = getRedisClient()
41 return redis ? 'redis' : 'memory'
42}
43
44/**
45 * Reset the cached adapter.

Callers 1

constructorMethod · 0.90

Calls 1

getRedisClientFunction · 0.90

Tested by

no test coverage detected