Processes - Background Process Management
Manage background sub-processes using the tail: MCP tools.
Process Lifecycle
- •Start --
tail:start_processlaunches a command in the background - •Monitor --
tail:tail_logsortail:read_logsto watch output - •Stop --
tail:kill_processsends a signal (SIGTERM by default) - •Restart --
tail:restart_processstops and re-launches - •Clean up --
tail:remove_processremoves from the managed list
Tips
- •Each process gets an id (auto-generated or custom). Use meaningful ids like
"api-server"or"webpack". - •Logs persist even after a process exits, so you can inspect crash output.
- •
read_logstracks a cursor -- it only returns lines you haven't seen. Use it for streaming. - •
tail_logsalways returns the last N lines regardless of what you've already read. - •
restart_processclears old logs and re-runs the original command.