Back to Home
xxczaki icon

local-history-mcp

by xxczaki

Overview

Access Cursor/VS Code Local History through the Model Context Protocol for AI-powered data recovery and enhanced context awareness.

Installation

Run Command
npx local-history-mcp

Security Notes

The 'restore_from_history' tool allows writing arbitrary content (from a history entry) to any absolute file path provided by the AI. This means a malicious or compromised AI could instruct the server to overwrite critical system files or inject malicious code into user files at arbitrary locations. While it includes an optional backup, this does not mitigate the risk of arbitrary file writes to unintended locations. This is a critical vulnerability if the server is run with elevated permissions or if the AI is not fully trusted.

Similar Servers

Stats

Interest Score38
Security Score3
Cost ClassMedium
Avg Tokens20000
Stars11
Forks5
Last Update2026-01-15

Tags

mcpvscodecursorlocal-historyai-assistant