c8d3b529a6
* feat: add configuration file management to MCPService - Introduced methods to ensure the existence of a configuration file, load configurations from it, and save server configurations. - Updated the MCPService class to handle server configurations more effectively, improving initialization and error handling. - Added dependency on chokidar for file system watching. * feat: enhance MCPService configuration handling - Improved configuration management by adding compatibility for both old and new server formats. - Updated methods to ensure configuration file existence, load configurations, and save server data more effectively. - Refined server initialization logic to handle updates and notifications to Redux more efficiently. - Removed unnecessary waiting for server data from Redux during initialization. * feat: enhance MCPService default configuration handling - Added logic to create a default configuration if none exists, improving the initialization process. - Implemented migration of server configurations from Redux to file, ensuring data consistency. - Updated methods to handle nested server structures and improved error handling during server updates. * refactor: clean up MCPService by removing redundant console logs and unused updateServerInRedux method - Eliminated unnecessary console log statements to improve code readability. - Removed the unused updateServerInRedux method, streamlining the MCPService class. - Maintained existing functionality while enhancing code clarity.