( name: string, serverRef: ScopedMcpServerConfig, )
| 580 | * @returns Cache key string |
| 581 | */ |
| 582 | export function getServerCacheKey( |
| 583 | name: string, |
| 584 | serverRef: ScopedMcpServerConfig, |
| 585 | ): string { |
| 586 | return `${name}-${jsonStringify(serverRef)}` |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * TODO (ollie): The memoization here increases complexity by a lot, and im not sure it really improves performance |
no test coverage detected