-
Notifications
You must be signed in to change notification settings - Fork 386
Closed
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage
Milestone
Description
🐞 Bug Summary
Despite setting ENABLE_HEADER_PASSTHROUGH=true in the environment (e.g., .env), passthrough header parameters are not being saved in the database.
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway- API -
mcpgateway- UI (admin panel) -
mcpgateway.wrapper- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
🔁 Steps to Reproduce
- Clone the repo and checkout tag
v0.6.0. - In your
.envconfiguration, set:ENABLE_HEADER_PASSTHROUGH=true
- Launch the server and open the Admin UI.
- Create a gateway with Passthrough Headers:
email, authorization. - After the gateway is successfully added, click Edit—the Passthrough Headers field is empty.
- In the database, within the
gatewaystable, check thepassthrough_headerscolumn for this gateway—it isNULL.
🤔 Expected Behavior
After the gateway is successfully added, click Edit—the Passthrough Headers field should be filled with added header keys.
By adding them in the database directly as ["email", "authorization"], it is showing as expected.
📓 Logs / Error Output
Couldn't see any error logs in the console.
🧠 Environment Info
You can retrieve most of this from the /version endpoint.
| Key | Value |
|---|---|
| Version or commit | 0.6.0 |
| Runtime | Python 3.12, Gunicorn |
| Platform / OS | AWS Amazon Linux 2 |
| Container | none |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage