Bareos Mcp Server
About
A Model Context Protocol (MCP) server for Bareos backup system, providing read-only operations for monitoring and querying backup infrastructure.
Details
- Author
- edeckers
- Downloads
- 220
- Categories
- Other
Jump to
- Read-only operations – safe for production environments
- List and filter backup jobs with multiple parameters
- View detailed job status and logs
- List clients, filesets, pools, and volumes
- Supports time filters (days/hours) and output modes (last/count)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Bareos Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, build with cargo, ensure bconsole is accessible (locally, via SSH wrapper, or Docker), then configure your MCP client (Claude Code or Claude Desktop) with the binary path and optional BAREOS_BCONSOLE_PATH environment variable. Use natural language queries to inspect jobs, clients, filesets, pools, and volumes.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"bareos mcp server": {
"bareos": {
"command": "/absolute/path/to/bareos-mcp-server",
"args": [],
"env": {
"BAREOS_BCONSOLE_PATH": "/absolute/path/to/bconsole"
}
}
}
}
}
McpServers
{
"bareos": {
"command": "/absolute/path/to/bareos-mcp-server",
"args": [],
"env": {
"BAREOS_BCONSOLE_PATH": "/absolute/path/to/bconsole"
}
}
}
Bareos MCP Server
A Model Context Protocol (MCP) server for Bareos backup system, providing read-only operations for monitoring and querying backup infrastructure.
Quick Start
Once configured, ask your AI assistant naturally about your backups:
"Show me the last 10 backup jobs"
"Are there any failed backups today?"
"What's the status of job 12345?"
"How much storage is left in the Full pool?"
"List all volumes ready for pruning"
Features
Read-Only Operations
- Jobs: List recent jobs, get detailed status, view job logs
- Clients: List all Bareos file daemon clients
- Filesets: List configured backup filesets
- Storage: List pools and volumes with capacity info
All operations are read-only by design for safety in production environments.
Prerequisites
- Rust 1.70+ - For building the server
- Bareos Director - With bconsole access
- bconsole - Command-line interface to Bareos Director
Installation
1. Clone and Build
git clone https://github.com/edeckers/bareos-mcp-server.git
cd bareos-mcp-server
cargo build --release
The binary will be at: target/release/bareos-mcp-server
2. Configure bconsole Access
The MCP server calls bconsole to interact with the Bareos Director. By default it looks for bconsole in your PATH, but you can set the BAREOS_BCONSOLE_PATH environment variable to specify an absolute path to the binary or wrapper script:
export BAREOS_BCONSOLE_PATH=/usr/sbin/bconsole
You can also pass this through your MCP client config (see step 3).
You have several options:
Option A: Local bconsole (Direct Access)
If bconsole is installed locally and you have access:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



