list_ports
List local listening ports with their processes, PIDs, users, and Docker/Podman containers; filter by process glob, port range, or TCP/UDP to identify running services and dev servers.
Instructions
List the ports listening on this machine, with the process, PID, user and who started it (e.g. npm ← zsh), and the container for ports published by Docker or Podman. Use it to see what's running, or to find a dev server by name (name="node*") or port range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | only processes whose name matches this glob, e.g. node* | |
| ports | No | only these local ports, e.g. 3000 or 3000-3010,8080 | |
| proto | No | tcp or udp (default both) |