OpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
mcp
Token Endpoint
Accept the authorization code from client and exchange it for OAuth token. Supports PKCE flow by forwarding code_verifier to upstream provider.
- Call the token endpoint with PKCE parameters
- Store the user's token in the db - and generate a LiteLLM virtual key
- Return the token
- Return a virtual key in this response
post/token
Query parameters
mcp_server_namestring nullable
Response
Successful Response
{"stackTrail":"paths:/token:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}