Skip to content

Conversation

madhav165
Copy link
Collaborator

@madhav165 madhav165 commented Jul 21, 2025

🐛 Bug-fix PR


📌 Summary

Issue #424

💡 Fix Description

  1. Forward X-Forwarded-Proto in gunicorn
  2. Update url sent to SSETransport to have the correct protocol based on X-Forwarded-Proto header or request URL scheme

🧪 Verification

Check Command Status
Lint suite make lint pass
Unit tests make test pass

📐 MCP Compliance (if relevant)

  • Matches current MCP spec
  • No breaking change to MCP clients

✅ Checklist

  • Code formatted (make black isort pre-commit)
  • No secrets/credentials committed

Signed-off-by: Madhav Kandukuri <[email protected]>
Signed-off-by: Madhav Kandukuri <[email protected]>
Signed-off-by: Madhav Kandukuri <[email protected]>
Signed-off-by: Madhav Kandukuri <[email protected]>
@madhav165 madhav165 self-assigned this Jul 21, 2025
@madhav165 madhav165 added the bug Something isn't working label Jul 21, 2025
@madhav165 madhav165 marked this pull request as ready for review July 22, 2025 07:32
@madhav165
Copy link
Collaborator Author

test, smoketest, linting passed.
Test with make serve worked. Merging based on this.

@madhav165 madhav165 merged commit 855f5be into main Jul 22, 2025
26 checks passed
@madhav165 madhav165 deleted the use-tls-context branch July 22, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: MCP Gateway Doesn't Detect HTTPS/TLS Context or respect X-Forwarded-Proto when using Federation
1 participant