Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.harbormcp.ai/llms.txt

Use this file to discover all available pages before exploring further.

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 native server (one command, built-in auth)
harbor dock github

# Or dock a custom server manually
harbor dock --name memory --command npx --args "-y,@modelcontextprotocol/server-memory"

# Link a host
harbor port link claude

# 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 (native or custom)
undockremoveRemove a server
fleetlistList servers
launchstartStart a server
manifeststatusShow status
signalsyncSync to hosts
porthostManage host connections
lighthousegatewayStart the HTTP gateway
cargofilterManage tool filters
scoutsearchSearch the MCP Registry
chestvaultManage secrets
scuttleuninstallUninstall Harbor
updateUpdate to latest version
See the full command reference for all commands.