
Zsh Tool
Gives Claude native zsh execution with PTY support so it can handle interactive prompts and password entry. Built to fix the quotation mismatches and shell confusion that happen when you run zsh locally but Claude uses its Bash tool. Returns control after a configurable timeout with partial output instead of hanging forever, then lets you poll for incremental results or send additional input. Ships with NEVERHANG circuit breaker that tracks timeout patterns and blocks repeatedly hanging commands, plus A.L.A.N. short-term memory that detects retry loops and surfaces man page options when commands fail repeatedly. Exposes zsh, zsh_poll, zsh_send, zsh_kill, and zsh_tasks for full shell session management.
- GitHub stars
- 4
- tools
- 10
- transport
- STDIO
- env var
- 1
- last updated
- Jan 15, 2026
Tools
10 toolsPublic tool metadata for what this MCP can expose to an agent.
zshExecute command with yield-based oversight
Execute command with yield-based oversight
No parameter schema in public metadata yet.
zsh_pollGet new output (delta) from running task with line numbers
Get new output (delta) from running task with line numbers
No parameter schema in public metadata yet.
zsh_sendSend input to task's stdin
Send input to task's stdin
No parameter schema in public metadata yet.
zsh_killKill a running task
Kill a running task
No parameter schema in public metadata yet.
zsh_tasksList all active tasks
List all active tasks
No parameter schema in public metadata yet.
zsh_healthOverall health status
Overall health status
No parameter schema in public metadata yet.
zsh_alan_statsA.L.A.N. database statistics
A.L.A.N. database statistics
No parameter schema in public metadata yet.
zsh_alan_queryQuery pattern insights for a command
Query pattern insights for a command
No parameter schema in public metadata yet.
zsh_neverhang_statusCircuit breaker state
Circuit breaker state
No parameter schema in public metadata yet.
zsh_neverhang_resetReset circuit to CLOSED
Reset circuit to CLOSED
No parameter schema in public metadata yet.
Sponsors
Configuration
ALAN_DB_PATHPath to A.L.A.N. SQLite database
Readme
zsh-tool
Zsh execution tool for Claude Code with full Bash parity, yield-based oversight, PTY mode, NEVERHANG circuit breaker, and A.L.A.N. short-term learning.
Status: Beta (v0.7.2)
Author: Claude + Meldrey
License: MIT
Organization: ArkTechNWA
Built with obsessive attention to reliability.
Why?
The #1 reason: If you use zsh, Claude Code's Bash tool causes quotation mismatches and shell confusion. Every debug loop costs tokens. zsh-tool eliminates this instantly and permanently.
The token math: One avoided debug spiral = 30+ seconds saved, hundreds of tokens preserved.
Details
- Repository
- github.com/arktechnwa/zsh-tool
- Package
zsh-tool-mcp- Transport
- STDIO
- Registry
- MCP registry, active