diff --git a/src/mcp/server.py b/src/mcp/server.py index bac29f3..4e5c45f 100644 --- a/src/mcp/server.py +++ b/src/mcp/server.py @@ -13,13 +13,13 @@ mcp = FastMCP( @mcp.tool() -async def get_plan_by_id(plan_id: int) -> dict: - plan = await get_plan_by_id(plan_id) +async def get_plan(plan_id: int) -> dict: + plan = get_plan_by_id(plan_id) return plan @mcp.tool() async def get_plan_list() -> list[dict]: - plans = await fetch_plans() + plans = fetch_plans() return [ { "id": p["id"],