Quit Harbor.
Your dev servers keep running.

A small native macOS app for the thing you do before writing any code: starting npm run dev in one folder, php artisan serve and a queue worker in another — and then remembering which of them is still up.

macOS 14+ · Apple silicon & Intel · Swift and SwiftUI, no dependencies · needs tmux

The Harbor window

nott

Documents › GitHub › nott
Services2 of 4 running
■backendnpm run dev:4000
■clientnpm run dev:3000
▶horizonphp artisan horizon
▶adminnpm run devexit 1

What it does

Everything here exists because the alternative was four terminal tabs and a guess.

Survives the app

Every service is a tmux session. Quit Harbor and your dev server keeps serving; open it again and it is adopted, not started twice. An update never touches them.

Ports are measured

You never type a port into Harbor. It walks the pane's process tree and asks lsof what is actually listening — so :3000 on a row means something really is on 3000.

Magic

For what pattern matching cannot see — a monorepo, a PM2 config, a socket server, a cron process — Claude reads the project and proposes its services, naming the file each came from. You tick the ones you want.

The edge strip

A column of project chips on the right edge of the screen, above every app and on every Space. Hover for the services, press play without losing focus in your editor.

Crashes stay readable

A service that exits keeps its output and exit code. If the port was taken, the row names the process holding it and offers to kill it — optionally restarting itself three times first.

⌃⌘H

From anywhere: type a project or service name, Enter starts or stops it. The same list lives in the menu bar, under a buoy that fills in while something is running.

Your agent can use it too

Harbor is an MCP server as well as an app, so Claude Code stops guessing about dev servers.

claude mcp add --scope user harbor -- /Applications/Harbor.app/Contents/MacOS/Harbor mcp

It sees what is already running

list_services answers with status, port and URL for the project the agent is working in — so it never starts a second copy of a server you already have up.

It starts and waits

start_service brings one registered service up and waits until it listens or fails, then hands back the port and the last lines of output. read_logs reads the pane itself.

It cannot improvise

No command of its own, no editing your services, no freeing a port, no killing a pid. An unknown service is a refusal that tells it to ask you.

You see who started what

A service an agent started carries an agent badge in the window and in the strip — and it keeps running after the agent's session ends, like everything else here.

How it works

Three decisions the whole app rests on.

01

One tmux session per service

Named from a stable hash of the project path, so the same folder maps to the same session on every launch. That is how Harbor finds services it did not start in this run instead of starting a second copy of your dev server.

02

One poll answers for everything

Every two seconds: one list-panes for liveness and exit codes, one ps for the process tree, one lsof for the ports. Nothing is drawn again unless the value moved.

03

A port is not an answer

Give a service a health path and the dot turns green only when the URL responds — not when the port opens. While a framework is still booting, yellow is the truth.

# a service, really
tmux -S /tmp/harbor-501.sock new-session -d -s hb-3b92hjqj-5de35ab8 \
  'cd backend && npm run dev'

# what Magic answers, in 20 seconds
backend   npm run dev   dir note-app-backend   health /health
client    npm run dev   dir note-app-client
note  the backend needs MySQL and Redis, migrations via npm run migrate
note  all four Nuxt apps default to port 3000, so they collide if started together

Install

Clone and run one script. It installs tmux with Homebrew if you do not have it.

git clone https://github.com/erenbekman/harbor.git
cd harbor
./install.sh
Add a folderHarbor reads it and offers what it finds — npm, pnpm, yarn, bun, artisan, Django, docker compose.
Or press MagicClaude reads the project for everything the patterns miss.
It updates itselfSettings → About checks the latest release and installs it; your services keep running through it.