Duplicacy MCP
A tiny bridge that reads Duplicacy backup metrics from a Prometheus exporter and exposes them as an MCP server, enabling LLMs to monitor backup status, progress, and health.
Features
- Reads the metrics of duplicacy-exporter and serves them over MCP.
- Resources
duplicacy://status,duplicacy://progressandduplicacy://healthfor read-only browsing. - Tools
get_backup_status,get_backup_history,list_snapshotsandget_prune_status. - One JSON-RPC endpoint (
/mcp) over HTTP, or stdio throughnpx duplicacy-mcp. - Listens on
127.0.0.1:8080by default. Put a reverse proxy with authentication in front before exposing it. - Ships as Go binaries for several platforms (GoReleaser), a Docker image and an npm wrapper.
Quick start
docker run -d -p 127.0.0.1:8080:8080 -e DUPLICACY_EXPORTER_URL=http://duplicacy-exporter:9750 drumsergio/duplicacy-mcp:v0.1.0That serves http://127.0.0.1:8080/mcp. For a client that starts the server itself over stdio, use the npm package in an mcpServers block:
{
"mcpServers": {
"duplicacy": {
"command": "npx",
"args": ["-y", "duplicacy-mcp"],
"env": { "DUPLICACY_EXPORTER_URL": "http://localhost:9750" }
}
}
}





