Skip to main content
Run diagnostic checks to verify Ultra is properly configured. Optionally upload a sanitized diagnostics report to Ultra Hub for fleet debugging.

Usage

Flags

Examples

Checks performed

Checks are grouped into four sections: System, Agents, Configuration, and Dependencies.

System

Agents

Doctor lists a row only for the agents it detects on this machine, either because the agent is installed or because its config was found. Supported agents that aren’t detected are left out. See Supported Agents for the full list, including Claude Desktop, Cursor, VS Code, Claude Code, and Codex. Each agent row shows one of these results: The Agents section always ends with a Config Drift check, which looks for MCP connectors that aren’t running through Ultra:

Configuration

Dependencies

Output

Each check shows a status icon:
  • Pass: Check succeeded, or an optional component such as Docker isn’t installed
  • Warning: Something needs attention, such as an agent config Ultra couldn’t parse or a missing Node.js
  • Error: Required component missing or broken
The summary shows total checks, passes, warnings, and errors, with recommendations for any issues found.

Diagnostics reporting

When you pass --report, Ultra collects a sanitized snapshot of your device’s configuration, detected MCP agents, and recent log artifacts, then uploads the bundle to Ultra Hub. This helps your organization’s admins and Ultra support diagnose installation or connectivity issues across a fleet of machines.

What is collected

Privacy and redaction

The diagnostics payload is automatically redacted before it leaves your machine:
  • API keys, tokens, and secrets are replaced with [REDACTED]
  • Your home directory path is replaced with ~
  • Hostnames are replaced with [REDACTED_HOSTNAME]
  • Credential patterns (Bearer tokens, JWTs, AWS keys, GitHub tokens, PEM private keys, database URLs) are detected and scrubbed
Use --report --dry-run to inspect the exact payload before uploading.

Requirements

  • The device must be authenticated with Ultra Hub (ultra login)
  • The report is uploaded to POST /api/v1/diagnostics and stored in S3 for Ultra employees only
  • A gateway.diagnostics_reported security event appears in your organization’s Admin Log when --report is used manually
Automatic background diagnostic uploads (during install auto-link, for example) do not create Admin Log entries.