Multiple_game_mcp / math_server.py
Jofthomas's picture
Update math_server.py
2a4d673 verified
raw
history blame
191 Bytes
from mcp.server.fastmcp import FastMCP
mcp = FastMCP(name="MathServer", stateless_http=True)
@mcp.tool(description="A simple add tool")
def add_two(a: int, b:int) -> int:
return a + b