Zsh MCP Server

Zsh for Claude Code. PTY mode lets Claude type passwords. NEVERHANG + A.L.A.N.

Local serverstdioPython

What is the Zsh MCP Server?

Zsh for Claude Code. PTY mode lets Claude type passwords. NEVERHANG + A.L.A.N.

What the server does

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
zshExecute command with yield-based oversight
zsh_pollGet new output (delta) from running task with line numbers
zsh_sendSend input to task's stdin
zsh_killKill a running task
zsh_tasksList all active tasks
zsh_healthOverall health status
zsh_alan_statsA.L.A.N. database statistics
zsh_alan_queryQuery pattern insights for a command
zsh_neverhang_statusCircuit breaker state
zsh_neverhang_resetReset circuit to CLOSED

How to install the Zsh MCP Server

{
  "mcpServers": {
    "zsh-tool": {
      "type": "stdio",
      "command": "/path/to/zsh-tool/scripts/run-mcp.sh",
      "env": {
        "NEVERHANG_TIMEOUT_DEFAULT": "120",
        "NEVERHANG_TIMEOUT_MAX": "600"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
NEVERHANG_TIMEOUT_DEFAULTConfiguration value read at startup.Optional
NEVERHANG_TIMEOUT_MAXConfiguration value read at startup.Optional
ALAN_DB_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Zsh to zsh.”
  • “Use Zsh to zsh poll.”
  • “Use Zsh to zsh send.”

Frequently asked questions

Zsh for Claude Code. PTY mode lets Claude type passwords. NEVERHANG + A.L.A.N. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.