class HtMcp < Formula
desc "Headless Terminal MCP Server - Control terminal sessions via Model Context Protocol"
homepage "https://github.com/memextech/ht-mcp"
version "0.1.0"
if OS.mac?
if Hardware::CPU.arm?
url "https://github.com/memextech/ht-mcp/releases/download/v#{version}/ht-mcp-aarch64-apple-darwin"
sha256 "YOUR_ARM64_SHA256_HERE"
else
url "https://github.com/memextech/ht-mcp/releases/download/v#{version}/ht-mcp-x86_64-apple-darwin"
sha256 "YOUR_X86_64_SHA256_HERE"
end
else
url "https://github.com/memextech/ht-mcp/releases/download/v#{version}/ht-mcp-x86_64-unknown-linux-gnu"
sha256 "YOUR_LINUX_SHA256_HERE"
end
def install
bin.install Dir["*"].first => "ht-mcp"
end
test do
# Test that the binary exists and shows help
assert_match "Pure Rust MCP server", shell_output("#{bin}/ht-mcp --help 2>&1")
end
end
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/memextech/ht-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server