portwatch

matiaslapolla/portwatch
★ 0 stars TypeScript Code/Dev Tools Updated 7d ago
Watch, free and kill the processes holding your local ports — TUI + scriptable commands + MCP server, built for the AI/agentic-coding era.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "portwatch": {
      "command": "npx",
      "args": [
        "-y",
        "matiaslapolla/portwatch"
      ]
    }
  }
}

README Excerpt

Watch, free and kill the processes holding your local ports — built for the era of AI/agentic coding, where your editor's agents spawn `next dev` / `vite` / MCP servers faster than you can clean them up. portwatch scans listening TCP sockets, tells you **which project and git worktree** each one belongs to, flags **stale/orphaned** servers, resolves **docker** containers, and lets