Request Body
Transport protocol type. Must be one of: stdio, http, or sse
Server URL for HTTP/SSE transport
Command to execute for stdio transport
Command arguments for stdio transport
Environment variables as key-value pairs
Connection type. Must be either direct or proxy
Proxy URL if using proxy connection
Response
Whether the server configuration is valid
Validation message or error details
Validation status: ok, error, or timeout
Server capabilities if validation successful
Server implementation details
curl -X POST https://api.example.com/api/mcp/validate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"transportType": "http",
"url": "https://mcp-server.example.com",
"connectionType": "proxy"
}'
{
"valid": true,
"message": "Server validation successful",
"status": "ok",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true
},
"serverInfo": {
"name": "Example MCP Server",
"version": "1.0.0"
}
}