from mcp.server.fastmcp import FastMCP

# 初始化MCP server
mcp = FastMCP(name="Tool Example")


# 使用装饰器，标识某一个方法是tool方法
@mcp.tool()
def sum_numbers(a: int, b: int) -> int:
    """Add two numbers together."""
    return a + b
