MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getMCPCache

Method getMCPCache

packages/server/src/CachePool.ts:134–139  ·  view source on GitHub ↗

* Get item from mcp toolkit cache pool * @param {string} cacheKey

(cacheKey: string)

Source from the content-addressed store, hash-verified

132 * @param {string} cacheKey
133 */
134 async getMCPCache(cacheKey: string): Promise<any | undefined> {
135 if (process.env.MODE !== MODE.QUEUE) {
136 return this.activeMCPCache[`mcpCache:${cacheKey}`]
137 }
138 return undefined
139 }
140
141 /**
142 * Get item from llm cache pool

Callers 3

getToolsMethod · 0.80
getToolsMethod · 0.80
getToolsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected