fix: harden server reliability and OAuth security
This commit is contained in:
+2
-1
@@ -3,8 +3,9 @@ MCP_HOST=0.0.0.0
|
||||
MCP_PORT=3000
|
||||
MCP_ENDPOINT=/mcp
|
||||
MCP_PUBLIC_URL=https://mcp.example.com
|
||||
MCP_TRUST_PROXY_HOPS=0
|
||||
|
||||
# Authentication. A token is required unless MCP_ALLOW_NO_AUTH=true.
|
||||
# Static bearer authentication. OAuth can instead use MCP_OAUTH_APPROVAL_KEY.
|
||||
MCP_AUTH_TOKEN=replace-with-a-long-random-token
|
||||
MCP_ALLOW_NO_AUTH=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user