v2
mcp
mcp
Exchange OAuth code for MCP tokens
Changed onExchange 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
- The document declares no server URL.
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info