Kranz is a keyboard-driven local service orchestrator that provides a focused terminal user interface (TUI). Its goal is to start, observe, and stop local development stacks in a single terminal, managing processes that might otherwise be scattered across multiple terminal tabs.
Key capabilities
- Dependency-aware startup and reverse-order shutdown.
- Dependency graph and operation steps in the TUI, with in-place start, stop, and restart controls.
- Support for HTTP, TCP, and command-based readiness/liveness checks.
- Process recovery with backoff and restart limits.
- Managed and observe-only detached resources, with start, stop, status, and logs.
- Service operations and project operation groups, with timeouts and confirmation.
- Typed operation parameters shared across the TUI, CLI, MCP, and preconditions.
- Preconditions must succeed before a service starts.
- Runtime port discovery and ownership-aware conflict handling.
- Searchable, pinnable, timestamped logs with keyboard and mouse support.
- Support for custom log tools: formatted shell pipelines in a panel, or a terminal viewer for selected runs.
- In-place switching between local runtimes, preserving each runtime's TUI state.
- Bounded per-service and per-operation run history, including origin, exact output retention status, navigation, deletion, and export.
- Support for Procfile, native YAML, and conservative Process Compose loading.
- Detection of configuration changes, with explicit reload and fallback to the last known good configuration.
- Precise CLI filters, bounded live monitoring, stable JSON, and Docker-style line templates for automation.
- Draft-based configuration authoring: edit services, operations, and appearance, and see the final diff before writing.
Three views Kranz exposes each runtime through three views:
- TUI: a keyboard-driven operator view for services, details, logs, lifecycle plans, operations, health history, and notifications.
- CLI: a terminal and scripting view, including stable JSON results.
- MCP: a view for coding agents, covering the same application operations. All three use the same supervisor. A service restarted via a command or a coding agent is immediately reflected in an open TUI; these views do not start a second stack.
Coding agents connect to the live runtime Kranz MCP gives coding agents access to the same services, operations, readiness states, ports, bounded logs, and numbered run history as in the TUI. It connects toConnect to the existing runtime instead of starting a second development stack. A shared runtime means the TUI, CLI, and MCP converge on the supervisor of the project targeted by each call; the project view is consistent, using the same selectors, action runs, and logs; ownership is clear, and disconnecting a connected agent does not stop the stack.
Usage Install (macOS or Linux): the material does not provide specific installation commands. Or use Go 1.26 or newer: the material does not provide specific commands. After creating a Procfile, run kranz, press a to select all, then press s to start. Kranz automatically discovers web listeners and displays the status and logs of both services. The TUI is optional. Kranz includes a full CLI that can start projects in the background, inspect from another terminal, perform actions on services, and return stable JSON to scripts. Use kranz --help to discover commands, kranz COMMAND --help to view command options, and --output json to get a versioned machine-readable envelope. MCP registration: register the existing binary globally once as a stdio MCP server by running kranz mcp. It takes no project arguments: the runtime is selected per call, so one registration covers all projects, and connecting creates nothing. For Claude Code, the Kranz plugin packages the MCP connection with agent skills. After installing the binary, add the repository as a plugin marketplace and install the plugin (specific commands are not provided in the material). Standalone agent skills remain available for Codex, OpenCode, and other clients that support Agent Skills.
Use cases
- Managing multiple service processes in a local development stack.
- Local development environments that need dependency ordering, readiness checks, and process recovery.
- Developers who want to operate a terminal interface efficiently with the keyboard.
- Scenarios that need CLI and stable JSON output for scripting or automation.
- Scenarios where coding agents connect to an existing local runtime without starting a second stack.
- Use with Docker Compose when containers remain the appropriate home for infrastructure.
Limitations and notes
- The material does not provide specific installation commands, pricing, charging models, or platform support scope (it only mentions installation on macOS or Linux, and Go 1.26 or newer).
- The material does not provide complete command examples for specific usage steps.
- The material does not describe system services or a shared control plane; each project runtime is managed by an independent user-level supervisor.
- The material does not provide performance metrics or effectiveness data.