Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Fix import

Jeremiah Lowin3a7e2d820325
diff --git a/src/fastmcp/client/auth/oauth_cache.py b/src/fastmcp/client/auth/oauth_cache.py
index 928b9fa86..1cd3560a4 100644
--- a/src/fastmcp/client/auth/oauth_cache.py
+++ b/src/fastmcp/client/auth/oauth_cache.py
@@ -4,8 +4,10 @@ from pathlib import Path
from typing import Any, ClassVar, Literal
from urllib.parse import urlparse
-from fastmcp.client.auth.httpx_client import logger
from fastmcp.settings import settings
+from fastmcp.utilities.logging import get_logger
+
+logger = get_logger(__name__)
class OAuthCache: