Skip to main content

Installing LeanMCP CLI

Get the LeanMCP CLI tool to manage your MCP projects from the command line. Install globally via npm:

Verify Installation

Example Output:

First Setup

After installation, authenticate with your API key:
The CLI will prompt you to enter your API key:
Get your API key from the LeanMCP Dashboard → Settings → API Keys

Quick Start

After installation and login, create your first MCP server:

Next Steps

Authentication

Set up your API key and login

Project Management

Create and manage MCP projects