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:
bash
# Check zellij zellij --version # Check python3 python3 --version # Check claude CLI claude --version
Report any missing dependencies:
- •zellij: Install from https://zellij.dev/documentation/installation
- •python3: Install from system package manager
- •claude: Install Claude Code CLI
Step 2: Determine Installation Type
Use AskUserQuestion:
code
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):
bash
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:
bash
cd ~/.local/share/zellij-mcp && git pull && ./scripts/install.sh
Development Mode: Ask where the repo is located, then:
bash
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:
bash
# Check MCP registration claude mcp list | grep zellij # Check plugin installed 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"thenlist_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:
bash
# Requires Rust toolchain 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