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

Function serverSecretsKey

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

132 * budget (~2KB stdin-safe, see INC-3028) shared across all plugin secrets.
133 */
134function serverSecretsKey(pluginId: string, serverName: string): string {
135 return `${pluginId}/${serverName}`
136}
137
138/**
139 * 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