Test a connector's connection
/v1/mcp-integrations/{slug}/testTest a connector's connection.
Connects to the upstream with the stored credentials and reports what it is, then disconnects. For an OAUTH_AUTO connector it uses the caller's own connected account, else the organization connection. For an OPENAPI or HTTP connector it reads the spec or the declared endpoints into tools; the API itself is not called. A failed check is a 200 with ok: false.
Requires an organization admin key, or a workspace admin key for the owning workspace (an organization-level connector needs an organization admin). (a test sends the stored credentials upstream). Returns 402 when the organization's plan does not include the MCP Gateway. Returns 404 when the connector does not exist in the organization.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredThe connector's slug (
mcpi-...).
Query parameters
organizationstringrequiredThe organization's identifier (slug).
Responses
okbooleanWhether the gateway could connect (for a REST connector: read the spec or declarations into tools).
protocol_eraenum<string>MODERNorLEGACY.One of
"MODERN","LEGACY"protocol_versionstringThe MCP protocol version agreed.
server_namestringThe name the upstream reported (a REST connector: the spec's title, or the connector's name).
server_versionstringThe version the upstream reported.
capabilitiesstring[]The capability groups the upstream declared, for example
tools,prompts,resources.latency_msinteger<int64>How long the check took, in milliseconds.
error_kindstringOn failure, the kind of error:
EGRESS_BLOCKED,UNREACHABLE,TIMEOUT,AUTH_FAILED,HTTP_ERROR,PROTOCOL_ERROR,UNSUPPORTED_VERSION,UNSUPPORTED_TRANSPORT,RESPONSE_TOO_LARGE,SPEC_INVALID,CONNECTION_REQUIRED(OAUTH_AUTO: no connected account to test with) orOAUTH_ERROR.errorstringOn failure, what went wrong.