(input: McpServerInput)
| 339 | const slugFrom = (slug: string): IntegrationSlug => IntegrationSlug.make(slug); |
| 340 | |
| 341 | const normalizeSlug = (input: McpServerInput): string => |
| 342 | input.slug ?? |
| 343 | deriveMcpNamespace({ |
| 344 | name: input.name, |
| 345 | endpoint: input.transport === "stdio" ? undefined : input.endpoint, |
| 346 | command: input.transport === "stdio" ? input.command : undefined, |
| 347 | }); |
| 348 | |
| 349 | /** Slug for a stdio server's secret-env auth method (one per integration). */ |
| 350 | const STDIO_ENV_TEMPLATE = "env"; |
no test coverage detected