MCPcopy
hub / github.com/codeaashu/claude-code / getMcpPrefix

Function getMcpPrefix

src/services/mcp/mcpStringUtils.ts:39–41  ·  view source on GitHub ↗
(serverName: string)

Source from the content-addressed store, hash-verified

37 * @returns The prefix string
38 */
39export function getMcpPrefix(serverName: string): string {
40 return `mcp__${normalizeNameForMCP(serverName)}__`
41}
42
43/**
44 * Builds a fully qualified MCP tool name from server and tool names.

Callers 6

callFunction · 0.85
updateSdkMcpFunction · 0.85
doWorkFunction · 0.85
runHeadlessStreamingFunction · 0.85
useManageMCPConnectionsFunction · 0.85
buildMcpToolNameFunction · 0.85

Calls 1

normalizeNameForMCPFunction · 0.85

Tested by

no test coverage detected