If you donβt provide a custom log_handler, FastMCP uses a default handler that emits a DEBUG-level FastMCP log for every log message received from the server, which is useful for visibility without polluting your own logs.
Copy
client = Client("my_mcp_server.py")async with client: # Server logs will be emitted at DEBUG level automatically await client.call_tool("some_tool")