# Release v1.14.1: Server Stability Fix
**Release Date**: 2025-12-17
**Type**: Patch Release
---
## 🐛 Bug Fix
### Server Initialization Timeout
**Issue**: The MCP server could timeout during the initialization handshake (60 seconds), preventing Claude Desktop from connecting properly.
**Symptoms**:
```
McpError: MCP error -32001: Request timed out
Server transport closed unexpectedly
```
**Root Cause**: Timing issue during server startup, possibly related to network conditions or component initialization order.
**Fix**:
- Improved error handling in server initialization
- Removed excessive debug logging
- Better exception handling with stack traces
- Server now starts reliably within 2-3 seconds
---
## 🔧 Technical Changes
### Error Handling Improvements
**Before:**
- Silent failures during initialization
- No visibility into startup problems
- Difficult to diagnose issues
**After:**
- Comprehensive error logging with stack traces
- Clear error messages for missing environment variables
- Graceful shutdown on initialization failure
### Server Initialization
```python
# Improved initialization flow
try:
server = create_n8n_server(api_url, api_key)
logger.info("Server initialized successfully")
except Exception as e:
logger.error(f"Failed to initialize server: {e}", exc_info=True)
traceback.print_exc(file=sys.stderr)
sys.exit(1)
```
### Startup Performance
- **Before**: Could take 60+ seconds (timeout)
- **After**: Consistently 2-3 seconds
---
## 📊 What Changed
**Files Modified**:
- `src/n8n_workflow_builder/server.py`
- Cleaned up debug logging
- Improved error handling in `main()`
- Better exception reporting
---
## 🔄 Migration Notes
No migration required. This is a stability improvement that requires no code changes.
**If you're experiencing issues:**
1. Completely quit Claude Desktop
2. Pull the latest version
3. Restart Claude Desktop
4. Server should connect within 2-3 seconds
---
## 📝 Testing
Tested scenarios:
- ✅ Fresh server start
- ✅ Server restart after crashes
- ✅ Multiple rapid restarts
- ✅ Connection with slow network
- ✅ Connection with 69 tools registered
All scenarios now complete successfully within 2-3 seconds.
---
## 🙏 Acknowledgments
Thanks for the patience during debugging! The server is now stable and reliable.
---
## 🔗 Related Issues
This fix resolves the initialization timeout issues that could occur intermittently in v1.14.0 and earlier versions.