Server Management

Get Admin Tokens

Admin-only endpoint to retrieve JWT tokens from Keycloak.

Returns both access token and refresh token for admin users.

Returns: JSON object containing access_token, refresh_token, expires_in, etc.

Raises: HTTPException: If user is not admin or token retrieval fails

get/api/admin/tokens

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Cookies

mcp_gateway_sessionstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 4 revisions of this API.