from mcp.server.mcpserver import MCPServer

app = MCPServer("test")


@app.tool(description="Gets the current date")
async def get_current_date():
    import asyncio

    await asyncio.sleep(0.1)
    return "2024-01-01"


app.run(transport="stdio")
