Dsh Backup
MCP server by xiaoyuyu6420 Verified · npm:@xiaoyuyu6420
Backs up, restores and migrates all DeepSeek Harness (DSH) data in ~/.dsh, including sessions, settings, plugins, MCP configuration and skills. Built for DSH users who want to protect work before upgrades or move to a new computer.
Install Dsh Backup
Built from the published package, never by AI.
claude mcp add dsh-backup -- npx -y @xiaoyuyu6420/dsh-backupRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dsh-backup": {
"args": [
"-y",
"@xiaoyuyu6420/dsh-backup"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dsh-backup": {
"args": [
"-y",
"@xiaoyuyu6420/dsh-backup"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh-backup": {
"args": [
"-y",
"@xiaoyuyu6420/dsh-backup"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh-backup -- npx -y @xiaoyuyu6420/dsh-backup{
"mcpServers": {
"dsh-backup": {
"args": [
"-y",
"@xiaoyuyu6420/dsh-backup"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dsh-backup npx -y @xiaoyuyu6420/dsh-backupGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-backup block.
About
dsh-backup backs up, restores and migrates all DeepSeek Harness (DSH) data stored in ~/.dsh, including sessions, settings, plugins, MCP configuration and skills. Each backup is an archive with a sha256 checksum. Scheduled backups can run every set number of hours, and old copies rotate automatically, keeping 7 by default. Restores preview what will be written first, take a snapshot of current data, and roll back if they fail. API keys and tokens are redacted by default and kept in a local vault.
The plugin creates a pre-upgrade snapshot when the DSH host version changes. It also writes a standalone rescue console into the backup folder that runs on plain Node.js, so data can still be restored when DSH will not start. A migrate-check command scans session logs before an upgrade, and doctor can repair damaged logs from a backup. It is aimed at DSH users who want to protect their work before upgrades, move to a new computer, or recover from accidental deletion.
Written from the project's README and checked against it.
Tools it gives your assistant
/backupRuns an immediate backup of the DSH data folder into a timestamped archive with a checksum file./backup auto 12Runs scheduled backups every 12 hours, with status and off options./backup restore latest --dry-runPreviews what a restore would write before changing any files./backup verifyChecks the integrity of one backup or all backups using their sha256 values./backup doctorChecks session logs and repairs damaged ones from an earlier backup./backup migrate-checkScans existing sessions before an upgrade and reports which may be rejected by the new host./backup github pullPulls backups from a configured GitHub sync repository, used when moving to a new computer./backup --typesBacks up or restores only selected data types such as skills, sessions or settings.
What you need
- DeepSeek Harness (DSH) 0.1.1-rc.2 or later
- macOS, Linux or Windows 10+
- Node.js for the standalone rescue console
- Optional GitHub token for GitHub sync
Try asking
- Back up my DSH data now and show me the checksum
- Check my DSH session logs and repair any damaged ones
- Run a migrate check before I upgrade DSH
Good to know
- Archives made with --types credentials store API keys in plain text and must not be synced to GitHub.
- Gist sync is limited to files of 10MB, so it only suits small backups.
- Plugin updates take effect only after restarting dsh web.
- Plugin needs DSH to be installed and enabled in a profile before it works.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Dsh Backup
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Dsh Backup: common questions
Are API keys included in the backup?
Known credential files are redacted before packing by default, and plaintext keys stay in the local vault on the same machine.
Can I restore data if DSH will not start?
Yes. Each backup writes a rescue.mjs script and a double-click launcher that run on plain Node.js and open a local page for browsing and restoring backups.
Which operating systems are supported?
The source lists macOS, Linux and Windows 10 or later, using the system tar command.
How do I install Dsh Backup?
In Claude Code run claude mcp add dsh-backup -- npx -y @xiaoyuyu6420/dsh-backup. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Dsh Backup the official server?
Dsh Backup is published by npm:@xiaoyuyu6420 from its verified domain in the official MCP Registry.
Is Dsh Backup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Dsh Backup safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Dsh Backup?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Dsh Backup work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
