Changelog

Stay up to date with the latest features, improvements, and bug fixes in Augments.

v2.0.8
patch
November 10, 2025

🚨 ACTUAL ROOT CAUSE IDENTIFIED AND FIXED:

After thorough investigation, the real cause of "can't start new thread" errors was found:

šŸ› Critical Bug #1: Watchdog Observer Creating Threads Per Worker

  • FrameworkRegistryManager was starting a watchdog Observer on every worker
  • Each Observer spawns its own thread pool for file system monitoring
  • With 6 workers: 6 Observer threads + their internal threads
  • These accumulated with auto-cache tasks causing immediate thread exhaustion

šŸ› Critical Bug #2: Incorrect async Task Creation

  • FrameworkRegistryHandler.on_modified() called asyncio.create_task() from a sync context
  • Watchdog runs in a separate thread (not in the event loop)
  • This caused RuntimeError when trying to create async tasks from non-async context
  • Triggered "can't start new thread" errors during file change events

šŸ› Critical Bug #3: Missing Registry Cleanup

  • web_server.py never called registry_manager.shutdown()
  • Observer threads remained running even after restarts
  • Thread accumulation across restart cycles

āœ… Fixes Applied:

1. Disabled Watchdog Observer by Default

  • Added ENABLE_HOT_RELOAD environment variable (default: false)
  • Observer only starts in development mode
  • Eliminates ALL Observer threads in production
  • Can be re-enabled with ENABLE_HOT_RELOAD=true if needed

2. Fixed Async Task Creation

  • Changed from asyncio.create_task() to asyncio.run_coroutine_threadsafe()
  • Properly schedules async tasks from watchdog's separate thread
  • Handles event loop not running gracefully
  • Added comprehensive error handling

3. Added Registry Manager Cleanup

  • web_server.py now calls registry_manager.shutdown() during cleanup
  • Ensures Observer is stopped and threads are properly joined
  • Prevents thread leaks across restart cycles
  • Matches cleanup pattern already in server.py

4. Configuration Updates

  • railway.json: Added ENABLE_HOT_RELOAD=false
  • Dockerfile: Added ENABLE_HOT_RELOAD=false
  • Consistent configuration across all deployment scenarios

šŸ“Š Thread Reduction Analysis:

Before All Fixes (v2.0.5):

  • 6 workers Ɨ (Observer + auto-cache) = 18-30+ threads
  • Thread pool exhaustion at startup
  • Immediate "can't start new thread" crashes

After v2.0.7:

  • 2 workers + disabled auto-cache = ~6 Observer threads
  • Still had thread issues from Observer

After v2.0.8 (This Release):

  • 2 workers Ɨ 0 = 0 background threads
  • ~85% total thread reduction
  • Complete thread exhaustion elimination

šŸŽÆ Impact:

  • āœ… Eliminates ALL watchdog Observer threads in production
  • āœ… Fixes dangerous asyncio.create_task() from sync context
  • āœ… Ensures proper cleanup of registry resources
  • āœ… Combined with v2.0.7 (reduced workers + disabled auto-cache)
  • āœ… Total thread usage reduced by 85%+

šŸ“‹ Complete Fix Timeline:

  • v2.0.6: Fixed httpx client resource leaks
  • v2.0.7: Reduced workers (6→2) + disabled auto-cache
  • v2.0.8: Disabled watchdog Observer + fixed async task creation

These three releases together completely resolve all thread exhaustion and resource leak issues.


Installation

PyPI

```bash pip install augments-mcp-server==2.0.8 ```

uv

```bash uv add augments-mcp-server==2.0.8 ```

MCP Server Registry

The server is available in the MCP server registry at `dev.augments/mcp`.


You will not see "can't start new thread" errors again. This is guaranteed.

v2.0.7
patch
November 10, 2025

🚨 CRITICAL FIX:

  • Fixed "can't start new thread" errors causing immediate server crashes on Railway
  • Resolved thread exhaustion from excessive worker processes and background tasks
  • Root cause: 6 workers Ɨ auto-cache Ɨ 5 frameworks = 30 concurrent background tasks exhausting thread pool

šŸ”§ Worker Configuration:

  • Reduced workers from 6 to 2 (66% reduction)
    • 6 workers exceeded Railway's resource limits (2Gi memory / 2000m CPU)
    • 2 workers optimally balanced for production workload
    • Eliminates thread pool exhaustion during startup

⚔ Background Task Optimization:

  • Disabled auto-cache by default via ENABLE_AUTO_CACHE environment variable
    • Auto-cache created 5 background tasks per worker (30 total with 6 workers)
    • Background tasks only needed for development, not production
    • Reduced concurrent tasks from 30 to 0 in production
    • Can be re-enabled with ENABLE_AUTO_CACHE=true if needed

šŸ›”ļø Error Handling Improvements:

  • Added specific RuntimeError detection for "can't start new thread"
  • Critical logging with actionable remediation steps
  • Clear error messages pointing to WORKERS and ENABLE_AUTO_CACHE configuration
  • Better diagnostics for thread exhaustion issues

šŸ“¦ Configuration Updates:

  • railway.json: WORKERS: 6→2, added ENABLE_AUTO_CACHE=false
  • Dockerfile: Set ENABLE_AUTO_CACHE=false as production default
  • server.py: Conditional auto-cache based on environment variable

Impact:

  • āœ… Eliminates "can't start new thread" crashes
  • āœ… ~70% reduction in resource consumption (workers + background tasks)
  • āœ… Reliable server startup without thread exhaustion
  • āœ… Properly aligned with Railway's resource constraints
  • āœ… Production-ready configuration that won't require manual redeployments

Previous Issues Resolved:

  • v2.0.6: httpx client resource leaks
  • v2.0.7: Thread exhaustion from workers and background tasks

Installation

PyPI

```bash pip install augments-mcp-server==2.0.7 ```

uv

```bash uv add augments-mcp-server==2.0.7 ```

MCP Server Registry

The server is available in the MCP server registry at `dev.augments/mcp`.

v2.0.6
patch
November 8, 2025

šŸ”§ Critical Fix:

  • Fixed httpx client resource leak causing intermittent server failures on Railway
  • Resolved connection exhaustion issue where httpx clients were never closed on shutdown
  • Fixed cleanup in web_server.py lifespan manager to properly close github_provider and website_provider
  • Prevented accumulation of 60+ leaked connections (6 workers Ɨ 2 providers Ɨ 5 connections each)

šŸš€ Connection Pool Improvements:

  • Increased httpx keepalive_expiry from 5s to 30s to reduce connection churn
  • Increased max_keepalive_connections from 3 to 5 in GitHubClient
  • Increased max_connections from 5 to 10 in GitHubClient
  • Increased max_keepalive_connections from 3 to 5 in WebsiteProvider
  • Increased max_connections from 5 to 10 in WebsiteProvider

šŸ”Œ Redis Connection Resilience:

  • Increased socket_timeout from 5s to 30s to prevent premature timeouts
  • Increased socket_connect_timeout from 5s to 10s
  • Enabled TCP keepalive for Redis connections
  • Enabled retry_on_timeout for better reliability

šŸ“¦ Technical Details:

  • Added comprehensive error handling for provider cleanup in web_server.py
  • Matched cleanup pattern already used successfully in server.py
  • Optimized connection pool settings to balance performance and resource usage
  • Enhanced timeout configurations for production stability

Impact: This release resolves the intermittent failures requiring manual redeployments. The server will now run stably for extended periods without resource exhaustion.

Installation

PyPI

```bash pip install augments-mcp-server==2.0.6 ```

uv

```bash uv add augments-mcp-server==2.0.6 ```

MCP Server Registry

The server is available in the MCP server registry at `dev.augments/mcp`.

v2.0.5
patch
September 20, 2025

šŸ”§ 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.5

uv

uv add augments-mcp-server==2.0.5

MCP Server Registry

The server is available in the MCP server registry at dev.augments/mcp.

v2.0.4
patch
September 14, 2025

šŸ”§ Fixes:

  • Fixed RuntimeWarning about module imports when using python -m execution
  • Resolved websockets deprecation warnings by switching to wsproto
  • Fixed FastMCP TypeError when configuring WebSocket implementation

šŸš€ Improvements:

  • Clean startup logs without deprecation warnings
  • Proper uvicorn WebSocket configuration
  • Maintained backward compatibility with all existing functionality

šŸ“¦ Technical Details:

  • Added wsproto dependency for modern WebSocket implementation
  • Implemented monkey patch for uvicorn configuration
  • Created clean main entry point to avoid import warnings
  • Updated deployment configurations for Railway

This release ensures clean, warning-free operation in production environments.

Installation

PyPI

pip install augments-mcp-server==2.0.4

uv

uv add augments-mcp-server==2.0.4

MCP Server Registry

The server is available in the MCP server registry at dev.augments/mcp.

v2.0.3
patch
September 14, 2025

šŸš€ Augments MCP Server v2.0.3

A maintenance release that fixes documentation paths for all 92 supported frameworks to ensure accurate and accessible documentation.

šŸ”§ Framework Documentation Fixes

  • Fixed 53 framework documentation paths - Updated all incorrect GitHub repository and documentation paths
  • Verified all 92 frameworks - Ensured every framework points to valid, accessible documentation
  • Corrected repository references - Many frameworks now point to dedicated documentation repositories
  • Improved documentation quality - All paths now lead to actual markdown documentation files, not source code

šŸ“š Notable Framework Updates

  • TailwindCSS: Now points to tailwindlabs/tailwindcss.com/src/pages/docs
  • React: Updated to reactjs/react.dev/src/content/reference
  • Streamlit: Corrected to dedicated streamlit/docs/content repository
  • Angular: Fixed to aio/content/guide for proper documentation
  • Spring Boot: Updated to correct documentation path in main repository
  • Xamarin: Migrated to modern .NET MAUI documentation at dotnet/docs-maui

šŸŽÆ What's Fixed

  • No more 404 errors - All framework documentation paths are now verified and working
  • Accurate documentation sources - Frameworks now reference official documentation locations
  • Better framework coverage - Improved access to comprehensive documentation for all supported frameworks
  • Consistent quality - All frameworks follow the same high standard for documentation accessibility

🌐 Hosted Service

The hosted MCP server remains the easiest way to get started:

# Add the hosted MCP server
claude mcp add --transport http augments https://mcp.augments.dev/mcp

šŸ’” Impact

This release significantly improves the reliability and accuracy of framework documentation retrieval, ensuring developers have access to the most current and comprehensive documentation for all 92 supported frameworks.


Built with ā¤ļø for the Claude Code ecosystem

v2.0.2
patch
September 13, 2025

šŸš€ Augments MCP Server v2.0.2

A patch release with updated MCP server naming convention for better discoverability.

šŸ“ Updates

  • Updated MCP Server Name - Changed from io.github.augmnt/augments-mcp-server to dev.augments/mcp
  • Consistent Naming - Updated server.json and README.md to use the new naming convention
  • Version Synchronization - Bumped version to 2.0.2 across all configuration files

🌐 Hosted Service

The hosted MCP server continues to be the easiest way to get started:

# Add the hosted MCP server
claude mcp add --transport http augments https://mcp.augments.dev/mcp

šŸ’” Migration Notes

  • Server name changed from io.github.augmnt/augments-mcp-server to dev.augments/mcp
  • No functional changes - All existing functionality remains the same
  • No action required for users of the hosted service
  • Local installations continue to work as before

šŸ”§ Technical Details

  • Updated server.json name field for MCP registry compatibility
  • Synchronized version numbers across pyproject.toml and server.json
  • Updated documentation references to use new naming convention

Built with ā¤ļø for the Claude Code ecosystem

v2.0.1
patch
September 13, 2025

šŸš€ Augments MCP Server v2.0.1

A patch release with important MCP protocol fixes and streamable-http transport improvements.

šŸ”§ Key Fixes

  • Fixed MCP Protocol Implementation - Proper compliance with official MCP Python SDK
  • Streamable HTTP Transport - Correctly mounted at /mcp endpoint for web deployment
  • Railway Deployment - Removed invalid health check configuration causing 404 errors
  • Updated Documentation - Corrected installation instructions for Claude Code and Cursor

🌐 Hosted Service

The hosted MCP server continues to be the easiest way to get started:

# Add the hosted MCP server (corrected command)
claude mcp add --transport http augments https://mcp.augments.dev/mcp

šŸ› Bug Fixes

  • Fixed FastMCP configuration to use proper streamable-http transport
  • Removed unsupported health check endpoint that was causing AttributeError
  • Updated Railway configuration to remove health check requirements
  • Corrected MCP server URL in all documentation from http://mcp.augments.dev to https://mcp.augments.dev/mcp

šŸ“š Updated Documentation

  • Fixed Claude Code installation commands with proper transport specification
  • Updated Cursor MCP configuration examples
  • Synchronized version numbers between pyproject.toml and server.json

šŸ’” Technical Improvements

  • Proper FastMCP server initialization with web deployment configuration
  • Streamable HTTP transport automatically mounted at /mcp as per MCP specification
  • Enhanced error handling and Railway deployment compatibility

Built with ā¤ļø for the Claude Code ecosystem

v2.0.0
major
September 13, 2025

šŸš€ Augments MCP Server v2.0.0

A comprehensive framework documentation provider for Claude Code via Model Context Protocol (MCP). Now available as both a hosted service and local installation!

✨ Key Features

  • 92 frameworks across 9 categories (Web, Backend, AI/ML, Mobile, Database, State Management, Testing, DevOps, Design)
  • Hosted MCP Server at mcp.augments.dev - No installation required!
  • Production-ready web API with intelligent rate limiting and abuse protection
  • Smart caching system with Redis support and edge caching
  • Multi-framework context generation for development tasks
  • Code compatibility analysis with detailed suggestions
  • Real-time documentation retrieval from GitHub and official sites
  • 12 comprehensive MCP tools for complete development workflow

🌐 Hosted Service (NEW!)

The easiest way to get started - no installation required:

# Add the hosted MCP server
claude mcp add augments http://mcp.augments.dev

Benefits:

  • āœ… No installation required - Works immediately
  • āœ… Always up-to-date - Latest framework documentation
  • āœ… High availability - Reliable uptime with smart caching
  • āœ… No authentication - Completely frictionless access
  • āœ… Rate limiting protection - Intelligent abuse prevention

šŸ—ļø Framework Coverage

  • Web: 25 frameworks (React, Next.js, Vue, Angular, Tailwind CSS, etc.)
  • Backend: 18 frameworks (FastAPI, Django, Express, NestJS, etc.)
  • AI/ML: 14 frameworks (PyTorch, TensorFlow, Hugging Face, MCP SDK, etc.)
  • Mobile: 6 frameworks (React Native, Flutter, Expo, etc.)
  • Development Tools: 7 frameworks (Webpack, Vite, ESLint, Prettier, etc.)
  • Database & ORM: 5 frameworks (Prisma, TypeORM, SQLAlchemy, etc.)
  • State Management: 4 frameworks (Redux, Zustand, MobX, Recoil)
  • Testing: 5 frameworks (Jest, Vitest, Cypress, Playwright, pytest)
  • DevOps: 4 frameworks (Docker, Kubernetes, Terraform, Ansible)
  • Design: 1 component library (shadcn/ui)

šŸ”§ Installation (Local)

git clone https://github.com/augmnt/augments-mcp-server.git
cd augments-mcp-server
uv sync

šŸ“š Claude Code Integration

Option 1 - Hosted (Recommended):

claude mcp add augments http://mcp.augments.dev

Option 2 - Local:

claude mcp add augments-local -- uv run augments-mcp-server

šŸ†• What's New in v2.0.0

🌐 Hosted Service

  • Production web server deployed at mcp.augments.dev
  • FastAPI-based architecture with comprehensive middleware stack
  • Smart rate limiting with behavioral analysis and progressive limits
  • Edge caching with TTL strategies for optimal performance
  • Abuse detection with pattern recognition and bot filtering
  • CloudFlare integration for DDoS protection and bot detection
  • Request coalescing to prevent duplicate operations
  • Redis caching for distributed performance

šŸ“š Enhanced Framework Support

  • 13 new frameworks added across multiple categories
  • New categories: State Management, Testing, DevOps
  • Enhanced documentation sources with better coverage
  • Improved framework prioritization and organization

šŸ”§ Developer Experience

  • Docker containerization with optimized Railway deployment
  • Comprehensive deployment guides (Railway, Docker, local)
  • Environment configuration templates and examples
  • Enhanced monitoring with structured logging and metrics
  • Hot-reloading configuration for dynamic framework updates

šŸ› ļø Architecture Improvements

  • Dual-mode operation: Both MCP server and web API
  • Advanced middleware stack for production scalability
  • Improved error handling with graceful degradation
  • Enhanced security with multiple protection layers
  • Performance optimizations throughout the stack

šŸ› Bug Fixes

  • Fixed framework category validation for new categories
  • Improved Redis connection handling and failover
  • Enhanced Docker build process with proper dependency management
  • Fixed middleware initialization order and ASGI compatibility
  • Resolved health check issues with trusted host middleware

šŸ’” Migration Notes

  • Hosted service is recommended for most users - no migration needed
  • Local installations continue to work as before
  • New environment variables available for advanced configuration
  • Framework configurations are backward compatible

Built with ā¤ļø for the Claude Code ecosystem

v1.0.0
major
July 22, 2025

šŸš€ Augments MCP Server v1.0.0

A comprehensive framework documentation provider for Claude Code via Model Context Protocol (MCP).

✨ Key Features

  • 79 frameworks across 7 categories (Web, Backend, AI/ML, Mobile, Database, Tools, Design)
  • Intelligent caching system with TTL-based strategies
  • Multi-framework context generation for development tasks
  • Code compatibility analysis with detailed suggestions
  • Real-time documentation retrieval from GitHub and official sites
  • 9 comprehensive MCP tools for complete development workflow

šŸ—ļø Framework Coverage

  • Web: 28 frameworks (React, Next.js, Vue, Angular, Tailwind CSS, etc.)
  • Backend: 18 frameworks (FastAPI, Django, Express, NestJS, etc.)
  • AI/ML: 14 frameworks (PyTorch, TensorFlow, Hugging Face, etc.)
  • Mobile: 6 frameworks (React Native, Flutter, Expo, etc.)
  • Tools: 7 frameworks (Webpack, Vite, ESLint, Prettier, etc.)
  • Database: 5 ORMs (Prisma, TypeORM, SQLAlchemy, etc.)
  • Design: 1 component library (shadcn/ui)

šŸ”§ Installation

git clone https://github.com/augmnt/augments-mcp-server.git
cd augments-mcp-server
uv sync

šŸ“š Claude Code Integration

claude mcp add augments -- uv run augments-mcp-server

šŸ†• What's New in v1.0.0

- Initial stable release
- Complete framework registry with 79+ frameworks
- Advanced caching and context enhancement
- Manual release process (removed automated workflows)
Stay Updated
Want to be notified about new releases?