fix patch gateway feat/phase-2g-bundle
AI Agent git-import/068377df · 102 days ago · Apr 15, 2026 · Diff

fix(gateway): relax MCP OAuth rate-limit X-Forwarded-For check behind Nginx

express-rate-limit in @modelcontextprotocol/sdk OAuth routes throws ERR_ERL_UNEXPECTED_X_FORWARDED_FOR when Nginx sets X-Forwarded-For. Pass validate.xForwardedForHeader: false for SDK token/authorize/register/revoke limiters so Cursor OAuth token exchange succeeds on mcp.knowtation.store.

sha256:92f2b6c1e6e02a9d579965c7e788399bb84d5f42cba96a445a414e7e6b9cecdf sha
sha256:66b079ece908b5ec5e8c4a687912c9456aedb5a703b71913918dc22e8a460476 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:92f2b6c1e6e02a9d579965c7e788399bb84d5f42cba96a445a414e7e6b9cecdf --body "your comment"