MCP OAuth tokens not persisting across sessions (HTTP transport)

Resolved 💬 3 comments Opened Feb 21, 2026 by issender-byte Closed Feb 21, 2026

Description

MCP servers configured with HTTP transport and OAuth authentication (e.g., Sentry, Vercel) lose their OAuth tokens between sessions in the VS Code extension. Users need to re-authenticate each time.

Setup

  • Claude Code VS Code extension (latest, Feb 2026)
  • Windows 11
  • MCP config uses HTTP transport for Sentry and Vercel

Expected

OAuth tokens persist across sessions using refresh tokens.

Actual

After authenticating, tokens are unavailable in the next session. No token storage found in ~/.claude/. Re-auth required each time.

Suggested fix

Persist OAuth tokens in a durable location (e.g., ~/.claude/mcp-tokens/ or OS keychain).

View original on GitHub ↗

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