fix(mcp): disable DNS rebinding protection for LAN HTTP transport #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/mcp-transport-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
allowed_hosts=["localhost"], blocking requests from the Mac (192.168.178.82) to the Jetson (192.168.178.103:8765)_TokenAuthBearer token middleware + UFW restricting port 8765 to trusted LAN IPs — host-header validation is redundantTransportSecuritySettings(enable_dns_rebinding_protection=False)to FastMCP constructorTest plan
uv run pytest tests/mcp/ -q)ansible-playbook --tags codex_mcpto pull updated code on Jetson + restart servicecurl http://192.168.178.103:8765/mcpfrom Mac responds (not 421)🤖 Generated with Claude Code