zellij-mcp
Terminal Orchestration for Claude
57 MCP tools for autonomous terminal control. Focus-free pane operations via native Zellij plugin—no focus stealing. Claude pane protection prevents accidental self-termination. Tab-based workspaces, HPC workflows, and more.
One command.
Full control.
Install via Claude Code
/plugin genomewalker/zellij-mcp
Restart Claude Code
Then: "create a pane for my tests"
Or install manually
curl -fsSL https://raw.githubusercontent.com/genomewalker/zellij-mcp/main/scripts/install.sh | bash
Agent-grade terminal control
Focus-Free Control
Native Zellij plugin writes to panes without stealing focus. Your cursor stays where it is while Claude orchestrates in the background.
Claude Pane Protection
Auto-detects the agent's pane and prevents accidental closure. No more killing yourself mid-task. Override with force flag if needed.
Tab-Based Workspaces
Agent work is organized into dedicated tabs. Switch to agent tabs to observe progress, or stay in your own tab. Clean organization.
Named Pane Targeting
Address any pane by name, not just the focused one. Create "worker", target "worker", read "worker"—across tabs and sessions.
Output Monitoring
wait_for_output, wait_for_idle, tail_pane. Watch for patterns, detect completion, stream incremental output.
SSH & HPC Workflows
ssh_connect to remote hosts, ssh_run commands, job_submit to SLURM/PBS clusters, job_status tracking.
57 Tools
Pane Management
new_pane Create paneclose_pane Close focusedfocus_pane Move focusresize_pane Resizerename_pane Set nametoggle_floating Float modetoggle_fullscreen Max/restoreNamed Panes
create_named_pane Create by namedestroy_named_pane Close by namelist_named_panes Show allfocus_pane_by_name Targetread_pane Get contentwrite_to_pane Send textrun_in_pane Execute cmdMonitoring
wait_for_output Pattern waitwait_for_idle Stable detecttail_pane New outputsearch_pane Regex searchsend_keys Special keysclear_pane Clear bufferSSH & HPC
ssh_connect Open sessionssh_run Remote cmdjob_submit SLURM/PBSjob_status Check jobsrepl_execute Run coderepl_interrupt Ctrl+CTab Workspaces
Agent work is organized into dedicated tabs within your session.
Claude creates panes in tabs like agents, build, or analysis—switch tabs to observe.
Pairs with prism.nvim
The complete development workflow: zellij-mcp manages panes, prism.nvim handles editor integration. Open nvim in a pane, edit visibly, run tests in another pane.