Skip to content
Backrest
Install guide · VS Code

Install Backrest for VS Code

Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.

  1. Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

.vscode/mcp.json
{  "servers": {    "dasred-backrest-mcp": {      "type": "stdio",      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/dasred/backrest-mcp:1.2.2"      ],      "env": {        "BACKREST_MCP_BACKREST_URL": "",        "BACKREST_MCP_BACKREST_USERNAME": "",        "BACKREST_MCP_BACKREST_PASSWORD": "YOUR_BACKREST_MCP_BACKREST_PASSWORD",        "BACKREST_MCP_READ_ONLY": "true",        "BACKREST_MCP_TOOLS_ALLOW": "",        "BACKREST_MCP_TOOLS_DENY": "",        "BACKREST_MCP_MASK_SECRETS": "true",        "BACKREST_MCP_AUTH_TOKEN": "YOUR_BACKREST_MCP_AUTH_TOKEN",        "BACKREST_MCP_BACKREST_PUBLIC_URL": "",        "BACKREST_MCP_BACKREST_TIMEOUT": "60000",        "BACKREST_MCP_SERVER_LOG_LEVEL": "info"      }    }  }}

Where the config lives

SystemPath
macOS.vscode/mcp.json
Windows.vscode/mcp.json
Linux.vscode/mcp.json