ht-mcp
by memextech
High-performance Rust MCP server for headless terminal (ht) with multi-session management and live web preview.
What it does
ht-mcp provides a high-performance interface to a headless terminal, allowing AI assistants to create, manage, and interact with terminal sessions in real-time. It is built in pure Rust for minimal overhead and maximum speed.
Tools
ht_create_session: Initialize a new terminal session with optional web server for live preview.ht_send_keys: Send raw keystrokes to a specific session for interactive commands.ht_take_snapshot: Capture the current state of the terminal output.ht_execute_command: Run a command in a session and retrieve the resulting output.ht_list_sessions: Get a list of all currently active terminal sessions.ht_close_session: Terminate and clean up a specific terminal session.
Installation
Install via Homebrew:
brew tap memextech/tap
brew install ht-mcp
Add to your MCP configuration:
{
"mcpServers": {
"ht-mcp": {
"command": "ht-mcp",
"args": ["--debug"]
}
}
}
Supported hosts
Confirmed for Claude Desktop and Claude Code.
Quick install
brew install memextech/tap/ht-mcpInformation
- Pricing
- free
- Published
- 4/12/2026
- stars







