(input: McpServerInput)
| 323 | const slugFrom = (slug: string): IntegrationSlug => IntegrationSlug.make(slug); |
| 324 | |
| 325 | const normalizeSlug = (input: McpServerInput): string => |
| 326 | input.slug ?? |
| 327 | deriveMcpNamespace({ |
| 328 | name: input.name, |
| 329 | endpoint: input.transport === "stdio" ? undefined : input.endpoint, |
| 330 | command: input.transport === "stdio" ? input.command : undefined, |
| 331 | }); |
| 332 | |
| 333 | /** Slug for a stdio server's secret-env auth method (one per integration). */ |
| 334 | const STDIO_ENV_TEMPLATE = "env"; |
no test coverage detected