Closed
Description
I have a simple client demo:
from fastmcp import Client
import asyncio
async def main():
async with Client("mcp_server.py") as client:
tools = await client.list_tools()
print(f"Available tools: {tools}")
asyncio.run(main())
That works as expectet with Version 2.1.2 but returns the follwoing error with version 2.2.0:
...
mcp.shared.exceptions.McpError: 'FastMCP' object has no attribute 'get_tools'
Metadata
Metadata
Assignees
Labels
No labels