mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 06:54:18 +01:00
Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations (#738)
This commit is contained in:
committed by
GitHub
parent
43ded92633
commit
2ca2de767b
@@ -164,6 +164,6 @@ def main(
|
||||
|
||||
import uvicorn
|
||||
|
||||
uvicorn.run(starlette_app, host="0.0.0.0", port=port)
|
||||
uvicorn.run(starlette_app, host="127.0.0.1", port=port)
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user