@ -22,5 +22,5 @@ def divide(a: int, b: int) -> float:
if __name__ == "__main__":
print("Starting Mock Math Server on port 8000...")
# Fix the parameters to match the FastMCP API
mcp.run(transport="sse", host="0.0.0.0", port=8000)
# FastMCP expects transport_kwargs as separate parameters
mcp.run(transport="sse", transport_kwargs={"host": "0.0.0.0", "port": 8000})