Release v2.0.5 - Threading Fixes & Production Stability
🔧 Fixes:
- Fixed RuntimeError: can't start new thread in Railway deployments
- Resolved infinite shutdown loops causing repeated server restarts
- Fixed threading exhaustion under heavy load conditions
- Eliminated resource leaks in HTTP connection pools
🚀 Improvements:
- Added proper signal handling to prevent shutdown cascades
- Implemented background task tracking and cancellation
- Added conservative HTTP connection limits to prevent thread exhaustion
- Enhanced graceful shutdown with comprehensive error handling
- Added environment variable configuration for HOST/PORT
📦 Technical Details:
- Implemented signal deduplication to prevent multiple shutdown attempts
- Added proper async task lifecycle management
- Reduced HTTP connection pool limits for better resource management
- Enhanced provider cleanup with exception handling
- Added shutdown state tracking to prevent race conditions
This release ensures stable, long-running operation in production environments without threading issues.
Installation
PyPI
pip install augments-mcp-server==2.0.5uv
uv add augments-mcp-server==2.0.5MCP Server Registry
The server is available in the MCP server registry at dev.augments/mcp.