MCPcopy Index your code
hub / github.com/simstudioai/sim / createMcpToolId

Function createMcpToolId

apps/sim/lib/mcp/shared.ts:47–50  ·  view source on GitHub ↗
(serverId: string, toolName: string)

Source from the content-addressed store, hash-verified

45 * Create standardized MCP tool ID from server ID and tool name
46 */
47export function createMcpToolId(serverId: string, toolName: string): string {
48 const normalizedServerId = isMcpTool(serverId) ? serverId : `${MCP.TOOL_PREFIX}${serverId}`
49 return `${normalizedServerId}-${toolName}`
50}

Callers 6

remapForkToolInputValueFunction · 0.90
mcp.tsFile · 0.90
workflow-block.tsxFile · 0.90
useMcpToolsFunction · 0.90

Calls 1

isMcpToolFunction · 0.90

Tested by

no test coverage detected