
Terminal History MCP
MCP Server
terminal-history-mcp
terminal-history-mcp gives AI agents (Claude Code, Cursor, Cline, Zed, any MCP client) full-text search over your shell history.\\r\\n\\r\\n- Local-only, no cloud — SQLite FTS5 at ~/.terminal-history-mcp/history.db\\r\\n- Supports zsh, bash, fish\\r\\n- Captures cwd, exit code, duration via opt-in shell hook\\r\\n- 11-pattern secret redaction runs BEFORE insert (GitHub PATs, OpenAI keys, AWS, JWTs, bearer tokens, env vars, CLI flags, basic-auth URLs)\\r\\n- Hash-deduped, idempotent reindex\\r\\n- WAL mode — safe across parallel sessions\\r\\n\\r\\nAsk: \\\"When did I last ssh into staging?\\\", \\\"Show failed commands today\\\", \\\"What did I run in /etc/nginx yesterday?\\\", \\\"Show context around kubectl apply\\\".
工具数
安装说明
本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。
作者 / 组织
HasanJahidul
提供方
HasanJahidul
最后核验
2026/5/18 02:53
运行时
Node.js
快速接入
先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。
命令预览
npx -y terminal-history-mcp [object Object]
目录标签
目录标签
支持客户端
接入字段
传输方式(transport,传输协议)
stdio
鉴权方式(authType,认证方式)
token
运行时(runtime,运行环境)
Node.js
部署方式(deploymentType,部署类型)
local-only
来源包(packageName,安装包名)
terminal-history-mcp
权限和风险
接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。
不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。
仍需确认:category
来源信息

MCP.so
mcp.so
/server/terminal-history-mcp/HasanJahidul
terminal-history-mcp gives AI agents (Claude Code, Cursor, Cline, Zed, any MCP client) full-text search over your shell history.\\r\\n\\r\\n- Local-only, no cloud — SQLite FTS5 at ~/.terminal-history-mcp/history.db\\r\\n- Supports zsh, bash, fish\\r\\n- Captures cwd, exit code, duration via opt-in shell hook\\r\\n- 11-pattern secret redaction runs BEFORE insert (GitHub PATs, OpenAI keys, AWS, JWTs, bearer tokens, env vars, CLI flags, basic-auth URLs)\\r\\n- Hash-deduped, idempotent reindex\\r\\n- WAL mode — safe across parallel sessions\\r\\n\\r\\nAsk: \\\"When did I last ssh into staging?\\\", \\\"Show failed commands today\\\", \\\"What did I run in /etc/nginx yesterday?\\\", \\\"Show context around kubectl apply\\\".
Glama
glama.ai
/mcp/servers/HasanJahidul/terminal-history-mcp
Developers: Search your zsh, bash, or fish shell history from Claude Code, Cline, Cursor, Zed, or any MCP client using tools like search_history (full-text with timestamp/CWD/exit code), recent_in_dir, failed_commands, and command_chains for multi-step sequences. Reindex after new activity. Local-only SQLite FTS5 with secrets redacted before storage.
继续浏览同类 MCP
上一个 MCP
Terminal Ecdd1f38
Execute commands and manage interactive shell sessions directly within your environment. Automate complex command-line workflows by monitoring output, handling interactive inputs, and managing sessio…
下一个 MCP
Terminal Hook
A VSCode and Cursor extension that captures real-time terminal output and exposes it to AI assistants via the Model Context Protocol. It enables agents to proactively monitor logs, command execution, and errors without requiring manual copy-pasting from the user.