Backrest for LangChain
io.github.dasred/backrest-mcp
Monitor and run restic backups in Backrest: plans, snapshots, operations, logs. Read-only by default
client:LangChain
transport:stdio
runtime:oci
Install Backrest in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"backrest-mcp": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/dasred/backrest-mcp:1.2.1"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs