Skip to content

v1.0.1

Choose a tag to compare

@Miles-YF Miles-YF released this 09 Jan 15:08
· 304 commits to main since this release

🚀 Major Features

Lazy Loading for MCP Servers

  • Implemented on-demand server startup mechanism - MCP servers now load configuration into memory but only launch when first called
  • Automatic shutdown after 5 minutes of inactivity to conserve system resources
  • Global control via LAZY_START_ENABLED environment variable (default: true)
  • Per-server control via lazyStartEnabled database field
  • Runtime configuration changes now properly handle lazy start enabled/disabled transitions

✨ Enhancements

Improved Reliability

  • Automatic retry mechanism when MCP server calls timeout
  • Automatic server restart after multiple consecutive timeout failures
  • Enhanced error recovery for better service stability

Protocol Optimizations

  • Protocol 2001 now excludes transportType, cachedTools, cachedResources, cachedResourceTemplates, and cachedPrompts from server queries for improved performance

🐛 Bug Fixes

  • Fixed HTTP-type servers incorrectly entering sleep mode on service startup
  • Fixed confusion between public and personal servers when waking up sleeping servers
  • Fixed incorrect cache cleanup when servers are closed

📚 Documentation

  • Added comprehensive documentation for lazy loading feature
  • Updated .env.example, ADMIN_API.md, README.md, deployment.md, CLAUDE.md
  • Added LAZY_START_ENABLED to Docker deployment script

🔧 Configuration

New environment variable:
LAZY_START_ENABLED=true # Enable lazy loading (default: true)