This release includes breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+3 more
Summary
AI summaryFixed deployment failure on FastMCP Cloud by replacing a relative import with an absolute one.
Full changelog
Critical Hotfix
Fixes v0.7.0 deployment failure on FastMCP Cloud.
Bug Fixed
Error: attempted relative import with no known parent package
Root cause: Line 20 in server.py used relative import:
from . import visualization # ❌ Breaks in FastMCP Cloud
Solution: Changed to absolute import:
from math_mcp import visualization # ✅ Works everywhere
Why This Happened
FastMCP Cloud loads server.py directly without package context, causing relative imports to fail. Absolute imports work in both packaged usage (tests, local dev) and direct execution (cloud deployment).
Documentation Updated
Added Python import standards to CLAUDE.md:
- Always use absolute imports for cloud compatibility
- Avoid relative imports (
from .,from ..)
Testing
- ✅ All 67 tests passing
- ✅ Type checking clean (mypy)
- ✅ Linting clean (ruff)
- ✅ Import tested locally
Impact
No breaking changes. Restores cloud deployment functionality for all v0.7.0 visualization features.
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]