MCPcopy Index your code
hub / github.com/codeaashu/claude-code / serverSecretsKey

Function serverSecretsKey

src/utils/plugins/mcpbHandler.ts:124–126  ·  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

122 * budget (~2KB stdin-safe, see INC-3028) shared across all plugin secrets.
123 */
124function 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

Callers 2

loadMcpServerUserConfigFunction · 0.85
saveMcpServerUserConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected