Skip to main content

Using the CLI

1

Dock a server

Add an MCP server to Harbor. This example adds the MCP memory server:
harbor dock --name memory --command npx --args @modelcontextprotocol/server-memory
2

Sync to your hosts

Push your fleet to all connected hosts:
harbor signal
This merges the server config into Claude Code, Codex, VS Code, and Cursor — wherever you’ve connected.
3

Check your fleet

Verify everything is docked:
harbor fleet

Using the Desktop App

1

Open the Fleet page

Launch Harbor and navigate to the Fleet tab in the sidebar.
2

Dock a ship

Click the Dock Ship button. Enter the server name, command, and any arguments or environment variables.
3

Connect your hosts

Go to the Ports tab and connect the hosts you want to sync to (Claude Code, VS Code, etc.).
4

Signal your hosts

Click Signal All to push your fleet to every connected host.

What Just Happened?

When you dock a server, Harbor stores it in ~/.harbor/config.toml. When you signal, Harbor reads each host’s config file, merges your servers in alongside any existing ones, and writes it back. Your original config is never overwritten — Harbor only adds or updates its own servers.

Next Steps