Disable DNS rebinding protection for SSE LAN access

This commit is contained in:
2026-01-15 03:22:17 -05:00
parent 08d9ce69e3
commit b677e7f7d9
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ export MCP_TRANSPORT=sse
export MCP_HOST=127.0.0.1
export MCP_PORT=8150
export LIGHTRAG_BASE_URL=http://127.0.0.1:9621
export FASTMCP_TRANSPORT_SECURITY__ENABLE_DNS_REBINDING_PROTECTION=false
export FASTMCP_TRANSPORT_SECURITY__ALLOWED_HOSTS='["*:*"]'
export FASTMCP_TRANSPORT_SECURITY__ALLOWED_ORIGINS='["http://*","https://*"]'
lightrag-mcp

View File

@@ -8,6 +8,7 @@ services:
MCP_HOST: 0.0.0.0
MCP_PORT: 8150
LIGHTRAG_BASE_URL: http://host.docker.internal:9621
FASTMCP_TRANSPORT_SECURITY__ENABLE_DNS_REBINDING_PROTECTION: "false"
FASTMCP_TRANSPORT_SECURITY__ALLOWED_HOSTS: '["*:*"]'
FASTMCP_TRANSPORT_SECURITY__ALLOWED_ORIGINS: '["http://*","https://*"]'
ports: