Install guide · Cursor
Install Backrest for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "dasred-backrest-mcp": { "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
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |