McpDoctorCommand
Rasuvaeff\Yii3Mcp\McpDoctorCommand
Class — Rasuvaeff\Yii3Mcp — Source — Extends: Symfony\Component\Console\Command\Command
Health/readiness diagnostics for the MCP server configuration: endpoint secret, session directory and store, OpenAPI spec, server build. Output never contains the secret or configured header values.
Exit codes are stable for scripting: 0 = healthy, 2 = config error, 3 = storage error, 4 = upstream error (the category of the FIRST failing check — checks run in diagnosis order, so the first failure is the root cause). --json prints the machine-readable report; --probe allows network access (fetching a URL OpenAPI spec) — without it the check stays local and network-dependent checks are reported as skipped.
No public properties or methods beyond the constructor.