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

Function serverCacheKey

apps/sim/lib/mcp/service.ts:45–47  ·  view source on GitHub ↗
(workspaceId: string, serverId: string)

Source from the content-addressed store, hash-verified

43const logger = createLogger('McpService')
44
45function serverCacheKey(workspaceId: string, serverId: string): string {
46 return `workspace:${workspaceId}:server:${serverId}`
47}
48
49function failureCacheKey(workspaceId: string, serverId: string): string {
50 return `workspace:${workspaceId}:server:${serverId}:failure`

Callers 4

constructorMethod · 0.85
discoverToolsMethod · 0.85
clearCacheMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected