v2
mcp
mcp
Exchange OAuth code for MCP tokens
Exchange the authorization code for tokens and store the credential.
The frontend calls this after receiving the OAuth code from the popup. On success, subsequent /discover-tools calls for the same server URL will automatically use the stored credential.
post/api/mcp/oauth/callback
Request body
Response
Successful Response
Changes
Changed in 1 of the 92 revisions of this API.1
- ●
added the new
device_codeenum value to thetyperesponse property for the response status200response-property-enum-value-added
- ●