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

Function getMCPProxyAuthToken

client/src/utils/configUtils.ts:46–56  ·  view source on GitHub ↗
(
  config: InspectorConfig,
)

Source from the content-addressed store, hash-verified

44};
45
46export const getMCPProxyAuthToken = (
47 config: InspectorConfig,
48): {
49 token: string;
50 header: string;
51} => {
52 return {
53 token: config.MCP_PROXY_AUTH_TOKEN.value as string,
54 header: "X-MCP-Proxy-Auth",
55 };
56};
57export const getMCPTaskTtl = (config: InspectorConfig): number => {
58 return config.MCP_TASK_TTL.value as number;
59};

Callers 5

AppFunction · 0.90
createProxyFetchFunction · 0.90
checkProxyHealthFunction · 0.90
connectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected