get_backup_history
Get the last backup details for a specific Duplicacy snapshot (files, bytes, duration, exit code)
Read the state of Duplicacy backups from chat — files, bytes, duration and exit code for a snapshot's last run, where it stands now, and how far prune has got.
LABSCO SUMMARY
Every tool here reads — nothing starts a backup, prunes, or restores — so this is a monitoring surface for a Duplicacy install that something else drives, and the useful part is get_backup_history returning an exit code alongside files, bytes and duration rather than a pass mark. The bound to know before installing is that list_snapshots returns what the exporter holds, so a snapshot the exporter is not tracking is invisible here regardless of what the backup host has on disk.
A read-only window onto Duplicacy backup state, with 4 tools covering the snapshot IDs the exporter knows about, the last run of one of them, its current status, and the state of the prune operation.
No account and no key, but a running Duplicacy Prometheus exporter (duplicacy-exporter) for it to read from — DUPLICACY_EXPORTER_URL points at it, default http://localhost:9750. The reach is whatever that exporter tracks: list_snapshots returns the snapshot IDs it holds, get_backup_history and get_backup_status address one of those by snapshot_id, and get_prune_status is narrowed by storage_target. Distributed under GPL-3.0, so a modified copy handed to anyone else carries the same terms.
One command — npx -y duplicacy-mcp
USE CASES
Pull the snapshot identifiers the exporter tracks, see where each one stands now, then read the exit code and byte count from the run that just finished.
Ask where the prune operation stands for one storage destination, and line that up against the snapshots the exporter is still tracking.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_backup_historyGet the last backup details for a specific Duplicacy snapshot (files, bytes, duration, exit code)
get_backup_statusGet the current backup status for a specific Duplicacy snapshot
get_prune_statusGet the prune operation status, optionally filtered by storage target
list_snapshotsList all unique Duplicacy snapshot IDs known to the exporter
BEFORE YOU INSTALL
4 tools when we connected.
CONTEXT COST
Rated by the size of the 4 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"duplicacy-mcp": {
"command": "npx",
"args": [
"-y",
"duplicacy-mcp"
],
"env": {
"DUPLICACY_EXPORTER_URL": "http://localhost:9750"
}
}
}
}DUPLICACY_EXPORTER_URL is the address of your Duplicacy Prometheus exporter (duplicacy-exporter, https://github.com/GeiserX/duplicacy-exporter); change it if the exporter is not at http://localhost:9750.
npx -y duplicacy-mcp