mcp

Store Mcp Oauth User Credential

Changed on

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://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/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
refresh_tokenstring nullable
expires_ininteger nullable
scopesstring[] nullable

Response

Successful Response

server_idstring required
has_credentialboolean required
expires_atstring nullable
is_expiredboolean
connected_atstring nullable

Changes