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