Test an MCP server connection and list its tools
Opens a live connection to an MCP server using exactly the credential resolution a session would use, and returns the tools it advertises. A server that cannot be reached or authenticated is still HTTP 200 with ok=false, so inspect that field rather than relying on the status code. Pass vaultIds to probe authenticated; omit them to probe anonymously.
Authorizations
Headers
Body
Response
Response body of POST /managed-agents/v2/mcp/probe: the result of one live connection attempt to an MCP server, run through the same URL and vault resolution a real session uses. This envelope is a verdict rather than a resource: a server that is down is still HTTP 200 with ok=false, so a caller can distinguish "the server you configured is unreachable" from "this API is unreachable". Nothing is persisted by a probe.
Response body of POST /managed-agents/v2/mcp/probe: the result of one live connection attempt to an MCP server, run through the same URL and vault resolution a real session uses. This envelope is a verdict rather than a resource: a server that is down is still HTTP 200 with ok=false, so a caller can distinguish "the server you configured is unreachable" from "this API is unreachable". Nothing is persisted by a probe.
True when a credential from the named vaults was opened and attached to the request. It reports whether this attempt was authenticated, not whether a credential exists: a credential that matched the server URL but could not be opened reports false and sets credentialUnopenable, because nothing was sent.
True when the server answered. Either the handshake succeeded (protocolVersion is set), even if listing tools then failed, or the server refused the credential or its absence with HTTP 401 or 403 (protocolVersion is absent): the URL and network are fine, and the credential is what to fix.
Set when a credential matched this server URL and could not be opened, so the request carried no auth header. external_reference means the material is held outside this service and must be re-entered here; material_missing means the credential row carries no stored value. Omitted when none matched or the match was usable.
external_reference, material_missing Set when the server was never reached for a reason other than the network, with reachable=false. egress_blocked means the server URL resolves to a private, loopback, link-local, or metadata address, which this service refuses to connect to; use a public URL. token_invalid means the stored token contains a line break, so it cannot be sent as a header; save it again without it. Omitted for every other outcome, including genuine network failures.
egress_blocked, token_invalid