Know what's running on your machine and who started it
Your coding agents start dev servers in five worktrees at once. Sonar tracks every port on your machine and who started it (the project, the worktree, the agent session), so you know what's safe to kill. And your agents can ask it too.
brew install raskrebs/sonar/sonar && sonar install desktop
“Address already in use.” Again.
Your agents start dev servers in five worktrees at once. Nobody knows what's running, whose it is, or whether it's safe to kill.
None of today's tools can tell you which agent or worktree owns a port. Sonar can.
One daemon that knows who owns every port
A small background process, the daemon, keeps one list of every port. The CLI, the desktop app and your agents all read that same list.
Coming next
Your agents can ask
Before an agent kills a port, it can check whose it is. Before it starts a server, it can pick a port no other worktree will use.
There's a tool for each piece. None of them knows who started what.
Sonar isn't a better port killer. It's the registry the others don't have, and your agents can read it.
Menu-bar apps like Ports, Portman and PortKiller. Process runners like process-compose, Overmind and mprocs. Agent port tools like port-kill and Vercel's portless. Each does its one job well; Sonar ties the jobs together around who owns what.
Get Sonar running in a minute
Version 0.1.0-beta.2, released Sep 7, 2026. Free, and no account needed.
Questions people ask
Straight answers about installing, running and trusting Sonar on your machine.
Those answer what's on port 3000. Sonar answers who started it (which project, worktree and agent session) and whether it's yours to kill. It's also a daemon, so your agents can ask the same question over MCP.
Claude Code, Cursor and Codex. sonar install mcp gives an agent the MCP server, sonar install skills teaches it when to use it, and sonar install hooks ties everything a session starts back to that session.
Talk to the people building it
Still have a question, found a bug, or want Sonar to understand your stack? We read every message.