from mcp.server.fastmcp import FastMCP


# MCPの準備
mcp = FastMCP("tool_server")


@mcp.tool()
def add(a: int, b: int) -> int:
    """2つの整数を加算"""
    return a + b


if __name__ == "__main__":
    """メイン"""
    mcp.run(transport='stdio')
    