mcp_management

Store Mcp Oauth User Credential

Store the calling user's OAuth2 token for an OpenAPI MCP server

post/v1/mcp/server/{server_id}/oauth-user-credential

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/v1/mcp/server/{server_id}/oauth-user-credential
  • Auth: API key in header x-litellm-api-key

Path parameters

server_idstring required

Request body

access_tokenstring required
expires_ininteger nullable
refresh_tokenstring nullable
scopesstring[] nullable

Response

Successful Response

connected_atstring nullable
expires_atstring nullable
has_credentialboolean required
is_expiredboolean
server_idstring required

Changes

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