Installing LeanMCP CLI

Get the LeanMCP CLI tool to manage your MCP projects from the command line.
brew tap rosaboyle/mcli
brew install mcli

Direct Download

macOS

Apple Silicon (M1/M2/M3)
curl -L https://github.com/rosaboyle/mcli-releases/releases/latest/download/mcli-darwin-arm64 -o mcli
chmod +x mcli
sudo mv mcli /usr/local/bin/
Intel
curl -L https://github.com/rosaboyle/mcli-releases/releases/latest/download/mcli-darwin-amd64 -o mcli
chmod +x mcli
sudo mv mcli /usr/local/bin/

Verify Installation

mcli --version

First Setup

After installation, you’ll need to authenticate with your API key:
mcli auth login --api-key <your-api-key>
Get your API key from the LeanMCP Dashboard → Settings → API Keys

Next Steps