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