Undo for Agents
Simple, immutable, offsite backup for your agents. With the Duplicati MCP server, an agent backs up its work before a risky step and restores any file when something goes wrong, from storage it can’t alter or delete.
Agent session
You
Clean up the old build folders in this project.
duplicati · run_backup
Restore point saved offsite and object-locked
Shell · rm -rf ./src
214 files deleted
You
That was the source folder. Undo it.
duplicati · restore
214 files restored from the last backup
What Is Undo for Agents?
Duplicati includes an MCP server that gives AI agents two new abilities: run a backup and restore files. Backups are stored offsite on object-locked storage, so an agent can roll back a file or a whole folder but can never destroy the copies it depends on.
Files deleted or overwritten before they were ever committed
A config or dataset rewritten with no earlier version to return to
A cleanup command run in the wrong folder
Hours of work lost when a long task goes off track
A person left to work out what changed and when
You stay in control of what matters: which folders are protected, where the backups are stored and how long versions are kept.
A Safety Net Built for Agent Work
The MCP server puts the Duplicati backup engine in your agent’s toolbox.




From Mistake to Restored in One Request
Four steps, all inside the agent session.
Step
What happens
1. Connect
Turn on the MCP server in Duplicati, create an access token and add the endpoint to your agent.
2. Back up
The agent runs a backup before it edits, moves or deletes files.
3. Work
The agent does its job. Each new backup adds a version and stores only what changed.
4. Restore
If something breaks, the agent restores the affected files from an earlier version.
Storage
Duplicati Storage or a destination you already use
Encryption
Before upload
Questions About Undo for Agents?
The MCP server is available in the latest Duplicati canary build. Tell us what you’re building and we’ll help you get set up.










