About PortPilot
PortPilot is an MCP server published by m4cd4r4 in the Science category: localhost port manager - Electron desktop app for managing dev ports and apps. Conduid read 20 tools from its source: add_app, add_worktree, bulk_start, bulk_stop, check_port, delete_all_apps and 14 more. No package is published for it, so it installs from a source checkout.
The repository has 21 stars and 3 forks, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. Its topics include cli, cross-platform, desktop-app, dev-server, devtools and electron.
Install
git clone https://github.com/m4cd4r4/PortPilotTools (20)
add_appRegister a new app in PortPilot. When PortPilot tells you a port started listening after a dev-server start you ran (a "PortPilot: :<port> started listening after ..." note), and you are confident your own start opened that port (check the PID and process it names), call this with the cwd, command and env it suggests, preferredPort set to that port and registeredBy "observed". Never register a port held by a process you did not start. Observed registrations are idempotent per directory: a second call for the same cwd changes nothing.| Parameter | Type | Description |
|---|---|---|
| autoStart | boolean | Auto-start on launch |
| command * | string | Shell command to start (e.g. "npm run dev") |
| cwd * | string | Working directory path |
| description | string | Short description |
| env | object | Environment variables for the command (e.g. {"PORT":"4000"}) |
| group | string | Group name to assign to |
| isFavorite | boolean | Mark as favorite |
| name * | string | App display name |
| observedSession | string | The Claude Code session the observed start came from (the PortPilot plugin fills this in) |
| preferredPort | number | Preferred port number |
| registeredBy | string | "observed" when registering a server you started after PortPilot noted its new port; leave unset otherwise |
add_worktreeRegister a git worktree or branch of a project so it appears nested under the main project in PortPilot and can run on its own port alongside it. Auto-detects the branch and the parent repo from git. Use this instead of add_app when registering a branch/worktree of an already-registered project - e.g. when working in a worktree that runs on a different port than the configured one.| Parameter | Type | Description |
|---|---|---|
| branch | string | Branch label shown on the row; auto-detected from git if omitted |
| command | string | Start command; defaults to the parent app command or "npm run dev" |
| name | string | Display name; defaults to the parent name or the folder name |
| parent | string | Parent app id or name to nest under; auto-resolved from the repo's main worktree if omitted |
| path * | string | Absolute path to the worktree / branch working directory |
| preferredPort | number | Preferred port for this branch - use a DIFFERENT port than the parent so both can run |
bulk_startStart multiple apps at once by group name, or all favorites| Parameter | Type | Description |
|---|---|---|
| favorites | boolean | Start all favorite apps |
| group | string | Start all apps in this group |
| sessionId | string | Leave unset. The PortPilot plugin fills in the real session id; a guessed one hides crash alerts from this session |
bulk_stopStop multiple apps at once by group name, or all favorites, or all running| Parameter | Type | Description |
|---|---|---|
| all | boolean | Stop ALL running apps |
| favorites | boolean | Stop all favorite apps |
| group | string | Stop all apps in this group |
check_portCheck if a specific port is in use and by what process| Parameter | Type | Description |
|---|---|---|
| port * | number | Port number to check |
delete_all_appsDelete ALL apps from PortPilot. Requires confirm: true.| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to confirm |
delete_appRemove an app from PortPilot| Parameter | Type | Description |
|---|---|---|
| identifier * | string | App ID or name to delete |
find_runFind past runs of your apps: which version was running when, on which branch, with what uncommitted files. Every start, stop and crash is recorded locally with a git snapshot of the tree (uncommitted and untracked files included). Use it for "which version of the mockup was running on Monday" or "get back the checkout page from last week". Returns newest first; each run carries rerun.steps, the literal commands (git worktree add, install, start) that bring that version back.| Parameter | Type | Description |
|---|---|---|
| app | string | App id or name |
| branch | string | Branch name or part of it |
| dirty_only | boolean | Only runs that had uncommitted changes |
| limit | number | How many runs to return (default ${FIND_RUN_DEFAULT}, max ${FIND_RUN_MAX}) |
| query | string | Free text, every word must match: app name, branch, page title, changed file names, command, commit subject, or the start of a commit sha |
| since | string | ISO date (a whole local day, from its start) or date-time with offset. Resolve words like "Monday" to a date in the user's time zone first |
| until | string | ISO date (a whole local day, to its end) or date-time with offset, inclusive |
get_appGet full details of a specific app by ID or name, including running status| Parameter | Type | Description |
|---|---|---|
| identifier * | string | App ID or name |
get_statusGet a quick summary: how many apps registered, how many running, how many ports activekill_portKill the process running on a specific port| Parameter | Type | Description |
|---|---|---|
| port * | number | Port number |
list_appsList all apps registered in PortPilot, with their running status| Parameter | Type | Description |
|---|---|---|
| favorites_only | boolean | Only show favorite apps |
| group | string | Filter by group name |
list_groupsList all app groups and how many apps are in eachlist_runningList only currently running apps with their port and process infomove_to_groupMove an app to a group (or remove from group by passing null)| Parameter | Type | Description |
|---|---|---|
| group * | string | Group ID or name, or null to ungroup |
| identifier * | string | App ID or name |
scan_portsScan for all active listening ports on the system| Parameter | Type | Description |
|---|---|---|
| max_port | number | Maximum port (default 65535) |
| min_port | number | Minimum port (default 1024) |
start_appStart an app by ID or name| Parameter | Type | Description |
|---|---|---|
| identifier * | string | App ID or name |
| sessionId | string | Leave unset. The PortPilot plugin fills in the real session id; a guessed one hides crash alerts from this session |
stop_appStop an app by ID or name| Parameter | Type | Description |
|---|---|---|
| identifier * | string | App ID or name |
toggle_favoriteToggle favorite status of an app| Parameter | Type | Description |
|---|---|---|
| identifier * | string | App ID or name |
update_appUpdate an existing app configuration| Parameter | Type | Description |
|---|---|---|
| autoStart | boolean | |
| command | string | |
| cwd | string | |
| description | string | |
| env | object | Environment variables for the command; replaces the saved set |
| group | string | |
| identifier * | string | App ID or name to update |
| isFavorite | boolean | |
| name | string | |
| preferredPort | number |
Security checks
6 checks have not been run yet.