MCPcopy
hub / github.com/continuedev/continue / encodeMCPToolUri

Function encodeMCPToolUri

core/tools/callTool.ts:52–54  ·  view source on GitHub ↗
(mcpId: string, toolName: string)

Source from the content-addressed store, hash-verified

50}
51
52export function encodeMCPToolUri(mcpId: string, toolName: string): string {
53 return `mcp://${encodeURIComponent(mcpId)}/${encodeURIComponent(toolName)}`;
54}
55
56export function decodeMCPToolUri(uri: string): [string, string] | null {
57 const url = new URL(uri);

Callers 1

doLoadConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected