v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
MCP OAuth

OAuth Token Endpoint

OAuth 2.1 token endpoint (RFC 6749 §4.1.3, §6). Exchanges an authorization code with PKCE or a refresh token for an access/refresh token pair

post/oauth/token

Response

Token response

access_tokenstring
refresh_tokenstring
token_typestring
expires_ininteger
workspace_idstring
workspace_namestring