Skip to content

Conversation

@xxczaki
Copy link
Contributor

@xxczaki xxczaki commented Aug 16, 2025

Description

Local History MCP allows AI tools to access VS Code/Cursor's Local History feature for assisted file recovery:

Demo

Motivation and Context

Sometimes when file changes are lost and the undo/redo stack or Git don't help, Local History may prove to be the only backup available. Allowing AI access to it can help users recover the lost changes quicker than doing it manually through the Cmd+Shift+P menu.

How Has This Been Tested?

As you can see in the screenshot above, the file recovery example in Cursor tests multiple tool calls.

Breaking Changes

N/A – adding a new server to the list.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

N/A

Copy link
Member

@domdomegg domdomegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@domdomegg domdomegg merged commit 29fc4aa into modelcontextprotocol:main Aug 17, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants