v1.2.1 - Fix mypy strict mode compatibility
π§ Bug Fix Release
This patch release fixes a type checking error that caused CI failures with mypy strict mode.
π Fixed
- mypy strict mode compatibility - Fixed type error where MCP resource was attempting to call a
FunctionToolobject directly (not callable)- Updated
list_all_indicators()resource to useToolExecutorpattern directly - Maintains same functionality with proper type safety
- Updated
β Verified
- β All 96 tests passing
- β mypy strict mode check passes (36 source files)
- β No breaking changes - same API and behavior
π¦ What's Changed
File: src/ree_mcp/interface/mcp_server.py
- Fixed line 877: Changed from calling wrapped tool to using ToolExecutor directly
- Added proper error handling with ResponseFormatter
This is a purely technical fix with no user-facing changes.
Full Changelog: v1.2.0...v1.2.1