This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+3 more
Summary
AI summaryFixed validation bug that incorrectly rejected complex mathematical expressions such as sqrt(16) + pow(2, 3) and sin(3.14159/2) + cos(0).
Full changelog
Critical Fix for v0.3.1 Validation Issue
Problem Resolved
Version 0.3.1 introduced a validation bug that incorrectly rejected valid complex mathematical expressions:
sqrt(16) + pow(2, 3)was failing with validation errorsin(3.14159/2) + cos(0)was failing with validation error
Solution Implemented
- Root Cause: Flawed parentheses counting in validation logic
- Fix: Simplified validation to only catch empty function calls
- Result: All complex expressions now work correctly
Verified Working
Core Functionality:
pow(2, 3)= 8.0 (original fix from 0.3.1)sqrt(16)= 4.0sqrt(16) + pow(2, 3)= 12.0 (now working!)sin(3.14159/2) + cos(0)= 2.0 (now working!)
Enhanced Error Messages (preserved):
pow(2)-> Helpful error with examplesqrt()-> Clear parameter requirement message- Empty functions in complex expressions -> Specific guidance
Technical Details
- Maintains all FastMCP 2.0 compliance
- Preserves security measures and validation
- Backward compatible with existing functionality
- Function discovery resource (
math://functions) working perfectly
Installation
uvx math-mcp-learning-server==0.3.2
Essential hotfix - recommended upgrade for all v0.3.1 users.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About clouatre-labs/math-mcp-learning-server
Educational MCP server for math operations, statistics, visualization, and persistent workspaces. Built with FastMCP 2.0.
Related context
Beta — feedback welcome: [email protected]