|
| 1 | +--- |
| 2 | +title: "Version 1.3.11" |
| 3 | +description: "Enhanced error handling, authorization features, and critical bug fixes" |
| 4 | +mode: "center" |
| 5 | +--- |
| 6 | + |
| 7 | + |
| 8 | +This release brings significant improvements to MCP-Use with enhanced error handling, new authorization capabilities, and several critical bug fixes. The most notable additions include a comprehensive authorization system and improved reliability across HTTP connectors and subprocess management. |
| 9 | + |
| 10 | +## 🚀 New Features |
| 11 | + |
| 12 | +### Authorization System |
| 13 | +**[PR #149](https://github.com/pietrozullo/mcp-use/pull/149) by @pietrozullo** |
| 14 | + |
| 15 | +A comprehensive OAuth2 and Bearer token authentication framework has been added to MCP-Use, enabling secure access control for MCP servers and clients. The system includes automatic OAuth discovery, dynamic client registration, and secure token storage. Key features include file-based token storage, automatic token refresh, OAuth metadata discovery, and secure callback handling for the authorization code flow. |
| 16 | + |
| 17 | +For detailed usage examples and configuration options, see the [Authentication documentation](/client/authentication). |
| 18 | + |
| 19 | +## 🐛 Bug Fixes & Improvements |
| 20 | + |
| 21 | +### HTTP Connector Error Handling |
| 22 | +**[PR #279](https://github.com/pietrozullo/mcp-use/pull/279) by @renvins** |
| 23 | + |
| 24 | +Significantly improved error handling in HTTP connectors with better authentication error detection and graceful fallback between transport methods. The system now properly handles HTTP 401/403/407 errors and provides clearer diagnostic messages when authentication fails. |
| 25 | + |
| 26 | +### Empty Tool Result Handling |
| 27 | +**[PR #273](https://github.com/pietrozullo/mcp-use/pull/273) by @renvins** |
| 28 | + |
| 29 | +Fixed a critical issue where empty tool results (`content: []`) were causing validation errors in the LangChain adapter. The system now correctly processes empty results and handles cases where tools legitimately return no content. |
| 30 | + |
| 31 | +### JSON Schema Enum Validation |
| 32 | +**[PR #270](https://github.com/pietrozullo/mcp-use/pull/270) by @Amrithesh-Kakkoth** |
| 33 | + |
| 34 | +Resolved a validation issue in `jsonschema_to_pydantic` conversion where enum fields without explicit type declarations were failing validation. The fix automatically adds `"type": "string"` to enum fields, ensuring proper Pydantic model generation. |
| 35 | + |
| 36 | +```python |
| 37 | +# Before: This would fail validation |
| 38 | +{"enum": ["x", "y", "z"]} |
| 39 | + |
| 40 | +# After: Automatically fixed to |
| 41 | +{"type": "string", "enum": ["x", "y", "z"]} |
| 42 | +``` |
| 43 | + |
| 44 | +### Documentation Fix |
| 45 | +**[PR #266](https://github.com/pietrozullo/mcp-use/pull/266) by @renvins** |
| 46 | + |
| 47 | +Corrected a typo in the README documentation where `astream` was incorrectly referenced instead of `stream`, improving clarity for developers following the streaming examples. |
| 48 | + |
| 49 | +### MCPAgent Execution Tracking |
| 50 | +**[PR #254](https://github.com/pietrozullo/mcp-use/pull/254) by @hetsaraiya** |
| 51 | + |
| 52 | +Enhanced the MCPAgent execution flow with comprehensive success/failure tracking and telemetry collection. The system now properly tracks execution status, steps taken, tools used, and execution time for better observability and debugging. |
| 53 | + |
| 54 | +```python |
| 55 | +# New telemetry tracking includes: |
| 56 | +# - Execution success/failure status |
| 57 | +# - Number of steps taken |
| 58 | +# - Tools used during execution |
| 59 | +# - Response time and error details |
| 60 | +# - Agent configuration metadata |
| 61 | +``` |
| 62 | + |
| 63 | +### Subprocess Cleanup |
| 64 | +**[PR #231](https://github.com/pietrozullo/mcp-use/pull/231) by @lorenss-m** |
| 65 | + |
| 66 | +Fixed a critical resource leak in subprocess management when running multiple MCP clients concurrently. The fix ensures proper process termination and cleanup, preventing zombie processes and memory leaks in long-running applications. |
| 67 | + |
| 68 | +## 🔧 Maintenance |
| 69 | + |
| 70 | +### Automated Dependency Updates |
| 71 | +**[PRs #261](https://github.com/pietrozullo/mcp-use/pull/261), [#253](https://github.com/pietrozullo/mcp-use/pull/253), [#248](https://github.com/pietrozullo/mcp-use/pull/248) by @github-actions[bot]** |
| 72 | + |
| 73 | +Regular automated updates to dependent package information, ensuring the project stays current with its ecosystem and maintains compatibility with the latest versions of dependencies. |
0 commit comments