MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / serverSecretsKey

Function serverSecretsKey

source code/utils/plugins/mcpbHandler.ts:126–128  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

124 * budget (~2KB stdin-safe, see INC-3028) shared across all plugin secrets.
125 */
126function serverSecretsKey(pluginId: string, serverName: string): string {
127 return `${pluginId}/${serverName}`
128}
129
130/**
131 * Load user configuration for an MCP server, merging non-sensitive values

Callers 2

loadMcpServerUserConfigFunction · 0.85
saveMcpServerUserConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected