Skip to content

fix(deps): upgrade mcp-proxy to 6.7.13 and drop the WWW-Authenticate workaround - #359

Merged
punkpeye merged 1 commit into
mainfrom
chore/mcp-proxy-6.7.13
Sep 4, 2026
Merged

fix(deps): upgrade mcp-proxy to 6.7.13 and drop the WWW-Authenticate workaround#359
punkpeye merged 1 commit into
mainfrom
chore/mcp-proxy-6.7.13

Conversation

@punkpeye

@punkpeye punkpeye commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Follow-up to #358 / #357. The real bug was in mcp-proxy, now fixed upstream in punkpeye/mcp-proxy#101 (released as 6.7.13): a 401 always carries a WWW-Authenticate challenge, OAuth config or not.

  • Bumps mcp-proxy ^6.4.6^6.7.13 (the lockfile was pinned at 6.4.6, three minors behind).
  • Drops the oauth: {} shim Emit WWW-Authenticate on 401 when authenticate() fails with no OAuth config #358 added purely to unblock that header. #httpStreamOAuthConfig() stays, now doing only what its name says: advertise resource_metadata when OAuth is enabled.
  • 6.7.x normalises Content-Type on JSON/SSE responses to include ; charset=utf-8 (deliberate upstream fix for clients that decode unqualified JSON as Latin-1). Four OAuth metadata assertions pinned the exact string; they now match the media type and leave the charset to mcp-proxy.

Verified the 401 behaviour is unchanged without the shim — header, error_description, and the JSON-RPC id echo are byte-identical to #358, and the OAuth-enabled path still advertises resource_metadata. 758/758 tests pass.

@punkpeye
punkpeye merged commit 782cd88 into main Sep 4, 2026
2 checks passed
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 4.20.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant