Skip to main content
POST
/
api
/
mcp-servers
/
validate-url
Validate MCP server URL
curl --request POST \
  --url http://localhost:8080/api/mcp-servers/validate-url \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>' \
  --data '
{
  "url": "https://api.example.com/mcp-server"
}
'
{
  "message": "URL validation successful",
  "status": "success",
  "error": null,
  "data": {
    "valid": true,
    "url": "https://api.example.com/mcp-server",
    "checks": {
      "format_valid": true,
      "is_duplicate": false,
      "connectivity_test": "success"
    },
    "recommendations": []
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Body

application/json
url
string
required

MCP server URL to validate

Response

URL validation successful

message
string
status
string
error
string | null
data
object