Skip to content

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

Restore default to zero

Jeremiah Lowin012fccb1ff07
diff --git a/src/fastmcp/settings.py b/src/fastmcp/settings.py
index 3c66ad3ae..f39c82ff1 100644
--- a/src/fastmcp/settings.py
+++ b/src/fastmcp/settings.py
@@ -171,7 +171,7 @@ class ServerSettings(BaseSettings):
] = []
# cache settings (for getting attributes from servers, used to avoid repeated calls)
- cache_expiration_seconds: float = 1
+ cache_expiration_seconds: float = 0
# StreamableHTTP settings
json_response: bool = False