MCP Template
CLI

Overview

Install and run CLI commands from your terminal

Installation

After installing the package, the mycli command is available:

mycli --help

If you installed from source, prefix with uv run:

uv run mycli --help

Global Flags

Flags go before the subcommand:

mycli [flags] <command> [args]
FlagShortDescription
--verbose-vIncrease output verbosity
--quiet-qSuppress non-essential output
--debugShow full tracebacks on error
--format-fOutput format: table (default), json, plain
--dry-runPreview actions without executing
--version-VPrint version and exit

Examples:

mycli --format json config show      # JSON output
mycli --dry-run greet Alice          # preview without executing
mycli --debug config get bad.key     # full tracebacks on error

On this page