
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A read-only Model Context Protocol server for monitoring and querying the Bareos backup system.
Bareos MCP Server is cataloged as an MCP server attributed to edeckers. A read-only Model Context Protocol server for monitoring and querying the Bareos backup system. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MPL-2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Bareos MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. All operations are read-only by design for safety in production environments.
It calls bconsole, whose path can be set via the BAREOS_BCONSOLE_PATH environment variable or a wrapper script.
README.md · ceaa939bb12f · Fetched 2026-11-13 13:18:54 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server for Bareos backup system, providing read-only operations for monitoring and querying backup infrastructure.
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"
All operations are read-only by design for safety in production environments.
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
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:
If bconsole is installed locally and you have access:
# Test that bconsole works
bconsole -c /etc/bareos/bconsole.conf
No additional setup needed - the server will use bconsole directly.
If your Bareos Director is on a remote host, create a wrapper script:
# Copy the example
cp bconsole.example.sh bconsole
chmod +x bconsole
# Edit bconsole and set your hostname
vim bconsole
Example wrapper content:
#!/usr/bin/env bash
ssh your-bareos-host "sudo bconsole $*"
Add the wrapper directory to your PATH or reference it in the MCP config.
Run bconsole in a container that has network access to your Bareos Director.
Create .mcp.json in your project directory:
cp .mcp.json.example .mcp.json
# Edit with your paths
vim .mcp.json
Example config:
{
"bareos": {
"command": "/absolute/path/to/bareos-mcp-server/target/release/bareos-mcp-server",
"args": [],
"env": {
"BAREOS_BCONSOLE_PATH": "/absolute/path/to/bconsole"
}
}
}
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"bareos": {
"command": "/absolute/path/to/bareos-mcp-server/target/release/bareos-mcp-server",
"args": [],
"env": {
"BAREOS_BCONSOLE_PATH": "/absolute/path/to/bconsole"
}
}
}
}
cd your-project
claude
Example queries:
| Tool | Description | Parameters |
|---|---|---|
list_jobs | List backup jobs with filters | job, client, jobstatus, jobtype, joblevel, volume, pool (all optional filters); days, hours (time filters, hours wins); last, count (output modes, count wins) |
get_job_status | Get detailed status of a job | job_id (required) |
get_job_log | View complete job log | job_id (required) |
list_files | List files backed up in a job | job_id (required) |
list_clients | List all file daemon clients | None |
list_filesets | List backup filesets | None |
list_pools | List storage pools | None |
list_volumes | List volumes/media | pool (optional filter) |
list_jobs Parameters DetailThe list_jobs tool supports multiple filters and options that can be combined:
Filters (all optional, can be combined):
job - Filter by job nameclient - Filter by client namejobstatus - Filter by status (e.g., T=terminated, f=failed, R=running)jobtype - Filter by type (e.g., B=backup, R=restore, V=verify, D=admin, C=copy, M=migration)joblevel - Filter by level (e.g., F=full, I=incremental, D=differential)volume - Filter by volume namepool - Filter by pool nameUnderstanding Job Types:
jobtype: "B"). Do not include verification, restore, or other job types unless explicitly requested.jobtype: "V") validate backup integrity but are not backups themselvesjobtype filter to focus on specific operations when ambiguity existsTime Filters (mutually exclusive):
days - Show jobs from last N dayshours - Show jobs from last N hourshours takes precedence (matches Bareos behavior)Output Modes (mutually exclusive):
last - Show only the most recent run of each job (WARNING: if jobs ran multiple times in the time range, only the LAST run will be returned)count - Show count of matching jobs instead of detailscount takes precedence (matches Bareos behavior)Examples:
{"client": "web-server", "days": 7} - All jobs for web-server in last 7 days{"jobstatus": "f", "hours": 24, "count": true} - Count of failed jobs in last 24 hours{"pool": "Full", "last": true} - Most recent run of each job type in the Full pool (only one run per job)Test the server without an MCP client:
# Initialize
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | ./target/release/bareos-mcp-server
# List tools
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | ./target/release/bareos-mcp-server
# Call a tool - list jobs from last 7 days
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_jobs","arguments":{"days":7}}}' | ./target/release/bareos-mcp-server
# List the most recent jobs for a specific client
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_jobs","arguments":{"client":"backup-client-1","last":true}}}' | ./target/release/bareos-mcp-server
# Count failed jobs in the last 24 hours
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_jobs","arguments":{"hours":24,"jobstatus":"f","count":true}}}' | ./target/release/bareos-mcp-server
# Check if bconsole is in PATH
which bconsole
# Or create wrapper script (see Setup section)
# Check bconsole config permissions
ls -l /etc/bareos/bconsole.conf
# May need to add user to bareos group
sudo usermod -a -G bareos $USER
# Test bconsole directly
echo "version" | bconsole
# Check Director is running
systemctl status bareos-dir
# Test SSH connection
ssh your-host "bconsole" << EOF
version
quit
EOF
# Check SSH key authentication
ssh -v your-host
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Bareos MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/bareos-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.