(config: McpEntry)
| 47 | |
| 48 | type McpConfigured = ConfigMCPV1.Info |
| 49 | function isMcpConfigured(config: McpEntry): config is McpConfigured { |
| 50 | return typeof config === "object" && config !== null && "type" in config |
| 51 | } |
| 52 | |
| 53 | type McpRemote = Extract<McpConfigured, { type: "remote" }> |
| 54 | function isMcpRemote(config: McpEntry): config is McpRemote { |
no outgoing calls
no test coverage detected