Skip to main content
MCP Documentation

CLI Command Reference

Detailed reference for CLI commands covering task control, approvals, configuration, and diagnostics.

Task management

Commands like `mcp tasks run`, `mcp tasks status`, and `mcp tasks export` interact with orchestrator endpoints securely.

  • Use `--policy-mode` to override defaults per run.
  • `--watch` streams live updates for long-running plans.
  • `--output` writes results and artifacts to local paths.

Approvals & configuration

`mcp approvals list`, `mcp approvals approve`, and `mcp approvals reject` supply context-rich review flows.

  • Commands print risk class, requested action, and audit links.
  • `mcp config set` updates local profiles with encryption-at-rest.
  • `mcp doctor` collects diagnostics for support tickets.