(name string)
| 301 | } |
| 302 | |
| 303 | func clientsForList(name string) []mcp.ClientSpec { |
| 304 | if name == "" { |
| 305 | return mcp.SupportedClients |
| 306 | } |
| 307 | if c, ok := mcp.ClientByName(name); ok { |
| 308 | return []mcp.ClientSpec{c} |
| 309 | } |
| 310 | return nil |
| 311 | } |
| 312 | |
| 313 | func requireClient(name string) (mcp.ClientSpec, error) { |
| 314 | if name == "" { |
no test coverage detected