Open source · 2026
backrest-mcp
Backrest and restic backups as an MCP server
Every night a Backrest on top of restic backs up my servers. With backrest-mcp Claude can check whether everything ran and look for errors right in the log – and, if I allow it, start backups or restore files.
What it does
- The whole Backrest API as 26 tools: dashboard, config, history, live events, logs, snapshots, download links, backups, restores, prune, check, restic commands and multihost sync
- With or without authentication: with user and password via HTTP basic auth, without both for installations where login is disabled
- Read-only by default: write tools only with
BACKREST_MCP_READ_ONLY=false, plus allow and deny lists - Secrets stay out: repository passwords, access keys and hook tokens are masked and restored when a config is written back
- Long backups keep running in the background, streams like live events and logs are read for a limited time
- Streamable HTTP, optional bearer token, health check, shipped as a Docker image
How it is built
Node.js and TypeScript without generated gRPC code: Backrest speaks the Connect protocol, which understands JSON over HTTP. Releases with semantic-release, the image goes to the GitHub Container Registry and the official MCP Registry.
Installation, configuration and all tools are in the documentation.