cavi-ai/
GitHub ↗

CLI reference

MCP Eval 0.1.0 installs the mcpeval binary.

CommandRequired shapePurpose
shim--server <SERVER> -- <CMD>...Proxy an stdio server and capture sanitized metadata.
shim-http--server <SERVER> --listen <LISTEN> --upstream <UPSTREAM>Proxy Streamable HTTP capture. --allow-remote-http permits an explicitly selected remote HTTPS upstream.
probe--server <SERVER> plus [-- <CMD>...] or --url <URL>Run manifest probes. Supports --manifest, --probe, `--format text\json\markdown\sarif, --price-per-mtok <USD> for session-cost interpretation in text and markdown, --allow-mutation, and --allow-remote-http`.
init--server <SERVER> plus a targetScaffold a discovery/token-cost manifest from tools/list. --confirm-read-only additionally permits empty-argument schema checks.
schemano optionsPrint the strict manifest JSON Schema for editor validation.
compare--server <SERVER> --endpoint <LABEL=URL> twice or moreCompare one manifest across Streamable HTTP endpoints. Supports text, Markdown, and JSON output.
export-issues--dir <DIR>Write content-free markdown issue drafts for open promoted findings.
trendsoptional --last <COUNT>Show privacy-safe readiness history from full probe runs.
report<DOCUMENT> (or - for stdin)Re-render a committed mcpeval.probe-report/v1 document as text, markdown, or SARIF without re-running any server. Supports --brief and --price-per-mtok.
verify--finding <FINDING> --case <CASE> plus a targetRun one manifest case and update the finding lifecycle. Supports the same manifest and authorization flags as probe.
indexno optionsLoad JSONL records and derive failure windows.
promoteoptional --threshold <THRESHOLD>Aggregate indexed failures and promote supported findings.
generate--finding <FINDING> --output <OUTPUT> --confirm-read-onlyGenerate an eligible read-only manifest. --force replaces an existing output.
findingsoptional `--format agent\md\json`Render sanitized findings; default format is agent.
serve--listen <LISTEN>Serve findings and trends over a loopback Streamable HTTP MCP endpoint. --print-config emits an MCP client config snippet for the endpoint and exits.
annotate--session <SESSION> --seq <SEQ> --kind <KIND> --note <NOTE>Record a bounded agent-authored observation.
doctoroptional --check-redactionRun store-hygiene checks.
share--dir <DIR>Package the share-safe envelope: the store records plus a SHARE.md manifest, after a clean redaction sweep. The salt, index databases, and manifests are never copied. Supports --include-probe-history and --force.

The default manifest path for probe and verify is mcp-eval.manifest.json. The five headline evaluation dimension values for --probe are contention, error-honesty, state-recovery, discovery-cost, and schema-guessability. The CLI also accepts the supplemental probes token-cost, degradation-over-n, instruction-fidelity, latency-budget, pagination, payload-bounds, surface-listing, and output-schema; they are not additional headline dimensions in version 0.1.0.

probe --format json emits the versioned, deterministic mcpeval.probe-report/v1 document. It contains the validated server label, case IDs, probe names, fixed failure labels, pass state, and numeric measurements only; it excludes timestamps, sessions, arguments, response bodies, descriptions, schemas, and raw error text.

Use mcpeval help <COMMAND> for the binary's exact invocation text.