Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

For agents

Documentation index · All Markdown · CLI schema

Install the skill

npx skills add https://nuzzles.github.io/mcpstack

Or install from GitHub: npx skills add nuzzles/mcpstack --skill mcpstack. Add -g for all projects or -a codex -a claude-code to select agents.

The skill teaches agents the CLI workflow; install mcpstack separately.

Automation

Direct commands need an explicit --harness when prompts are disabled. Only import accepts repeated --harness to process both harnesses; every other client command selects one.

mcpstack --schema
mcpstack codex import work.yaml --dry-run --non-interactive -y
mcpstack codex import work.yaml --non-interactive -y

Apply only after authorization. Use the installed binary’s schema, explicit --config paths when needed, and identical flags for preview/apply. For stack switches, preview with use --dry-run; it shows removals that diff does not. Schema requires lists companion argument IDs needed when an option is supplied.

OutputFormat
--schemaJSON interface and exit codes
showYAML stack
Other stdoutHuman-readable text
stderrDiagnostics and prompts

--non-interactive disables prompts; -y approves changes. Missing secrets fail; supply them through environment variables. Permissions require --include-permissions. Nonzero exits mean failure; zero can also mean cancellation or no change. Inspect results before retrying. There is no JSON result mode for imports or switches.