( config: McpServerConfig, )
| 437 | |
| 438 | // Type guards for MCP server config types |
| 439 | function isStdioConfig( |
| 440 | config: McpServerConfig, |
| 441 | ): config is McpStdioServerConfig { |
| 442 | return config.type === 'stdio' || config.type === undefined |
| 443 | } |
| 444 | |
| 445 | function isSSEConfig(config: McpServerConfig): config is McpSSEServerConfig { |
| 446 | return config.type === 'sse' |
no outgoing calls
no test coverage detected