a7295b4511
Migrate Kilocode MCP server configurations from the VSCode extension's mcp_settings.json to Opencode's native MCP config format. Features: - Read MCP settings from VSCode extension global storage - Convert Kilocode format (command + args) to Opencode format (command array) - Handle disabled servers (skip them) - Warn about alwaysAllow permissions that cannot be migrated - Support project-level .kilocode/mcp_settings.json Config precedence (lowest to highest): 1. Kilocode MCP settings (new) 2. Remote/well-known config 3. Global user config 4. Project config (opencode.json) 5. OPENCODE_CONFIG_CONTENT This allows users to configure MCP servers in the Kilocode VSCode extension and have them automatically available in kilo-cli without any manual setup. Native opencode config takes precedence over legacy Kilocode settings.