Files
freshservice-claude/mcp-server/server.py
spencerm 7e0a3fabc2 Fix MCP 'Invalid Host header' (421) for LAN access
The streamable-HTTP transport enables DNS-rebinding protection by default,
which rejects non-localhost Host headers with HTTP 421. The server is reached
by LAN IP via mcp-remote (not a browser) and is gated by a bearer token, so
disable the protection via TransportSecuritySettings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 21:12:40 -06:00

15 KiB