By hexitexCreated 4 days ago
starstarstarstarstar

Add smart backup abilities to coding agents (Windsurf, Cursor, Claude Coder…).

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Community MCP Server

Tags

BackupAi AgentsCode EditingRecoveryMcp Server

what is Backup Server?

Backup Server is a specialized tool that provides backup and restoration capabilities for AI coding agents and code editing tools, designed to work with AI agents (Windsurf, Cursor, Claude Coder, etc.). It creates targeted backups of files and folders with context preservation, allowing quick recovery of code states before critical changes.

How to use Backup Server?

  1. Installation:
    • Via Smithery: npx -y @smithery/cli install @hexitex/MCP-Backup-Server --client claude
    • Manually: Clone the repository, install dependencies (npm install), build TypeScript (npm run build), and start the server (npm start)
  2. Configuration:
    • Set environment variables: BACKUP_DIR, EMERGENCY_BACKUP_DIR, and MAX_VERSIONS
    • Configure in editor settings (Windsurf or Cursor)
  3. Usage:
    • Use commands like backup_create, backup_restore, etc., via MCP tool or natural language prompts.

Key features of Backup Server?

  • Context-aware backups that preserve agent reasoning
  • Targeted backups for single operations
  • Pattern filtering for folder backups
  • Version history and restore safety
  • Emergency backup before critical operations
  • No commit messages or branching required
  • Works without repository initialization

Use cases of Backup Server?

  1. Creating quick "save points" before refactoring or restructuring code
  2. Preserving work state when resuming major coding sessions
  3. Emergency recovery before volatile changes
  4. Tracking critical changes in AI-assisted editing
  5. Redeploying previous versions after errors

FAQ about Backup Server?

  • What is the main difference between this and Git?

    Git creates branches and commit history, this creates targeted, context-focused backups without commit messages.

  • When should I use a Backup Server vs. Git?

    Backup Server for quick emergency backups, Git for long-term version control and collaboration.

  • Does Backup Server support multiple users?

    No, it focuses on single-user, local backup and restore operations.

  • Is Backup Server compatible with any IDE?

    It was tested and designed for Windsurf, Cursor, and Claude Coder primarily.

  • How are backups stored?

    Complete file copies rather than diffs; stored in local directories (BACKUP_DIR and EMERGENCY_BACKUP_DIR).