mcp-histfile

mcp-histfile

3.2

If you are the rightful owner of mcp-histfile and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A powerful tool for exploring, searching, and managing your shell command history through the MCP (Model Control Protocol) interface.

MCP Command History is a tool designed to enhance the management and retrieval of shell command history using the Model Control Protocol (MCP) interface. It allows users to programmatically access their shell command history, perform powerful text-based searches, and quickly retrieve recently executed commands. The tool integrates seamlessly with MCP-compatible tools like Cursor, providing a streamlined experience for users who frequently interact with their command line history. The server reads from the shell history file specified by the `HISTFILE` environment variable, ensuring that users have access to their most relevant command data.

Features

  • Command History Access: Access your shell command history programmatically.
  • Powerful Search: Search through your command history with text queries.
  • Recent Commands: Quickly retrieve your most recently executed commands.
  • MCP Integration: Seamlessly integrates with Cursor and other MCP-compatible tools.

Tools

  1. search_commands

    Search for commands in shell history.

  2. get_recent_commands

    Get the most recent commands from history.

  3. get_command

    Get a specific command by ID.