local-history-mcp
Verified Safeby xxczaki
Overview
Access Cursor/VS Code Local History through the Model Context Protocol for AI-powered data recovery, enabling AI assistants to retrieve lost work and enhance context awareness.
Installation
npx local-history-mcpEnvironment Variables
- LOG_LEVEL
- NODE_ENV
Security Notes
The server primarily operates on local file system data, specifically editor history. File paths provided as arguments are explicitly checked for absolute paths and normalized to prevent path traversal. Regex creation for search functionality is sanitized. Communication occurs via standard I/O (stdio), limiting direct network exposure. The `restore_from_history` tool includes a backup option, which is a good safety measure. The main security considerations would be the potential for an AI agent to misuse the restore feature if not properly constrained, but this falls more on the agent's permissioning than a vulnerability in the server itself.
Similar Servers
unity-mcp
MCP for Unity acts as a bridge, allowing AI assistants to interact directly with the Unity Editor to manage assets, control scenes, edit scripts, and automate tasks.
wcgw
An MCP server that empowers AI chat applications to execute shell commands, edit code, and manage project context on a local machine for development tasks.
In-Memoria
Provides persistent intelligence infrastructure (semantic concepts, patterns, architecture) for AI agents to understand and interact with codebases.
claude-todo-emulator
Provides persistent task management for AI coding assistants within IDEs like Cursor and Windsurf by emulating Claude Code's todo system.