HomeServersCommand Line › HasanJahidul/terminal-history-mcp
MCP Server Maintained MIT local

HasanJahidul/terminal-history-mcp

Full-text search over your shell history (zsh / bash / fish) via SQLite FTS5. Local-only. 11-pattern secret redaction runs BEFORE insert. Captures cwd / exit code / duration via opt-in shell hook. Tools: `search_history`, `recent_in_dir`, `failed_commands`, `command_chains`, `reindex`.

Quality score 50/100
View on GitHub →
Stars
★ 4
Last commit
2mo ago
Language
TypeScript
Install
npm / npx
Category

Installation

Example client config (verify package name in the repo README)

{
  "mcpServers": {
    "terminal-history-mcp": {
      "command": "npx",
      "args": ["-y", "terminal-history-mcp"]
    }
  }
}

Topics

Related in Command Line

MCP Server Active

bvisible/mcp-ssh-manager

Manage multiple SSH servers from one MCP: command execution, file transfer/rsync, database dump/import/query (MySQL/PostgreSQL/MongoDB), backups & restore, health monitoring, persistent sessions, tunnels, ProxyJump/bastion, and opt-in per-server security modes (readonly/restricted) with audit log. Linux, macOS & Windows OpenSSH.

400 JavaScript Updated 3d ago Score 76
MCP Server Active

zb-ss/servonaut

Manage AWS EC2, Hetzner, OVH and custom SSH servers: run commands, fetch logs, CloudWatch/CloudTrail queries, fleet health snapshots, IP banning, S3 — with readonly/standard/dangerous guard tiers and a JSONL audit trail.

21 Python Updated 2d ago Score 63
MCP Server Maintained

danmartuszewski/hop

Fast SSH connection manager with TUI dashboard and MCP server for discovering, searching, and executing commands on remote hosts.

59 Go Updated 1mo ago Score 61
MCP Server Active

PsYcGoD/sage

Local-first CLI and MCP wrapper for AI coding agents. Routes shell commands through `sage run --`, stores command history locally, and returns compressed terminal output to reduce context noise.

10 Python Updated today Score 60
MCP Server Active

luisgf/infrabroker

SSH & Kubernetes access broker where the model never touches a credential: a separate signer mints per-operation ephemeral SSH certificates and bound ServiceAccount tokens, with a per-command allow/deny/approval firewall (POSIX-sh AST), dry-run, human-in-the-loop approvals, session recording and an Ed25519-chained audit log. Self-hosted Go binaries, GPLv3.

9 Go Updated today Score 60
MCP Server Active

soren-achebe/backscroll

Answers "what did that command print?" from your real terminal history: a per-command PTY session recorder (OSC 133) stores every command's full output, exit code, cwd, and duration in local SQLite/FTS5, and the MCP server searches, retrieves, and diffs those outputs — secret redaction on by default before anything reaches the model.

5 Go Updated 2d ago Score 58