Bareos
Provides a minimalistic Model Context Protocol (MCP) server for Bareos, directly communicating with the Director's native JSON API via a single Python script.
This project delivers a minimalistic Model Context Protocol (MCP) server for Bareos, designed as a single Python file that interacts directly with the Bareos Director's native JSON API. Unlike other solutions that might rely on compiled binaries or subprocesses that scrape `bconsole` output, this server uses the official `python-bareos` library for structured API communication. It offers a lightweight, dependency-managed (via `uv`) and explicitly configured (via environment variables) solution for integrating Bareos operations with AI agents and other MCP clients.
主要功能
01Single-file Python script with no build step or compiled binary, using PEP 723 inline dependencies.
02Implements a 'confirm-then-execute' pattern for mutating tools, requiring explicit confirmation for actions like running or canceling jobs.
03Utilizes `uv` for ephemeral virtual environment and dependency management on first run.
040 GitHub stars
05Explicit configuration entirely through environment variables, with no silent defaults.
06Direct communication with Bareos Director's native JSON API via `python-bareos` library.
使用案例
01Integrate Bareos backup and restore operations with AI agents and LLM tools via MCP.
02Provide a secure, explicit, and lightweight API interface for Bareos Director interactions within a larger system.
03Automate Bareos job control (run, cancel) and status monitoring programmatically.