Fix MCP /mcp-protocol/ 421 error: disable DNS rebinding protection and fix SPA fallback
- Disable MCP SDK transport_security DNS rebinding protection (nginx handles it)
- Fix SPA fallback to exclude /mcp-protocol without trailing slash
- Add transport_security import to mcp_protocol.py

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent aae771f commit cd25d7124b3425526237d820050915d5dbd23166
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 18 hours ago
Showing 2 changed files
View
gnexus_creds/main.py
View
gnexus_creds/mcp_protocol.py