Skip to main content
The Harbor CLI gives you full control over your MCP server fleet from the terminal. Every command uses a nautical theme, with standard aliases available if you prefer.

Installation

curl -fsSL https://harbormcp.ai/install.sh | sh
On macOS, the install script installs the desktop app (which includes the CLI) and symlinks harbor to your PATH. Use HARBOR_NO_APP=1 for a CLI-only install. On Linux, it installs the harbor CLI binary directly. On Windows, the PowerShell script downloads and runs the MSI installer silently. You can also build from source:
git clone https://github.com/JoshuaShunk/Harbor.git
cd Harbor
cargo install --path crates/harbor-cli

Usage

harbor <command> [options]
Run harbor --help to see all available commands, or harbor <command> --help for details on a specific command.

Quick Example

# Dock a server
harbor dock --name github --command npx \
  --args @modelcontextprotocol/server-github \
  --env GITHUB_TOKEN=vault:GITHUB_TOKEN

# Sync to all hosts
harbor signal

# Check your fleet
harbor fleet

# Start the gateway
harbor lighthouse

Nautical Naming

Harbor uses a nautical theme for its commands. Every command has a standard alias if you prefer conventional names:
NauticalStandardWhat it does
dockaddAdd a server
undockremoveRemove a server
fleetlistList servers
signalsyncSync to hosts
scuttleuninstallUninstall Harbor
See the full command reference for all commands.