Fixed crash caused by weird MCP config files.