Commands
Use mcpstack <command> for interactive harness selection or --harness codex or --harness claude for unattended runs. Namespaced mcpstack <harness> <command> forms remain available. Only import accepts multiple harnesses. --config <PATH> selects a configuration for one harness.
--non-interactive disables prompts; -y approves changes. Permissions always require --include-permissions.
Operations
| Command | Purpose |
|---|---|
| list | List configured servers without running them. |
| show | Print a portable YAML stack to stdout. |
| export | Save a portable YAML stack. |
| diff | Preview a redacted import diff without writing files or running servers. |
| import | Merge server additions and replacements; preserve servers absent from the stack. |
| use | Replace the entire server set. Servers absent from the stack are removed. |
| validate | Check stack syntax without resolving secrets, reading client config, or running servers. |
| update | Check for or install the latest stable release from crates.io. |
| help | Show command help. |
Exit statuses
Zero means success, cancellation, or no change; nonzero means failure.
Full help · CLI schema and error codes · Version 0.2.0