Skip to main content
GET

Overview

Check whether a user has connected a specific OAuth provider and can make proxy requests. Use this to determine if you need to prompt the user to authenticate before making proxy requests.

Path Parameters

string
required
OAuth provider name. Currently supported: google

Headers

string
required
Your MCP Rank API key
string
required
Bearer token. Format: Bearer {mcp_identity_access_token}

Response

string
The provider name
boolean
Whether the user has connected this provider
string
Connection status. Possible values:
  • active - Connection is working
  • needs_reauth - User needs to re-authenticate (e.g., token expired and couldn’t refresh)
  • null - Not connected
boolean
Whether proxy requests can be made. true only if connected is true and status is active.

Use Cases

Pre-flight check before proxy requests

Show connection status in UI

Error Responses