Offers a complementary approach to Git with simpler, AI-focused backup capabilities for code. Unlike Git, the system creates instant backups with agent context without requiring commit messages or repository initialization, suitable for emergency 'save points' during edits.
Uses npm for installation and dependencies, with configuration settings for the MCP server that can be managed through npm scripts and environment variables.
Provides backup and restoration capabilities for TypeScript files, allowing targeted backups with pattern filtering (*.ts) and preserving agent context when making critical changes to TypeScript code.
MCP Backup Server
A specialized MCP server that provides backup and restoration capabilities for AI agents and code editing tools. Tested in both Cursor and Windsurf editors.
Repository: https://github.com/hexitex/MCP-Backup-Server
Why Use This (Not Git)
This system serves a different purpose than Git:
Pros:
Creates instant, targeted backups with agent context
Simpler than Git for single-operation safety
Preserves thought process and intent in backups
No commit messages or branching required
Better for AI agents making critical changes
Works without repository initialization
Faster for emergency "save points" during edits
Cons:
Not for long-term version tracking
Limited collaboration features
No merging or conflict resolution
No distributed backup capabilities
Not a replacement for proper version control
Stores complete file copies rather than diffs
When to use: Before risky edits, folder restructuring, or when you need quick safety backups with context.
When to use Git instead: For proper version history, collaboration, and project management.
Features
Preserves agent context and reasoning
Creates targeted, minimal backups
Supports file and folder operations
Maintains version history
Provides restore safety
Uses pattern filtering
Tracks operations
Allows cancellation
Setup
Installing via Smithery
To install Backup Server for Claude Desktop automatically via Smithery:
Installing Manually
Config
Env:
BACKUP_DIR
: Backup directory (./.code_backups)EMERGENCY_BACKUP_DIR
: Emergency backups (./.code_emergency_backups)MAX_VERSIONS
: Version limit (10)
Configure in editor:
Windsurf MCP config:
Cursor: Create .cursor/mcp.json
with similar config.
Tools
File Operations
backup_create
: Create backup with contextbackup_list
: List available backupsbackup_restore
: Restore with safety backup
Folder Operations
backup_folder_create
: Backup with pattern filteringbackup_folder_list
: List folder backupsbackup_folder_restore
: Restore folder structure
Management
backup_list_all
: List all backupsmcp_cancel
: Cancel operations
When to Use Backups
Only create backups when truly needed:
Before Refactoring: When changing important code
Before Removing Folders: When reorganizing project structure
Multiple Related Changes: When updating several connected files
Resuming Major Work: When continuing significant changes
Before Restores: Create safety backup before restoring
Keep backups minimal and purposeful. Document why each backup is needed.
Rules for Copy-Paste
For Human Users
Simple commands like these at the start you may have to mention MCP tool
Agent Examples
Quick Backups
Resume Session
Core Changes
Restore Points
Manage
License
MIT
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A specialized server that provides backup and restoration capabilities for AI agents and code editing tools, creating instant targeted backups with context preservation.
Related MCP Servers
- AsecurityAlicenseAqualityA server that enhances AI assistants with the ability to update your JSON Resume by analyzing your coding projects, automatically extracting skills and generating professional descriptions.Last updated -2257The Unlicense
- AsecurityAlicenseAqualityProvides a structured documentation system for context preservation in AI assistant environments, helping users create and manage memory banks for their projects.Last updated -372MIT License
- -securityFlicense-qualityA local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.Last updated -4
- -securityAlicense-qualityA lightweight, multi-tenant blob storage and diff server that helps LLM coding agents manage large code edits while reducing hallucinations and maintaining work integrity.Last updated -MIT License