Skip to content

fix(oauth): request offline_access for Vercel MCP - #1951

Open
nidhi-singh02 wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
nidhi-singh02:fix/vercel-mcp-refresh-token
Open

fix(oauth): request offline_access for Vercel MCP#1951
nidhi-singh02 wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
nidhi-singh02:fix/vercel-mcp-refresh-token

Conversation

@nidhi-singh02

Copy link
Copy Markdown

Summary

  • request Vercel's offline_access lifecycle scope during dynamic client registration and authorization so MCP connections receive renewable credentials
  • scope the exception to the official https://vercel.com/oauth/authorize endpoint
  • add regression coverage for registration and authorization, plus an SDK patch changeset

Linked issue

Fixes #1950

Verification

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • TURBO_TEST_CONCURRENCY=2 bun run test (39/39 tasks passed)
  • Live self-host verification — reconnect stored a refresh-token pointer and offline_access; Vercel reported healthy with 37 tools

Checklist

  • Added a changeset for the published SDK change.
  • Added regression tests for the changed OAuth behavior.
  • Confirmed no secrets or private deployment details are included.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vercel MCP connections expire because OAuth omits offline_access

1 participant