Gatana Documentation
RoutesMcp serversServerslugCredentialsAuthorize url

/mcp-servers/{serverSlug}/credentials/authorize-url

Get an out-of-band OAuth URL which can be opened in any browser on any device to provide authorization credentials for this request's authenticated user. The generated URL will not require user to sign-in to Gatana; instead it will directly start the OAuth authorization flow with the remote MCP server.

GET
/mcp-servers/{serverSlug}/credentials/authorize-url
AuthorizationBearer <token>

In: header

Path Parameters

serverSlug*string
Length1 <= length

Query Parameters

scope?string
Value in"server" | "user" | "profile"
redirect?string
Value in"true" | "false"
returnTo?string
Value in"details" | "settings" | "thank-you-page" | "profile"

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/mcp-servers/string/credentials/authorize-url"
{
  "method": "none",
  "url": "string"
}