Skip to main content
POST
/
api
/
mcp
/
detect-transport
curl -X POST https://api.example.com/api/mcp/detect-transport \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://mcp-server.example.com"
  }'
{
  "success": true,
  "message": "Transport types detected successfully",
  "supportedTypes": ["http", "sse"],
  "recommended": "http"
}

Request Body

url
string
required
MCP server URL to analyze (must be a valid URI)

Response

success
boolean
Whether the detection was successful
message
string
Status message or error details
supportedTypes
array
Array of supported transport types: stdio, http, and/or sse
Recommended transport type for this server
curl -X POST https://api.example.com/api/mcp/detect-transport \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://mcp-server.example.com"
  }'
{
  "success": true,
  "message": "Transport types detected successfully",
  "supportedTypes": ["http", "sse"],
  "recommended": "http"
}