MH

memextech/ht-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

217 stars 13 forks 품질 60 트렌드 17Apache-2.0

memextech/ht-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

memextech/ht-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

헤드리스 터미널 ht를 위한 모델 컨텍스트 프로토콜(MCP) 서버의 고성능 Rust 구현체입니다.

특징

  • 🚀 Pure Rust: 단일 바이너리 MCP 서버, 외부 의존성 없음
  • 🔗 직접 통합: 최적의 성능을 위해 우수한 ht 헤드리스 터미널 라이브러리를 내장합니다
  • 🖥️ 멀티 세션: 동시 터미널 세션 관리
  • 🌐 웹 인터페이스: 선택 가능한 실시간 터미널 미리보기

데모

밈엑스의 HT-mcp

클로드 코드의 ht-mcp

설치

🍺 홈브루 (추천)

📦 미리 만들어진 바이너리

릴리스에서 다운로드:

🦀 화물

🔧 소스 빌드

자세한 설치 옵션은 docs/INSTALLATION.md를 참고하세요.

MCP 도구

도구 설명 매개변수
ht_create_session 새로운 터미널 세션 생성 command?, enableWebServer?
ht_send_keys 세션에 키 입력을 보내기 sessionId, keys[]
ht_take_snapshot 터미널 상태 캡처 sessionId
ht_execute_command 명령 실행과 출력 sessionId, command
ht_list_sessions 모든 활성 세션 목록 없음
ht_close_session 종료 종료 세션 sessionId

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

ht-mcp

A high-performance Rust implementation of a Model Context Protocol (MCP) server for headless terminal ht.

Features

  • 🚀 Pure Rust: Single binary MCP server, no external dependencies
  • 🔗 Direct Integration: Embed excellent ht headless terminal library for optimal performance
  • 🖥️ Multi-Session: Concurrent terminal session management
  • 🌐 Web Interface: Optional live terminal preview

Demo

ht-mcp in Memex

ht-mcp in Claude Code

Installation

brew tap memextech/tap
brew install ht-mcp

📦 Pre-built Binaries

Download from releases:

# macOS Intel
curl -L https://github.com/memextech/ht-mcp/releases/latest/download/ht-mcp-x86_64-apple-darwin -o ht-mcp

# macOS Apple Silicon
curl -L https://github.com/memextech/ht-mcp/releases/latest/download/ht-mcp-aarch64-apple-darwin -o ht-mcp

# Linux
curl -L https://github.com/memextech/ht-mcp/releases/latest/download/ht-mcp-x86_64-unknown-linux-gnu -o ht-mcp

# Windows (PowerShell)
curl.exe -L https://github.com/memextech/ht-mcp/releases/latest/download/ht-mcp-x86_64-pc-windows-msvc -o ht-mcp.exe

# Make executable and install
chmod +x ht-mcp && sudo mv ht-mcp /usr/local/bin/

🦀 Cargo

# From crates.io (stable)
cargo install ht-mcp

# From git (latest)
cargo install --git https://github.com/memextech/ht-mcp

🔧 Build from Source

git clone https://github.com/memextech/ht-mcp.git
cd ht-mcp
git submodule update --init --recursive
cargo install --path .

See docs/INSTALLATION.md for detailed installation options.

MCP Tools

Tool Description Parameters
ht_create_session Create new terminal session command?, enableWebServer?
ht_send_keys Send keystrokes to session sessionId, keys[]
ht_take_snapshot Capture terminal state sessionId
ht_execute_command Execute command and get output sessionId, command
ht_list_sessions List all active sessions None
ht_close_session Close terminal session sessionId

Note: Parameters use camelCase (e.g., sessionId, enableWebServer) for MCP compatibility.

Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "ht-mcp": {
      "command": "ht-mcp",
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ht-mcp": { "command": "ht-mcp", "args": ["--debug"] } } }