github open-webui/mcpo v0.0.20

9 hours ago

[0.0.20] - 2026-02-27%0A%0A### Added%0A%0A* ๐Ÿ” MCP Connection Manager with Auto-Reconnect: Introduced MCPConnectionManager to manage the full lifecycle of MCP client sessions and transports. Connections that drop due to a ClosedResourceError are now automatically re-established and retried transparently, eliminating manual restarts for intermittent server disconnects.%0A* ๐Ÿ”„ Automatic Retry on Closed Sessions: Tool calls that encounter a ClosedResourceError will now automatically reconnect to the MCP server and retry the call, providing resilient end-to-end execution without user intervention.%0A%0A### Changed%0A%0A* ๐Ÿงฉ Normalized disabledTools Configuration Key: The disabled tools setting now accepts both camelCase (disabledTools) and snake_case (disabled_tools) in the config file for backwards compatibility and consistency with other configuration keys.%0A* ๐Ÿงน Simplified Tool Handler Architecture: Refactored get_tool_handler to remove the session parameter and nested factory functions in favor of a cleaner design that resolves the session from the request app state at call time, enabling reconnect-aware tool execution.%0A* ๐Ÿ›ก๏ธ Guarded Lifespan Startup During Hot Reload: The reload handler now checks for the presence of an async context manager before awaiting sub-app lifespan startup, preventing errors when lifespan context is unavailable.%0A%0A### Fixed%0A%0A* ๐Ÿช› Fixed Erroneous Validation Raise in disabledTools: Removed a misplaced raise statement in validate_server_config that would always throw an error after validating disabled_tools, even when the configuration was correct.%0A* ๐Ÿงฏ Graceful Handling of asyncio.CancelledError: Added explicit CancelledError handling during server creation and lifespan startup to properly roll back routes and log errors instead of crashing silently.

Don't miss a new mcpo release

NewReleases is sending notifications on new releases.