| name | zellij-install |
| description | Install or update zellij-mcp for Claude Code with focus-free pane control |
| execution | direct |
Zellij MCP Installation
Install or update zellij-mcp for Claude Code. Includes the pane-bridge plugin for focus-free operations.
Instructions
Guide the user through installing or updating zellij-mcp.
Step 1: Check Prerequisites
Run these checks:
zellij --version
python3 --version
claude --version
Report any missing dependencies:
Step 2: Determine Installation Type
Use AskUserQuestion:
Questions:
- question: "How would you like to install zellij-mcp?"
header: "Install"
options:
- label: "Fresh Install (Recommended)"
description: "Clone repo and run install script"
- label: "Update Existing"
description: "Pull latest and reinstall"
- label: "Development Mode"
description: "Link to local repo for development"
Step 3: Execute Installation
Fresh Install (one-liner):
curl -fsSL https://raw.githubusercontent.com/genomewalker/zellij-mcp/main/scripts/install.sh | bash
This clones the repo to ~/.local/share/zellij-mcp and sets up everything.
Update Existing:
cd ~/.local/share/zellij-mcp && git pull && ./scripts/install.sh
Development Mode:
Ask where the repo is located, then:
cd /path/to/zellij-mcp
./scripts/install.sh
This syncs to the install directory while preserving your dev repo.
Step 4: Verify Installation
Check that everything is installed:
claude mcp list | grep zellij
ls -la ~/.local/share/zellij-mcp/plugins/zellij-pane-bridge.wasm
Step 5: Report Results
Tell the user:
- Installation location:
~/.local/share/zellij-mcp/
- Plugin location:
~/.local/share/zellij-mcp/plugins/zellij-pane-bridge.wasm
- Important: Restart Claude Code to use the new tools
- Test with:
ToolSearch query="+zellij" then list_panes
Features Installed
- 57 MCP tools for pane management, monitoring, REPL, SSH/HPC
- Pane-bridge plugin for focus-free write operations
- Claude pane protection prevents accidental self-termination
Troubleshooting
If installation fails:
- MCP package missing:
pip3 install --user mcp
- Permission denied: Check write access to
~/.local/share/
- Plugin not working: Ensure Zellij version >= 0.40.0
Building Plugin from Source (optional)
If user needs to rebuild the WASM plugin:
cd zellij-pane-bridge
rustup target add wasm32-wasip1
cargo build --release --target wasm32-wasip1
cp target/wasm32-wasip1/release/zellij-pane-bridge.wasm ..
./scripts/install.sh