MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / getServerSpecificKey

Function getServerSpecificKey

client/src/lib/constants.ts:24–30  ·  view source on GitHub ↗
(
  baseKey: string,
  serverUrl?: string,
)

Source from the content-addressed store, hash-verified

22
23// Generate server-specific session storage keys
24export const getServerSpecificKey = (
25 baseKey: string,
26 serverUrl?: string,
27): string => {
28 if (!serverUrl) return baseKey;
29 return `[${serverUrl}] ${baseKey}`;
30};
31
32export type ConnectionStatus =
33 | "disconnected"

Callers 15

loadOAuthTokensFunction · 0.90
tokensMethod · 0.90
saveTokensMethod · 0.90
saveCodeVerifierMethod · 0.90
codeVerifierMethod · 0.90
clearMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected