MCP Gateway
ApiOauth apps

Test MCP server connection

Send JSON-RPC initialize and tools/list requests to verify server is responding. No auth required — used during server creation wizard.

POST
/api/v1/oauth-apps/test

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/oauth-apps/test" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com"  }'
{
  "success": true,
  "server_name": "string",
  "server_version": "string",
  "protocol_version": "string",
  "tools_count": 0,
  "latency_ms": 0,
  "error": "string",
  "error_code": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}