Back to Browse

Backrest MCP Server

by DasRed
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Monitor and run restic backups in Backrest: plans, snapshots, operations, logs. Read-only by default

About

Monitor and run restic backups in Backrest: plans, snapshots, operations, logs. Read-only by default

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 0 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (8/8 approved).

12 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

URL of Backrest as reachable from the containerOptional

Environment variable: BACKREST_MCP_BACKREST_URL

Backrest user for HTTP basic auth, leave empty if authentication is disabled in BackrestOptional

Environment variable: BACKREST_MCP_BACKREST_USERNAME

Password of that user, required together with the usernameRequired

Environment variable: BACKREST_MCP_BACKREST_PASSWORD

Only expose the read-only toolsOptional

Environment variable: BACKREST_MCP_READ_ONLY

Comma separated tool names to keep, * as wildcardOptional

Environment variable: BACKREST_MCP_TOOLS_ALLOW

Comma separated tool names to remove, * as wildcardOptional

Environment variable: BACKREST_MCP_TOOLS_DENY

Replace repository passwords and hook tokens with ******** in returned configsOptional

Environment variable: BACKREST_MCP_MASK_SECRETS

If set, the MCP endpoint requires Authorization: Bearer <token>Required

Environment variable: BACKREST_MCP_AUTH_TOKEN

Public URL of Backrest for download links, defaults to BACKREST_MCP_BACKREST_URLOptional

Environment variable: BACKREST_MCP_BACKREST_PUBLIC_URL

Request timeout against Backrest in millisecondsOptional

Environment variable: BACKREST_MCP_BACKREST_TIMEOUT

Log levelOptional

Environment variable: BACKREST_MCP_SERVER_LOG_LEVEL

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

backrest-mcp

Streamable HTTP MCP server for Backrest, the web UI and orchestrator for restic backups, shipped as a Docker image. It lets Claude check the state of your backups, browse snapshots and logs and – if enabled – start backups, restores, prune or check and change the configuration. Every procedure of the Backrest API a client can use is available as a tool, 26 in total including the Prometheus metrics.

Read-only by default, works with and without Backrest authentication, masks repository passwords and hook tokens, optional bearer token for the MCP endpoint.

Documentation: https://www.marco-starker.de/en/projects/backrest-mcp/docs (Deutsch: https://www.marco-starker.de/de/projekte/backrest-mcp/doku)

Quick start

docker run -d --name mcp-backrest \
  -p 3000:3000 \
  -e BACKREST_MCP_BACKREST_URL=http://backrest:9898 \
  -e BACKREST_MCP_BACKREST_USERNAME=claude \
  -e BACKREST_MCP_BACKREST_PASSWORD=your-password \
  ghcr.io/dasred/backrest-mcp:1

Leave out username and password if authentication is disabled in Backrest. The MCP endpoint is http://localhost:3000/mcp. Never expose it to the internet without TLS and access control.

Local development

Requires Node.js 26 and npm 11.

npm ci
cp .env.example .env
npm run dev
npm test
npm run build

Releases are created by semantic-release from Conventional Commits on main.

License

MIT

Reviews

No reviews yet

Be the first to review this server!