Backrest for VS Code
io.github.dasred/backrest-mcp
Monitor and run restic backups in Backrest: plans, snapshots, operations, logs. Read-only by default
client:VS Code
transport:stdio
runtime:oci
Install Backrest in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "backrest-mcp-backrest-url",
"description": "BACKREST_MCP_BACKREST_URL",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-backrest-username",
"description": "BACKREST_MCP_BACKREST_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-backrest-password",
"description": "BACKREST_MCP_BACKREST_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-read-only",
"description": "BACKREST_MCP_READ_ONLY",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-tools-allow",
"description": "BACKREST_MCP_TOOLS_ALLOW",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-tools-deny",
"description": "BACKREST_MCP_TOOLS_DENY",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-mask-secrets",
"description": "BACKREST_MCP_MASK_SECRETS",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-auth-token",
"description": "BACKREST_MCP_AUTH_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-backrest-public-url",
"description": "BACKREST_MCP_BACKREST_PUBLIC_URL",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-backrest-timeout",
"description": "BACKREST_MCP_BACKREST_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "backrest-mcp-server-log-level",
"description": "BACKREST_MCP_SERVER_LOG_LEVEL",
"password": true
}
],
"servers": {
"backrest-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/dasred/backrest-mcp:1.2.1"
],
"env": {
"BACKREST_MCP_BACKREST_URL": "${input:backrest-mcp-backrest-url}",
"BACKREST_MCP_BACKREST_USERNAME": "${input:backrest-mcp-backrest-username}",
"BACKREST_MCP_BACKREST_PASSWORD": "${input:backrest-mcp-backrest-password}",
"BACKREST_MCP_READ_ONLY": "${input:backrest-mcp-read-only}",
"BACKREST_MCP_TOOLS_ALLOW": "${input:backrest-mcp-tools-allow}",
"BACKREST_MCP_TOOLS_DENY": "${input:backrest-mcp-tools-deny}",
"BACKREST_MCP_MASK_SECRETS": "${input:backrest-mcp-mask-secrets}",
"BACKREST_MCP_AUTH_TOKEN": "${input:backrest-mcp-auth-token}",
"BACKREST_MCP_BACKREST_PUBLIC_URL": "${input:backrest-mcp-backrest-public-url}",
"BACKREST_MCP_BACKREST_TIMEOUT": "${input:backrest-mcp-backrest-timeout}",
"BACKREST_MCP_SERVER_LOG_LEVEL": "${input:backrest-mcp-server-log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs