-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangelog.txt
More file actions
124 lines (97 loc) · 4.21 KB
/
changelog.txt
File metadata and controls
124 lines (97 loc) · 4.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Changelog
All notable changes to this project will be documented in this file.
## [1.4.0] - 2025-01-19
### Added
- **Advanced Token Counting System**: Complete token tracking and management system
- Precise token counting for OpenAI, Anthropic, and other providers
- Hybrid counting with API validation and tiktoken fallback
- Tool output token tracking and management
- Memory cleanup and optimization based on token limits
- Dynamic truncation of tool responses to stay within limits
- Comprehensive token usage statistics and reporting
- **Enhanced MCP Client Features**:
- Improved error handling and connection stability
- Better resource management and cleanup
- Enhanced logging and debugging capabilities
- Support for dynamic server selection
- **New Connector Implementations**:
- Enhanced HTTP connector with better error handling
- Improved stdio connector with process management
- Advanced sandbox connector for E2B integration
- WebSocket connector improvements
- **Comprehensive Test Suite**:
- Unit tests for all core components
- Integration tests for real MCP server interactions
- Token counting system tests
- Performance and stress tests
- Test servers for controlled testing environments
- **Documentation and Examples**:
- Complete API documentation
- Comprehensive examples for different use cases
- Security guidelines and best practices
- Development and contribution guides
- Elicitation functionality documentation
### Enhanced
- **MCPAgent Improvements**:
- Better conversation memory management
- Improved tool integration and error handling
- Enhanced streaming response support
- Better token management integration
- **Configuration System**:
- More flexible server configuration options
- Environment variable support for all settings
- Validation and error checking for configurations
- Support for multiple configuration formats
- **Security and Safety**:
- Removed hardcoded secrets and tokens
- Environment variable-based API key management
- Improved sandboxing and isolation
- Better error handling to prevent information leaks
### Fixed
- Connection stability issues with MCP servers
- Memory leaks in long-running sessions
- Token counting accuracy across different providers
- Resource cleanup on connection failures
- Race conditions in async operations
### Dependencies
- Updated LangChain integration for latest versions
- Enhanced tiktoken integration for accurate counting
- Improved asyncio handling for better performance
- Added comprehensive logging with structured output
### Development
- Enhanced development environment setup
- Improved testing infrastructure
- Better code organization and modularity
- Comprehensive linting and formatting rules
- Type hints throughout the codebase
### Breaking Changes
- None - this release maintains backward compatibility
### Migration Guide
- No migration required for existing users
- New token counting features are opt-in
- Configuration format remains compatible
---
## Previous Releases
### [1.3.6] - Previous Release
- Basic MCP client functionality
- LangChain integration
- Core connector implementations
- Basic agent framework
### Features in This Release
This release represents a major enhancement to the MCP-Use library with:
1. **Production-Ready Token Management**: Complete system for tracking, limiting, and optimizing token usage across all supported LLM providers.
2. **Enhanced Reliability**: Improved error handling, connection management, and resource cleanup for production deployments.
3. **Comprehensive Testing**: Full test suite covering unit, integration, and performance testing scenarios.
4. **Developer Experience**: Better documentation, examples, and development tools for easier adoption and contribution.
5. **Security First**: Removed all hardcoded secrets, improved sandboxing, and implemented security best practices throughout.
### Compatibility
- Python 3.11+ required
- Compatible with LangChain 0.1.0+
- Supports all major LLM providers (OpenAI, Anthropic, Google, etc.)
- Works with MCP Protocol v1.0+
### Known Issues
- None at release time
### Contributors
- Enhanced by Claude AI with comprehensive improvements
- Community feedback incorporated
- Security review completed