(toolkitSlug: string | null)
| 81 | }; |
| 82 | |
| 83 | const toolkitMcpPath = (toolkitSlug: string | null): string => |
| 84 | toolkitSlug ? `${MCP_PATH}/toolkits/${toolkitSlug}` : MCP_PATH; |
| 85 | |
| 86 | /** The MCP resource URL for an org selector (`…/acme/mcp` slug or legacy |
| 87 | * `…/org_xxx/mcp` id — echoed verbatim so it matches the URL the client |