Request Body
MCP server URL to analyze (must be a valid URI)
Response
Whether the detection was successful
Whether the server is currently authenticated
Detected authentication type: oauth, bearer, custom, or none
Whether the server requires authentication
Error message if detection failed
curl -X POST https://api.example.com/api/mcp/detect-auth \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://mcp-server.example.com"
}'
{
"success": true,
"isAuthenticated": false,
"authType": "oauth",
"requiresAuth": true
}