RoutesMcp serversServerslugOauthDiscover
/mcp-servers/{serverSlug}/oauth/discover
Discover OAuth metadata from the given URL or from the remote MCP server URL.
AuthorizationBearer <token>
In: header
Path Parameters
serverSlugstring
Length
1 <= lengthQuery Parameters
url?string
Response Body
application/json
curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/mcp-servers/string/oauth/discover"{
"oauthMetadata": {
"requiresAuthorization": true,
"resource": {
"id": "",
"availableScopes": [],
"metadataUrl": ""
},
"as": {
"issuer": "",
"authorizeEndpoint": "",
"deviceAuthorizationEndpoint": "",
"tokenEndpoint": "",
"extraAuthorizationParameters": "",
"registrationEndpoint": "string",
"supportsPKCE": false,
"supportedClientAuthMethods": [
"client_secret_basic"
],
"supportsDynamicClientRegistration": false,
"noDynamicClientRegistrationReason": "string",
"serviceDocumentation": "",
"metadataUrl": "",
"availableScopes": []
}
}
}