Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738)

This commit is contained in:
ciccolo-anthropic
2025-05-20 12:23:19 -07:00
committed by GitHub
parent 43ded92633
commit 2ca2de767b
7 changed files with 7 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ def main(port: int, transport: str) -> int:
import uvicorn
uvicorn.run(starlette_app, host="0.0.0.0", port=port)
uvicorn.run(starlette_app, host="127.0.0.1", port=port)
else:
from mcp.server.stdio import stdio_server