-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage
Description
π Bug Summary
Edit Gateway API does not persist the passthrough_headers field from GatewayUpdate.
Although the field exists in the GatewayUpdate model, it is ignored during update and never stored in the DB.
π§© 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
- Create a Gateway Server.
- Reopen the "Edit" modal.
- Fill in the Passthrough Headers input and hit save
- Observe that Passthrough headers are not saved
π€ Expected Behavior
passthrough_headers should be updated on the gateway record.
Changes should be visible in the DB and returned in the GatewayRead response.
π Logs / Error Output
Paste any relevant stack traces or logs here.
π§ Environment Info
You can retrieve most of this from the /version
endpoint.
Key | Value |
---|---|
Version or commit | 0.6.0 |
Runtime | Python 3.13.1 |
Platform / OS | Darwin 24.5.0 (arm64) |
Container | none |
π§© Additional Context (optional)
This was confirmed in the update_gateway method: while it updates name, url, tags, auth, etc., it never checks gateway_update.passthrough_headers.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssues / Features awaiting triageIssues / Features awaiting triage