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
| Name | Type | Description |
|---|---|---|
code required | string | The sensitive code received from Vercel |
state | string | The state received from the initialization request |
client_id required | string | The integration client id |
client_secret required | string | The integration client secret |
redirect_uri | string | The integration redirect URI |
grant_type required | authorization_code | The 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:
{
"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:
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 ….