mcp_discoverable

Token Endpoint

Accept the authorization code from client and exchange it for OAuth token. Supports PKCE flow by forwarding code_verifier to upstream provider.

  1. Call the token endpoint with PKCE parameters
  2. Store the user's token in the db - and generate a LiteLLM virtual key
  3. Return the token
  4. Return a virtual key in this response
post/token

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/token
  • Auth: none declared

Query parameters

mcp_server_namestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.