restore_from_history
Restore file to previous state (with backup)
How to use it
restore_from_history is exposed by the Local History MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the restore_from_history tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Local History MCP
$
npx local-history-mcp