Skip to content

invalidateServerToolsCache

function invalidateServerToolsCache(serverName): Promise<void>;

Remove cached tools for the given server so the next lookup fetches fresh data.

Parameter Type Description

serverName

string

Name of the MCP server whose cache should be cleared.

Promise<void>