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

Function buildMcpToolName

src/services/mcp/mcpStringUtils.ts:50–52  ·  view source on GitHub ↗
(serverName: string, toolName: string)

Source from the content-addressed store, hash-verified

48 * @returns The fully qualified name, e.g., "mcp__server__tool"
49 */
50export function buildMcpToolName(serverName: string, toolName: string): string {
51 return `${getMcpPrefix(serverName)}${normalizeNameForMCP(toolName)}`
52}
53
54/**
55 * Returns the name to use for permission rule matching.

Callers 4

createMcpAuthToolFunction · 0.85
setupComputerUseMCPFunction · 0.85
client.tsFile · 0.85

Calls 2

getMcpPrefixFunction · 0.85
normalizeNameForMCPFunction · 0.85

Tested by

no test coverage detected