ht-mcp

ht-mcp

3.6

If you are the rightful owner of ht-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

ht-mcp is a high-performance Rust implementation of a Model Context Protocol (MCP) server designed for headless terminal operations.

ht-mcp is a robust and efficient MCP server built using Rust, aimed at providing seamless integration with the headless terminal library, ht. This server is designed to manage multiple terminal sessions concurrently, offering a streamlined experience for users who require high-performance terminal operations without a graphical interface. The server supports a web interface for live terminal previews, making it versatile for various use cases. With its pure Rust implementation, ht-mcp ensures optimal performance, reduced memory usage, and faster startup times compared to traditional implementations. It is compatible with multiple operating systems, including Linux, macOS, and Windows, making it accessible to a wide range of users. The server is easy to install via Homebrew, pre-built binaries, or Cargo, and it offers a suite of tools for session management, command execution, and terminal state capture.

Features

  • Pure Rust implementation for high performance and no external dependencies.
  • Direct integration with the ht headless terminal library for optimal performance.
  • Supports multi-session management for concurrent terminal operations.
  • Optional web interface for live terminal previews.
  • Cross-platform compatibility with Linux, macOS, and Windows.

Tools

  1. ht_create_session

    Create new terminal session

  2. ht_send_keys

    Send keystrokes to session

  3. ht_take_snapshot

    Capture terminal state

  4. ht_execute_command

    Execute command and get output

  5. ht_list_sessions

    List all active sessions

  6. ht_close_session

    Close terminal session