mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
* ✨ feat(mcp): enhance error handling and logging for MCP connections - Introduced MCPConnectionError class to capture and log stderr output during MCP connections. - Updated McpCtr to handle MCPConnectionError and provide enhanced error messages with stderr logs. - Modified MCPClient to collect stderr logs and throw enhanced errors when connection issues occur. - Improved error display in MCPManifestForm to show detailed error information when connection tests fail. - Added utility functions to parse and extract STDIO process output from error messages. Signed-off-by: Innei <tukon479@gmail.com> * 🐛 fix(mcp): remove npx check to prevent hanging during installation check - Remove `npx -y` package check that could download packages or start MCP servers - This was causing the UI to hang on "Checking installation environment" - npm packages don't require pre-installation, npx handles on-demand download --------- Signed-off-by: Innei <tukon479@gmail.com>