PortPilot 5 · free · MIT

Every localhost app and dedicated browser, and who started it

PortPilot shows the sites you run locally with their ports, previews and crashes, and gives each job its own signed-in browser. Connect Claude Code, Cursor or any MCP assistant to share both and stop duplicate servers.

Windows 10/11 and Linux. Works on its own; the AI assistant link is optional.

PortPilot Home: running apps as picture tiles with Stop and a menu, recently used apps and browser profiles as rows with Start

Browsers and debug ports

A debug port is how a program drives a Chromium browser. Give each profile its own, and PortPilot hands the right one to your AI assistant.

One sentence, and the browser is already signed in

Ask your assistant for the transcript of the newest video on your YouTube subscriptions. It asks PortPilot for the youtube profile, which opens on its own port with the account already signed in, and reads the page. There is no login step and no setup. The demo uses a throwaway channel.

One profile, one port, its own sign-ins

A browser opens with --remote-debugging-port=<n>, and anything that can reach 127.0.0.1:<n> can read its tabs and click in them. A PortPilot profile is a named browser with its own sign-ins and its own port, so google stays signed in to Search Console while github stays signed in to GitHub. Nothing picks a port by chance. If another program holds a profile's port, the row says which one.

The Browsers screen: three named profiles with a picture of their site, a debug port and a purpose each

Start and Stop

In the Browsers tab, or the VS Code Browsers view, Start opens the profile's own Brave or Chrome on its port. Stop closes it and frees the port.

Animation: the Social profile is stopped, Start opens it on port 9232, Stop closes it and frees the port

Claude asks by purpose

Label each profile with what it is for and the sites it logs into. Claude calls start_browser with for set to the site and gets the matching profile and its cdpUrl. A session that started a profile holds it until the session ends; other sessions are told it is in use and steered to a free one.

Animation: Claude asks for Google Search Console, PortPilot starts the google profile and returns its debug port, and a second session is told the profile is in use

The Claude Code panel in the film and the clip above are frames drawn around the plugin's real output, not captures of the Claude Code app.

Any MCP assistant

The PortPilot MCP server gives your assistant 26 tools: list, start, stop, scan, kill, group and more.

  • Claude Code
  • Claude Desktop
  • Cursor
  • Windsurf
  • Cline
MCP setup guide
  • "What's running on :3000?"
  • "Start statewise"
  • "Kill whatever is on port 8000"
  • "Start all my favourites"

Go deeper with Claude Code

Any assistant can drive PortPilot through MCP (above). Claude Code also gets a plugin: the PortPilot tools, a status line, a guard on dev-server starts and a crash band.

Status line

Every Claude Code session shows what is up, worst state first. A ✦ marks apps an AI assistant started.

⚓ 1 crashed · 7 up · :3000 examworthy-web

Dev-server guard

A start on a busy port is turned away with the URL to reuse. A clean start goes through PortPilot. If the guard can't tell what a command does, it lets it run.

reuse http://localhost:3000

Crash band with Fix it

When an app an assistant started crashes, the session gets a band with Restart, Logs and Fix it. Fix it hands the crash and the stderr tail to Claude.

✕ 550-au · exit 1

Install in Claude Code

/plugin marketplace add m4cd4r4/PortPilot
/plugin install portpilot@portpilot

The MCP server is bundled: no npm install.

New in the desktop app

A history of every run, a page preview on each running row, and rows that say who started them.

Run history

Every start, stop and crash is recorded locally, with the branch, commit and any uncommitted files. Search by app, branch or file, then re-run an old version in a sibling worktree. Claude can look a run up too, with the find_run tool.

The History view: app runs with a page thumbnail, branch, port and time, running ones with Open, and a switch to browser sessions

Row state

Every app shows its state and port, and a crash says how the app exited. Press Start on an app whose port is taken and PortPilot names what holds it. The Tiles view adds a picture of each running page.

The Rows view: three running apps with Open and Stop, one app crashed with exit code 1, and one stopped app

Alerts, out of the way

A crash adds to the count on the Alerts bell instead of covering the screen. Click it to see each one, then Restart the app or Dismiss the note.

The Alerts bell with a count of 1, open on a note that Quill and Ink crashed with exit 1, with Restart and Dismiss

Everything else it does

Run & organise

  • Start and stop apps with port detection and fallback ranges
  • Groups with colours, favourites, search and sort
  • Branches and worktrees nest under their project, colour-matched to VS Code (Peacock)
  • Detail drawer: command, folder, PID, uptime

Ports

  • Scan every TCP port with process, PID, memory and uptime
  • Kill a stuck port in one click
  • Your ports first; temporary and system ports fold away
  • Bind type and IPv4/IPv6 on each port

Auto-detect

  • Point it at a folder to find Node.js, Python, Go, .NET, Rust, Ruby and Docker projects
  • Add a repo's worktrees in one go; stale ones are flagged
  • Docker status badges, and Docker Desktop in one click

Everywhere

  • VS Code extension: picture tiles for apps and browsers, sidebar tree and status bar
  • Web portal in your browser, loopback-only
  • Tray menu with a Stop per running app
  • 6 themes plus Auto
  • Windows 10/11 and Linux

Security

The desktop app opens no network port. The opt-in web portal stays on your machine, behind six layers.

Threat model and limits in SECURITY.md
  • Loopback only binds 127.0.0.1, unreachable from the LAN
  • Per-session token a fresh 256-bit token on every request
  • Anti DNS-rebinding Host-header allowlist
  • Locked CORS the portal's own origin, never a wildcard
  • CSRF-resistant a custom header forces a preflight
  • Strict CSP no remote or inline scripts

Download PortPilot 5.1.1

Free and open source. No account and no admin rights. Install it, click Scan, then add your projects.

From source: npm install then npm start on GitHub. Older builds on Releases.

Keyboard shortcuts
Ctrl+R
Refresh
Ctrl+N
Add app
Ctrl+F
Search apps and ports
Ctrl+G
New group
Esc
Close a dialog