* Compose the secureStorage key for a per-server secret bucket. * `pluginSecrets` is a flat map — per-server secrets share it with top-level * plugin options (pluginOptionsStorage.ts) using a `${pluginId}/${server}` * composite key. `/` can't appear in plugin IDs (`name@marketplace`) or * server
(pluginId: string, serverName: string)
| 122 | * budget (~2KB stdin-safe, see INC-3028) shared across all plugin secrets. |
| 123 | */ |
| 124 | function serverSecretsKey(pluginId: string, serverName: string): string { |
| 125 | return `${pluginId}/${serverName}` |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Load user configuration for an MCP server, merging non-sensitive values |
no outgoing calls
no test coverage detected