Add a --host command line argument to allow configuring which address the HTTP server binds to. This is useful for containerized deployments where a TLS-terminating sidecar (like nginx) handles external traffic, and the MCP server should only be accessible via localhost. Use case: Kubernetes deployment with nginx sidecar for HTTPS termination. The MCP server binds to 127.0.0.1 while nginx handles TLS on the pod's external interface, providing defense-in-depth security. Default behavior remains unchanged (0.0.0.0). Assisted-By: Claude Code
15 KiB
15 KiB