ApiMcp servers
Get server OAuth config
Return the effective OAuth configuration for an MCP server. Priority: linked OAuth app (Pattern B) → inline config (Pattern A) → 404 for curated-only (Pattern C) or empty. The response includes client_secret_masked; raw client_secret is never returned.
curl -X GET "https://loading/api/v1/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/oauth-config"{
"provider": "string",
"client_id": "string",
"client_secret_masked": "string",
"authorize_url": "string",
"token_url": "string",
"refresh_url": "string",
"scopes": [
"string"
],
"token_endpoint_auth_method": "string",
"pkce_required": true,
"oauth_app_id": "bf295b67-8583-439b-af58-e5af4617dc04"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}