MCP Backup Server
@hexitex
关于 MCP Backup Server
A Model Context Protocol (MCP) server implementation that provides file backup and restoration capabilities
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"MCP-Backup-Server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@hexitex/MCP-Backup-Server",
"--client",
"claude"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Backup Server?
MCP Backup Server is a specialized MCP server that provides backup and restoration capabilities for AI agents and code editing tools. It is tested in both Cursor and Windsurf editors.
How to use MCP Backup Server?
Install via Smithery (npx -y @smithery/cli install @hexitex/MCP-Backup-Server --client claude) or manually (install dependencies with npm install, build TypeScript with npm run build, start with npm start). Configure the server using environment variables (BACKUP_DIR, EMERGENCY_BACKUP_DIR, MAX_VERSIONS) and add it to your editor’s MCP configuration. Available tools include backup_create, backup_list, backup_restore, backup_folder_create, backup_folder_list, backup_folder_restore, backup_list_all, and mcp_cancel.
Key features of MCP Backup Server
- 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
Use cases of MCP Backup Server
- Backing up files before risky refactoring or critical changes
- Creating folder backups before restructuring or removing directories
- Maintaining restore points when making multiple related file changes
- Resuming major work by reviewing previous backup context
- Creating safety backups before restoring a previous version
FAQ from MCP Backup Server
How is MCP Backup Server different from Git?
It creates instant, targeted backups with agent context, is simpler for single-operation safety, preserves thought process, and doesn’t require commit messages or branching. However, it is not for long-term version tracking, lacks collaboration features, and stores complete file copies rather than diffs.
What dependencies are required to run MCP Backup Server?
Node.js and npm are required. The TypeScript files must be built using npm run build before starting the server.
Where are backups stored?
By default, backups are stored in ./.code_backups and emergency backups in ./.code_emergency_backups. These locations can be overridden with the BACKUP_DIR and EMERGENCY_BACKUP_DIR environment variables.
Is there a limit on the number of backup versions?
Yes, the maximum number of versions is controlled by the MAX_VERSIONS environment variable, which defaults to 10.
Can I cancel a running backup operation?
Yes, the mcp_cancel tool allows cancelling an ongoing backup operation by providing its operation ID.
其他 分类下的更多 MCP 服务器
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Awesome Mlops
visengerA curated list of references for MLOps
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
评论