(input: McpServerInput)
| 408 | const slugFrom = (slug: string): IntegrationSlug => IntegrationSlug.make(slug); |
| 409 | |
| 410 | const normalizeSlug = (input: McpServerInput): string => |
| 411 | input.slug ?? |
| 412 | deriveMcpNamespace({ |
| 413 | name: input.name, |
| 414 | endpoint: input.transport === "stdio" ? undefined : input.endpoint, |
| 415 | command: input.transport === "stdio" ? input.command : undefined, |
| 416 | }); |
| 417 | |
| 418 | /** Slug for a stdio server's secret-env auth method (one per integration). */ |
| 419 | const STDIO_ENV_TEMPLATE = "env"; |
no test coverage detected