Skip to content

This release fixes issues for SREs watching stability and regressions.

Published 8mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

calculator educational fastmcp fastmcp-3 mathematics mcp
+3 more
mcp-server python tutorial

Summary

AI summary

Fixed 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 error
  • sin(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.0
  • sqrt(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 example
  • sqrt() -> 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

Track clouatre-labs/math-mcp-learning-server

Get notified when new releases ship.

Sign up free

About clouatre-labs/math-mcp-learning-server

Educational MCP server for math operations, statistics, visualization, and persistent workspaces. Built with FastMCP 2.0.

All releases →

Beta — feedback welcome: [email protected]