( config: InspectorConfig, )
| 44 | }; |
| 45 | |
| 46 | export 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 | }; |
| 57 | export const getMCPTaskTtl = (config: InspectorConfig): number => { |
| 58 | return config.MCP_TASK_TTL.value as number; |
| 59 | }; |
no outgoing calls
no test coverage detected