Tail - Log Streaming
Stream and tail logs from background processes using the tail: MCP tools.
Quick Reference
| Tool | Purpose |
|---|---|
tail:start_process | Launch a command in the background |
tail:tail_logs | Show last N log lines |
tail:read_logs | Read new output since last read |
tail:kill_process | Stop a running process |
tail:restart_process | Restart a process |
tail:list_processes | Show all managed processes |
tail:remove_process | Remove a process from the list |
Common Workflows
Start and monitor a dev server
- •
tail:start_processwithcommand: "npm run dev"andid: "dev-server" - •
tail:read_logswithid: "dev-server"to check startup output - •Periodically
tail:tail_logswithid: "dev-server"to see recent logs
Watch a build
- •
tail:start_processwithcommand: "npm run build -- --watch" - •
tail:read_logsto stream incremental output
Debug a failing process
- •
tail:tail_logsto see the last N lines of output - •Check for errors in stderr lines
- •
tail:restart_processafter applying a fix