Release 1.3.13
This release focuses on package reorganization to provide clearer module structure and better separation of concerns.
Bug Fixes
LangChain Version Compatibility
Fixed compatibility issues caused by LangChain’s 1.0.0 release. The library is temporarily pinned to LangChain 0.3.27 to prevent breaking changes. Migration to LangChain 1.0.0 is planned for a future release.Package Reorganization
The package has been reorganized into clearer, more intuitive modules:-
mcp_use.client.*- Client-related functionalitymcp_use.client.auth- Authentication mechanisms (OAuth, Bearer)mcp_use.client.connectors- Connection transports (HTTP, WebSocket, Stdio, Sandbox)mcp_use.client.middleware- Request/response middlewaremcp_use.client.task_managers- Connection task managers
-
mcp_use.agents.*- Agent-related functionalitymcp_use.agents.adapters- LLM framework adapters (LangChain, etc.)mcp_use.agents.managers- Server management tools and utilities
- Better code discoverability through logical namespacing
- Clear separation between client and agent concerns
- Improved maintainability and extensibility
- More intuitive import paths
Deprecation Notices
Authentication
Middleware
Task Managers
Adapters
Server Managers
Exceptions
Types
from mcp_use import MCPAgent, MCPClient, MCPSession remain supported and are NOT deprecated.
Migration Guide
To migrate your code:- Replace old import paths with new ones as shown above
- Run your tests to ensure everything works
- The functionality remains identical - only the import paths have changed