duplicacy-mcp MCP Server
MCP server for Duplicacy: backup health, status and Prometheus metrics from duplicacy-exporter
duplicacy-mcp scores 68 (Good), licensed GPL-3.0 and written in Go. It installs as a local process. It declares 6 tools. Filed under Monitoring. GitHub shows 2 stars. Package registries report about 134 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: gpl-3.0.
License, quality and maintenance
License: Grade C
GPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "geiserx-duplicacy-mcp": { "command": "npx", "args": [ "-y", "duplicacy-mcp@0.2.2" ], "env": { "DUPLICACY_EXPORTER_URL": "http://localhost:9750" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DUPLICACY_EXPORTER_URL | Optional | Base URL of duplicacy-exporter, for example http://localhost:9750 |
DUPLICACY_EXPORTER_URL | Optional | Base URL of duplicacy-exporter as the container reaches it, for example http://duplicacy-exporter:9750 |
MCP_AUTH_TOKENSecret | Required | Bearer token clients must send; the image refuses to start without one. At least 16 characters, for example from openssl rand -hex 32 |
MCP_ALLOWED_ORIGINS | Optional | Comma-separated browser origins allowed to call the endpoint cross-origin |
Tools6
All capabilitiesget_backup_historyresourceThe last completed run of one snapshot. The exporter keeps only the last run.
get_backup_overviewresourceHealth of every backup in one call: verdict, reason, age of the last success. maxagehours (default 26) sets when a backup is stale.
get_backup_statusresourceState and last-run details of one snapshot, per storage target and machine.
get_prune_statusresourceWhether a prune is running and when the last one succeeded, per storage target.
get_storage_usageresourceStorage size and chunks, and revisions per snapshot, from the exporter's storage poller.
list_snapshotsresourceEvery snapshot ID, storage target and machine, for use as filter values.
About
Features
- Reads the metrics of duplicacy-exporter and serves them over MCP.
- One call answers "are my backups OK?":
get_backup_overviewgives every backup a verdict (ok, running, stale, never, failed) with a reason. - Speaks MCP 2026-07-28 (
server/discover, stateless requests) and every earlier revision down to 2024-11-05 (theinitializehandshake) from the same binary, over stdio and Streamable HTTP. Clients that still use the old handshake keep working. - Read-only by design: every tool and resource only reads the exporter, so there is no read-only flag to set. Every tool carries
readOnlyHint, a title, an output schema and structured results. - HTTP listens on
127.0.0.1:8080by default. On any other address it refuses to start without a bearer token, rejects cross-origin browser requests and caps request bodies. - Ships as Go binaries for several platforms (GoReleaser), a Docker image and an npm wrapper.
Tools and resources
| Tool | What it answers |
|---|---|
get_backup_overview | Health of every backup in one call: verdict, reason, age of the last success. max_age_hours (default 26) sets when a backup is stale. |
list_snapshots | Every snapshot ID, storage target and machine, for use as filter values. |
get_backup_status | State and last-run details of one snapshot, per storage target and machine. |
get_backup_history | The last completed run of one snapshot. The exporter keeps only the last run. |
get_prune_status | Whether a prune is running and when the last one succeeded, per storage target. |
get_storage_usage | Storage size and chunks, and revisions per snapshot, from the exporter's storage poller. |
Resources: duplicacy://status, duplicacy://progress and duplicacy://health. Parameters and output fields are on Usage.
Install
The npm package runs the server over stdio; set DUPLICACY_EXPORTER_URL to your exporter.
Claude Code
claude mcp add --transport stdio --env DUPLICACY_EXPORTER_URL=http://localhost:9750 duplicacy -- npx -y duplicacy-mcp
Claude Desktop (claude_desktop_config.json) and Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"duplicacy": {
"command": "npx",
"args": ["-y", "duplicacy-mcp"],
"env": { "DUPLICACY_EXPORTER_URL": "http://localhost:9750" }
}
}
}
VS Code (.vscode/mcp.json)
{
"servers": {
"duplicacy": {
"type": "stdio",
"command": "npx",
"args": ["-y", "duplicacy-mcp"],
"env": { "DUPLICACY_EXPORTER_URL": "http://localhost:9750" }
}
}
}
Codex (~/.codex/config.toml)
[mcp_servers.duplicacy]
command = "npx"
args = ["-y", "duplicacy-mcp"]
env = { DUPLICACY_EXPORTER_URL = "http://localhost:9750" }
npm 12, pnpm and Bun skip install scripts, so the wrapper downloads and verifies the binary on first start. Versions up to 0.1.2 relied on the install script alone; with npm 12 run them as npx -y --allow-scripts=duplicacy-mcp duplicacy-mcp.
Docker (Streamable HTTP)
export MCP_AUTH_TOKEN=$(openssl rand -hex 32)
docker run -d -p 127.0.0.1:8080:8080 -e MCP_AUTH_TOKEN \
-e DUPLICACY_EXPORTER_URL=http://duplicacy-exporter:9750 drumsergio/duplicacy-mcp:v0.2.0
claude mcp add --transport http duplicacy http://127.0.0.1:8080/mcp --header "Authorization: Bearer $MCP_AUTH_TOKEN"
The image listens on 0.0.0.0:8080 inside the container, so it will not start without MCP_AUTH_TOKEN (or MCP_ALLOW_UNAUTHENTICATED=true behind a reverse proxy that authenticates). Compose, a global npm install and a local build are in Getting started; every variable is in Configuration.
Documentation
- Getting started: Docker Compose, npm, local build, first run
- Configuration: environment variables, HTTP security, client config for stdio and HTTP
- Usage: tools, parameters, output fields and resources
- Development: testing with Inspector, credits, contributing
- Related projects: the Duplicacy family, other MCP servers, registry listings
Related projects
Part of the Duplicacy family: duplicacy-exporter, duplicacy-cli-cron, duplicacy-ha, duplicacy-container.
License
Frequently asked questions
What is duplicacy-mcp MCP Server?
MCP server for Duplicacy: backup health, status and Prometheus metrics from duplicacy-exporter
How do I install duplicacy-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. duplicacy-mcp MCP Server runs locally from the npm package duplicacy-mcp with the command npx -y duplicacy-mcp@0.2.2.
Is duplicacy-mcp MCP Server free and open source?
Yes. duplicacy-mcp MCP Server is released under the GPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
How is duplicacy-mcp MCP Server's trust score calculated?
duplicacy-mcp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
