( entry: AllowedMcpServerEntry | DeniedMcpServerEntry, )
| 1116 | * Type guard for MCP server entry with serverCommand |
| 1117 | */ |
| 1118 | export function isMcpServerCommandEntry( |
| 1119 | entry: AllowedMcpServerEntry | DeniedMcpServerEntry, |
| 1120 | ): entry is { serverCommand: string[] } { |
| 1121 | return 'serverCommand' in entry && entry.serverCommand !== undefined |
| 1122 | } |
| 1123 | |
| 1124 | /** |
| 1125 | * Type guard for MCP server entry with serverUrl |
no outgoing calls
no test coverage detected