3e3385fbb3
* fix: support remote MCP server migration in mcp-migrator The MCP migrator only handled stdio/local MCP servers. When a user configured a remote streamable-http or sse MCP server in .kilocode/mcp_settings.json, it failed with: The "file" argument must be of type string. Received undefined This happened because convertServer() always assumed local servers, building a command array from server.command (which is undefined for remote servers). Changes: - Add remote transport type detection (streamable-http, sse) - Convert remote servers to Config.McpRemote (type: "remote") - Pass through url and headers fields - Make command optional in KilocodeMcpServer interface - Add comprehensive tests for remote server migration * fix: validate url/command before use in mcp-migrator Add guard clauses for missing url on remote servers and missing command on local servers instead of using non-null assertions that could crash on malformed config files. --------- Co-authored-by: Kilo Agent <agent@kilo.ai> Co-authored-by: marius-kilocode <marius@kilocode.ai>