cURL
curl --request POST \ --url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/test \ --header 'x-portkey-api-key: <api-key>'
{ "success": true, "status_code": 123, "response_time_ms": 123, "url": "<string>", "server_name": "<string>", "error": "<string>" }
Test connectivity to the MCP server via its integration URL.
MCP Server ID (UUID) or slug
OK
HTTP status from upstream (when success)
Error message when success is false
Was this page helpful?