Skip to content

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

default sse to 127.0.0.1

Jeremiah Lowin0fe09ad0b08e
diff --git a/src/fastmcp/settings.py b/src/fastmcp/settings.py
index 41b3fcb89..98ae67376 100644
--- a/src/fastmcp/settings.py
+++ b/src/fastmcp/settings.py
@@ -42,7 +42,7 @@ class ServerSettings(BaseSettings):
log_level: LOG_LEVEL = Field(default_factory=lambda: Settings().log_level)
# HTTP settings
- host: str = "0.0.0.0"
+ host: str = "127.0.0.1"
port: int = 8000
sse_path: str = "/sse"
message_path: str = "/messages/"