(input: McpStdioServerInput)
| 352 | * declaration plus the keys of any one-shot `env` values, de-duplicated and |
| 353 | * order-preserving. */ |
| 354 | const stdioEnvVarNames = (input: McpStdioServerInput): readonly string[] => { |
| 355 | const names = new Set<string>(input.envVars ?? []); |
| 356 | for (const key of Object.keys(input.env ?? {})) names.add(key); |
| 357 | return [...names]; |
| 358 | }; |
| 359 | |
| 360 | const toIntegrationConfig = (input: McpServerInput): McpIntegrationConfigType => { |
| 361 | if (input.transport === "stdio") { |
no outgoing calls
no test coverage detected