Skip to content

Commit ec6cd6f

Browse files
committed
fix: bind all interfaces issue
Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
1 parent ce6aee6 commit ec6cd6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpgateway/plugins/framework/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class MCPServerConfig(BaseModel):
406406
tls (Optional[MCPServerTLSConfig]): Server-side TLS configuration.
407407
"""
408408

409-
host: str = Field(default="0.0.0.0", description="Server host to bind to")
409+
host: str = Field(default="127.0.0.1", description="Server host to bind to")
410410
port: int = Field(default=8000, description="Server port to bind to")
411411
tls: Optional[MCPServerTLSConfig] = Field(default=None, description="Server-side TLS configuration")
412412

0 commit comments

Comments
 (0)