from fastmcp import FastMCP mcp = FastMCP("MathService") @mcp.tool() def add(a: int, b: int) -> int: """Add two integers.""" return a + b @mcp.tool() def multiply(a: int, b: int) -> int: """Multiply two integers.""" return a * b if __name__ == "__main__": mcp.run(transport="http", host="0.0.0.0", port=8000)