Ht MCP
ht-mcp is a high-performance headless terminal MCP server implemented in Rust, supporting multi-session management and web interface preview.
rating : 3 points
downloads : 1
What is ht-mcp?
ht-mcp is a high-performance Model Context Protocol (MCP) server designed specifically for the headless terminal ht. It provides a single-binary solution that supports multi-session management, a web interface, and direct integration with the ht library.How to use ht-mcp?
You can start the ht-mcp service through simple command-line operations. It can be integrated with MCP clients to provide functions such as terminal session creation, command execution, and terminal snapshot retrieval.Applicable scenarios
Suitable for terminal service scenarios that require high performance and low resource consumption, such as development environments, remote server management, and automated script execution.Main features
Pure Rust implementationFully written in Rust with no external dependencies, ensuring high performance and stability.
Multi-session supportManage multiple terminal sessions simultaneously, suitable for concurrent processing requirements.
Web interfaceOptional real-time terminal preview function, which allows users to intuitively view the terminal status.
Direct integration with the ht libraryDeeply integrated with the ht headless terminal library to optimize performance.
Advantages and limitations
Advantages
40 times faster startup time (about 50ms vs 2s)
70% less memory usage (about 15MB vs 50MB)
Single binary file (4.7MB vs 200MB for Node.js)
Zero subprocess overhead
Limitations
Currently only supports Linux, macOS, and Windows (Windows is experimental)
Requires a certain technical background for configuration and use
How to use
Install ht-mcp
You can install it via Homebrew, Cargo, source code compilation, or by downloading a pre-built binary file.
Start the MCP server
Run the ht-mcp command to start the service. You can add the --debug parameter to enable debug logging.
Configure the MCP client
Configure the path and parameters of ht-mcp in the MCP client to connect to the service.
Usage examples
Create and manage terminal sessionsUse ht_create_session to create a new terminal session and execute commands via ht_execute_command.
Real-time terminal previewAfter enabling the web server, you can view the real-time status of the terminal through a browser.
Interactive inputUse ht_send_keys to send keyboard input to a session for multi-step interaction.
Frequently Asked Questions
Which operating systems does ht-mcp support?
How to solve installation problems?
How to enable debug logging?
How is ht-mcp different from other MCP servers?
Related resources
ht-mcp GitHub repository
Project source code and documentation
ht-mcp Installation Guide
Detailed installation instructions
ht-mcp Usage Examples
Demonstration of real-world application scenarios
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
150
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
887
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
199
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
611
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
332
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
795
4.8 points