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

Function getServerUrl

src/services/mcp/config.ts:160–162  ·  view source on GitHub ↗

* Extract URL from server config (remote servers only) * Returns null for stdio/sdk servers

(config: McpServerConfig)

Source from the content-addressed store, hash-verified

158 * Returns null for stdio/sdk servers
159 */
160function getServerUrl(config: McpServerConfig): string | null {
161 return 'url' in config ? config.url : null
162}
163
164/**
165 * CCR proxy URL path markers. In remote sessions, claude.ai connectors arrive

Callers 3

getMcpServerSignatureFunction · 0.85
isMcpServerDeniedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected