v20

OpenAPI 3.1.0raw.githubusercontent.com2026-08-035471202.8 KB
Server diagnostics

Run the doctor

Runs the full doctor workflow — probe → connect → initialize → capabilities → primitives — and returns a step-by-step report. The richest signal for "is this server healthy, and why not."

post/projects/{projectId}/servers/{serverId}/doctor

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

serverIdstring required

ID of the server inside the project.

Request body

object required

Response

Doctor report. status summarizes the outcome; per-step detail is in checks.

generatedAtstring date-time required

When the report was generated.

status'ready' | 'oauth_required' | 'partial' | 'error' required

Overall outcome. partial means the server connected but some primitive listings failed.

probeobject nullable

Transport-level probe result (HTTP reachability, protocol hints), or null when skipped.

initInfoobject nullable
capabilitiesobject nullable

The server's negotiated MCP capabilities.

resourceTemplatesobject[]