[Bug] MCP Server Authorization Header Not Recognized, Falls Back to OAuth

Resolved 💬 11 comments Opened Mar 13, 2026 by stantonk Closed Apr 22, 2026

Bug Description
mcp does not work anymore for servers that use Authorization header instead of OAuth, it refuses to obey an Authorization header now and tries to use oauth.

This worked yesterday just fine.

{
  "mcpServers": {
    "myserver": {
      "type": "http",
      "url": "http://some.internal.mcp.server.com/mcp/message",
      "headers": {
        "Authorization": "Bearer REDACTED"
      }
    }
  }
}

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.74
  • Feedback ID: 2b50b5dc-afb3-45de-b385-4263dd8cd4a7

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/kevin/.local/share/claude/versions/2.1.74 (expected in multi-process scenarios)\n    at kvT (/$bunfs/root/src/entrypoints/cli.js:2644:2025)\n    at Cbq (/$bunfs/root/src/entrypoints/cli.js:2644:1169)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T01:03:24.698Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:100:18244)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T01:04:08.866Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:102:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:102:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:100:18315)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-13T01:04:08.867Z"}]

View original on GitHub ↗

This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗