Skip to main content
POST
/
ai
/
mcp-servers
/
discover
Discover MCP server auth
curl --request POST \
  --url https://api.wacht.dev/ai/mcp-servers/discover \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "endpoint": "<string>"
}
'
{
  "requires_auth": true,
  "recommended_auth_mode": "<string>",
  "token_url": "<string>",
  "auth_url": "<string>",
  "register_url": "<string>",
  "resource_metadata_url": "<string>",
  "resource": "<string>",
  "scopes": [
    "<string>"
  ],
  "token_endpoint_auth_methods_supported": [
    "<string>"
  ],
  "authorization_servers": [
    "<string>"
  ],
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
endpoint
string
required

Response

200 - application/json

MCP auth discovery result

requires_auth
boolean
token_url
string | null
auth_url
string | null
register_url
string | null
resource_metadata_url
string | null
resource
string | null
scopes
string[]
token_endpoint_auth_methods_supported
string[]
authorization_servers
string[]
message
string