MCP Template
CLI

Commands

All available CLI commands

greet

Greet someone by name.

mycli greet Alice
# Hello, Alice!

mycli greet Alice --shout
# HELLO, ALICE!

mycli greet Bob --shout --times 3
OptionShortDefaultDescription
--shout-sfalseUppercase the greeting
--times-t1Repetition count

config

Inspect and modify configuration.

mycli config show                           # view full config
mycli config get llm_config.cache_enabled   # get a single value
mycli config set logging.verbose false      # set an override
SubcommandDescription
showDisplay the full configuration
get <key>Get a single value by dot-separated key
set <key> <value>Write an override to .global_config.yaml

doctor

Run health checks on the project environment.

mycli doctor          # check everything
mycli doctor --fix    # auto-fix what it can

Checks Python version, uv installation, dependency sync, config validity, .env file, pre-commit hooks, and git status.

init

Scaffold a new command from a built-in template.

mycli init my_command --desc "Does something useful"
# Creates commands/my_command.py
# Run it: mycli my-command
OptionDescription
--descDescription for the new command

The name must be snake_case. Underscores are converted to hyphens for the CLI command name.

completions

Install shell tab-completions for faster usage.

mycli completions install bash    # append to ~/.bashrc
mycli completions install zsh     # append to ~/.zshrc
mycli completions install fish    # append to config.fish
mycli completions show bash       # print script to stdout

update

Check for a newer version and upgrade.

mycli update

telemetry

Manage anonymous usage telemetry.

mycli telemetry status     # show enabled/disabled
mycli telemetry disable    # opt out
mycli telemetry enable     # opt back in

You can also set CLI_TELEMETRY_DISABLED=1 to disable.

On this page