(input: McpServerInput)
| 398 | const slugFrom = (slug: string): IntegrationSlug => IntegrationSlug.make(slug); |
| 399 | |
| 400 | const normalizeSlug = (input: McpServerInput): string => |
| 401 | input.slug ?? |
| 402 | deriveMcpNamespace({ |
| 403 | name: input.name, |
| 404 | endpoint: input.transport === "stdio" ? undefined : input.endpoint, |
| 405 | command: input.transport === "stdio" ? input.command : undefined, |
| 406 | }); |
| 407 | |
| 408 | /** Slug for a stdio server's secret-env auth method (one per integration). */ |
| 409 | const STDIO_ENV_TEMPLATE = "env"; |
no test coverage detected