Home / Servers / Vercel API / exchange_sso_token

SSO Token Exchange

An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.

SSO Token Exchange During the autorization process, Vercel sends the user to the provider redirectLoginUrl, that includes the OAuth authorization code parameter. The provider then calls the SSO Token Exchange endpoint… [POST /v1/integrations/sso/token]

Name on the gateway: vercel_api__exchange_sso_token · may change things.

Parameters

NameTypeDescription
code requiredstringThe sensitive code received from Vercel
statestringThe state received from the initialization request
client_id requiredstringThe integration client id
client_secret requiredstringThe integration client secret
redirect_uristringThe integration redirect URI
grant_type requiredauthorization_codeThe grant type, when using x-www-form-urlencoded content type

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "vercel_api__exchange_sso_token",
  "arguments": {
    "code": "…",
    "client_id": "…",
    "client_secret": "…",
    "grant_type": "…"
  }
}

Or connect the Vercel API server directly, which lists 472 tools including this one:

Run in your terminal
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the sso token exchange tool with code set to ….

More from Vercel API