Duplicati MCP
概览
作者提供的说明(英文原文)
MCP server for Duplicati backup management — list, run, monitor and configure jobs from an LLM.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: Streamable HTTP
- 分类: 搜索与 AI 记忆
- 你需要填写:DUPLICATI_URL, DUPLICATI_PASSWORD
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
DUPLICATI_URL,DUPLICATI_PASSWORD,DUPLICATI_READONLY,DUPLICATI_DB_PATH
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- Docker已安装 Docker
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"duplicati": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DUPLICATI_URL",
"-e",
"DUPLICATI_PASSWORD",
"-e",
"DUPLICATI_READONLY",
"-e",
"DUPLICATI_DB_PATH",
"docker.io/kcofoni/duplicati-mcp:v1.1.1"
],
"env": {
"DUPLICATI_URL": "your-value",
"DUPLICATI_PASSWORD": "your-value",
"DUPLICATI_READONLY": "your-value",
"DUPLICATI_DB_PATH": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add duplicati --env DUPLICATI_URL=your-value --env DUPLICATI_PASSWORD=your-value --env DUPLICATI_READONLY=your-value --env DUPLICATI_DB_PATH=your-value -- docker run -i --rm -e DUPLICATI_URL -e DUPLICATI_PASSWORD -e DUPLICATI_READONLY -e DUPLICATI_DB_PATH docker.io/kcofoni/duplicati-mcp:v1.1.1运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"duplicati": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DUPLICATI_URL",
"-e",
"DUPLICATI_PASSWORD",
"-e",
"DUPLICATI_READONLY",
"-e",
"DUPLICATI_DB_PATH",
"docker.io/kcofoni/duplicati-mcp:v1.1.1"
],
"env": {
"DUPLICATI_URL": "your-value",
"DUPLICATI_PASSWORD": "your-value",
"DUPLICATI_READONLY": "your-value",
"DUPLICATI_DB_PATH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"duplicati": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DUPLICATI_URL",
"-e",
"DUPLICATI_PASSWORD",
"-e",
"DUPLICATI_READONLY",
"-e",
"DUPLICATI_DB_PATH",
"docker.io/kcofoni/duplicati-mcp:v1.1.1"
],
"env": {
"DUPLICATI_URL": "your-value",
"DUPLICATI_PASSWORD": "your-value",
"DUPLICATI_READONLY": "your-value",
"DUPLICATI_DB_PATH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- URL of the Duplicati instance (e.g. http://localhost:8200)
- Duplicati web interface password (leave empty if none configured)
DUPLICATI_READONLYenvSet to true to disable write operations (run, abort, update, import). Default: falseDUPLICATI_DB_PATHenvPath to Duplicati-server.sqlite — enables SQLite history tools (db_*). Leave empty to disable.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 kcofoni 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5687 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5687 个服务器的 13% 更新
- 基础检查结果等于或优于此分类中其他 5687 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Duplicati MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:DUPLICATI_URL, DUPLICATI_PASSWORD
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.1.1)于6个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Duplicati MCP Server
MCP (Model Context Protocol) server for managing Duplicati backups from an LLM.
Version française / French version
Architecture
The server wraps the Duplicati REST API and exposes it via the MCP protocol. Two transports are supported:
- stdio — for local use via Claude Code (no network, no port)
- Streamable HTTP — for Docker deployment, accessible over the network
Getting Started
Local use with Claude Code (stdio)
The simplest way to get started. The .mcp.json at the project root handles everything:
# Install uv if needed
brew install uv
Claude Code will auto-detect .mcp.json and launch the server
Set your Duplicati URL and password in .mcp.json:
{
"mcpServers": { "duplicati": { "type": "stdio", "command": "uv", "args": ["run", "duplicati-mcp"], "env": { "DUPLICATI_URL": "http://localhost:8200", "DUPLICATI_PASSWORD": "your-password", "DUPLICATI_READONLY": "" } } } }
With Docker Compose (Docker Hub image)
# Edit DUPLICATI_URL and DUPLICATI_PASSWORD in docker-compose.yml, then:
docker compose up -d
With Docker Compose (local build)
# Edit docker-compose.yml: comment out `image:` and uncomment `build: .`
docker compose up -d --build
Direct Docker usage
docker run -d \
--name duplicati-mcp-server \ -p 3000:3000 \ -e DUPLICATI_URL=http://your-duplicati-host:8200 \ -e DUPLICATI_PASSWORD=your-password \ kcofoni/duplicati-mcp:latest
Verification
# Check that the server is running
docker logs duplicati-mcp-server
Test the MCP endpoint
curl -X POST http://localhost:3000/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
Client Configuration
Claude Code — local (stdio)
For local use without Docker, add to your project .mcp.json:
{
"mcpServers": { "duplicati": { "type": "stdio", "command": "uv", "args": ["run", "duplicati-mcp"], "env": { "DUPLICATI_URL": "http://localhost:8200", "DUPLICATI_READONLY": "" } } } }
Credentials are loaded from the .env file at the project root (see Getting Started).
Claude Code — Docker/remote (HTTP)
Add to your .mcp.json:
{
"mcpServers": { "duplicati": { "type": "http", "url": "http://your-host:3000/mcp" } } }
Claude Desktop
Claude Desktop requires mcp-proxy as a bridge to HTTP servers. Add to your configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "duplicati": { "command": "uvx", "args": ["mcp-proxy", "--transport", "streamablehttp", "http://your-host:3000/mcp"] } } }
Available Tools
Once connected, the LLM has access to:
Backup Jobs
- list_backups — List all configured jobs with ID, name, last run date and result
- get_backup — Get detailed information about a specific job
- run_backup — Trigger a backup job immediately
- abort_backup — Abort the currently running backup for a job
Status & Progress
- get_progress — Live progress of the active backup task (phase, %, file counts)
- get_server_status — Duplicati server state, version and active task
Configuration
- export_backup_config — Export a job configuration as JSON
- update_backup_config — Update an existing job configuration in place (use with
export_backup_configto modify sources, settings, schedule, etc.) - import_backup_config — Import a job configuration from JSON (creates a new job)
History & Diagnostics (SQLite — requires DUPLICATI_DB_PATH)
- db_get_backup_metadata — Rich metadata from the local database: last run date, duration, file counts, quota usage, last error
- db_get_backup_schedule — Schedule configuration for a backup job
- db_list_errors — Recent error log entries, optionally filtered by job
- db_list_notifications — System notifications (update alerts, etc.)
- db_get_backup_options — Configuration options for a job (compression, retention policy, etc.) — passphrases excluded
- db_list_operations — Operation history for a job (Backup, Restore, List, etc.) with timestamps
- db_get_operation_log — Full result and statistics for a specific operation
- db_list_filesets — Available restore points (backup versions) for a job
Example Prompts
Once the server is connected to your LLM, here are prompts you can use:
General status
- "What backup jobs are configured on my Duplicati?"
- "What was the last backup that ran and what was the result?"
- "Is a backup currently running?"
History & statistics _(requires DUPLICATI_DB_PATH)_
- "Show me the last 10 operations for backup job 2"
- "What is the average duration of recent backups?"
- "Have there been any errors on my backups in the past few weeks?"
- "How many files are backed up and what is the total size on the destination?"
Restore points _(requires DUPLICATI_DB_PATH)_
- "What restore points are available for my backup job?"
- "What is the oldest backup available for a restore?"
Configuration _(requires DUPLICATI_DB_PATH)_
- "What retention policy is configured on my backup job?"
- "What compression and encryption options are in use?"
Diagnostics _(requires DUPLICATI_DB_PATH)_
- "Are there any pending system notifications on Duplicati?"
- "Has my Duplicati encountered any errors recently? Which ones?"
- "Analyse the last backup and tell me if everything went well"
Open-ended _(combines multiple tools)_
- "Give me a full health report on my Duplicati backups"
Environment Variables
| Variable | Default | Description |
|---|---|---|
DUPLICATI_URL | http://localhost:8200 | URL of the Duplicati instance |
DUPLICATI_PASSWORD | _(empty)_ | Duplicati web interface password (leave empty if none set) |
DUPLICATI_READONLY | _(empty)_ | Set to true, 1 or yes to disable write operations |
DUPLICATI_DB_PATH | _(empty)_ | Path to Duplicati-server.sqlite — enables SQLite-backed history tools |
MCP_TRANSPORT | stdio | Transport: stdio or streamable-http |
MCP_PORT | 3000 | Port for Streamable HTTP transport |
Read-only Mode
DUPLICATI_READONLY=true disables run_backup, abort_backup, update_backup_config and import_backup_config. All read tools remain active. Useful for safely exploring and analysing backup configurations without any risk of modification.
SQLite Access
Setting DUPLICATI_DB_PATH enables the db_* tools, which read directly from the Duplicati SQLite databases. Access is strictly read-only: databases are opened in read-only mode and copied to memory via the SQLite Online Backup API before any query — the live Duplicati databases are never locked or modified.
Local use — point to the server database on your machine:
DUPLICATI_DB_PATH=/path/to/duplicati/config/Duplicati-server.sqlite
Docker — share the Duplicati config directory as a read-only volume. In docker-compose.yml:
services:
duplicati-mcp:
...
volumes:
- duplicati_config:/duplicati-config:ro # named volume (recommended)
or: - /srv/duplicati/config:/duplicati-config:ro # bind mount
environment:
- DUPLICATI_DB_PATH=/duplicati-config/Duplicati-server.sqlite
volumes: duplicati_config: # must be the same volume used by the Duplicati container
Docker Hub
- Repository: kcofoni/duplicati-mcp
- Latest tag:
kcofoni/duplicati-mcp:latest
docker pull kcofoni/duplicati-mcp:latest
Development
File Structure
duplicati-mcp/
├── src/ │ └── duplicati_mcp/ │ ├── init.py │ ├── main.py │ ├── client.py # Duplicati REST API client │ ├── db.py # Read-only SQLite access (server DB + per-backup DBs) │ └── server.py # FastMCP server and tools ├── mcp-publication/ # MCP registry publication files ├── requirements.txt # Python dependencies ├── pyproject.toml # Project metadata ├── Dockerfile ├── docker-compose.yml ├── .mcp.json # Claude Code local config (stdio) ├── test_server.sh # Docker container smoke test ├── test_mcp.py # MCP protocol test ├── README.md # This file (English) └── README_fr.md # French documentation
Running Tests
# Smoke test (requires running Docker container)
./test_server.sh
MCP protocol test (requires running server)
python test_mcp.py python test_mcp.py localhost:3000
Interactive Tool Testing (local)
uv run mcp dev src/duplicati_mcp/server.py
Troubleshooting
Cannot connect to Duplicati
Check that DUPLICATI_URL is reachable from the container. If both run in Docker, put them on the same network and use the service name as hostname.
Authentication failed
Verify DUPLICATI_PASSWORD matches the password set in Duplicati's web interface. Leave empty if no password is configured.
MCP endpoint not responding
docker ps | grep duplicati-mcp-server
docker logs duplicati-mcp-server
License
This project is licensed under the MIT License — see the LICENSE file for details.