A drop-in replacement for mprocs with searchable logs.
- mprocs-compatible - Uses the same
mprocs.yamlconfig format - Searchable logs - The key missing feature from mprocs
- Substring search (
/) - Regex search (
?)
- Substring search (
- PTY support - Full terminal emulation for processes
- Web UI - Browser-based log viewer (press
wto open) - Auto-scroll - Follows new output, pauses when you scroll up
- Mouse scroll - Scroll logs with mouse wheel
- Copyable logs - Hold Shift to select text and click URLs (bypasses mouse capture)
# Using go install
go install github.com/speakeasy-api/madprocs@latest
# Using mise
mise use -g github:speakeasy-api/madprocs@latestOr download a binary from the releases page.
# Use mprocs.yaml in current directory
madprocs
# Specify a config file
madprocs -c myconfig.yaml
# Change web UI port and host
madprocs --port 8080 --host 0.0.0.0
# Run web UI only (headless mode)
madprocs --web-only
# Enable TLS for web UI
madprocs --tls-cert cert.pem --tls-key key.pem
# Write logs to files
madprocs --log-dir ./logsmadprocs uses the same config format as mprocs. Create an mprocs.yaml:
procs:
server:
cmd: ["npm", "run", "dev"]
cwd: ./server
client:
cmd: ["npm", "start"]
cwd: ./client
env:
PORT: "3001"
worker:
shell: "python worker.py --verbose"Environment variables are expanded in config values using $VAR or ${VAR} syntax:
procs:
api:
shell: "go run . --port $API_PORT"
env:
DATABASE_URL: "${DB_HOST}:${DB_PORT}"| Key | Action |
|---|---|
q |
Quit |
j/k or ↑/↓ |
Navigate process list |
Tab |
Switch between list and logs |
s |
Start selected process |
x |
Stop selected process |
r |
Restart selected process |
/ |
Search (substring) |
? |
Search (regex) |
n/N |
Next/previous match |
Enter |
Next match (in search mode) |
Esc |
Exit search mode |
z |
Zoom (toggle fullscreen logs) |
w |
Open web UI |
Press w to open the web UI in your browser, or access it at the URL shown in the status bar:
- Full log history with ANSI color support
- Search and filtering
- Process control (start/stop/restart)
- Log download
madprocs includes a Claude Code skill for AI-assisted process control. Install it in your project:
madprocs skill installThen use /madprocs in Claude Code to get help with:
- Controlling processes via the web API
- Searching and analyzing logs
- Using keyboard shortcuts
- Troubleshooting issues
The skill teaches Claude how to use the madprocs web API (/api/processes, /api/logs/{name}, etc.) to programmatically control your processes.
mprocs is great, but lacks log search functionality. When debugging across multiple services, being able to search logs is essential. madprocs adds this while maintaining full compatibility with mprocs configs.
MIT
