MCP.so
登录
B

Bareos MCP Server

@edeckers

基本信息

分类

其他

传输方式

stdio

作者

edeckers

提交者

Ely Deckers

关于 Bareos MCP Server

A Model Context Protocol (MCP) server for Bareos backup system, providing read-only operations for monitoring and querying backup infrastructure.

#backups#bareos

Bareos MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "bareos": {
      "command": "/absolute/path/to/bareos-mcp-server",
      "args": [],
      "env": {
        "BAREOS_BCONSOLE_PATH": "/absolute/path/to/bconsole"
      }
    }
  }
}

Bareos MCP Server 工具

8

List backup jobs with filters

Get detailed status of a job

View complete job log

List files backed up in a job

List all file daemon clients

List backup filesets

List storage pools

List volumes/media

概览

What is Bareos Mcp Server?

A Model Context Protocol server providing read-only operations for monitoring and querying the Bareos backup system via bconsole. Intended for administrators who want to interact with their backup infrastructure through AI assistants.

How to use Bareos Mcp Server?

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.

Key features of Bareos Mcp Server

  • 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)

Use cases of Bareos Mcp Server

  • Check recent backup job status and logs
  • Count failed backups within a time window
  • List all Bareos file daemon clients
  • Monitor pool capacity and volumes ready for pruning
  • Retrieve backup filesets and storage pool details

常见问题

1

What are the prerequisites to run Bareos Mcp Server?

Rust 1.70+ for building, a Bareos Director with bconsole access, and the bconsole command-line utility.

2

How do I connect to a remote Bareos Director?

Create an SSH wrapper script that executes `bconsole` on the remote host, then set `BAREOS_BCONSOLE_PATH` to point to that script or ensure it’s in your PATH.

3

How can I test the server without an MCP client?

You can pipe JSON-RPC requests directly to the compiled binary (e.g., for initialization, listing tools, or calling `list_jobs`). Examples are provided in the README.

4

What tools does the server expose?

Seven tools: `list_jobs`, `get_job_status`, `get_job_log`, `list_files`, `list_clients`, `list_filesets`, `list_pools`, and `list_volumes`. All are read-only.

5

What if I get a "bconsole not found" or "permission denied" error?

Ensure bconsole is in your PATH or set `BAREOS_BCONSOLE_PATH`. Check that your user has permissions to read bconsole.conf or is in the bareos group. Verify the Director service is running and reachable.

评论

其他 分类下的更多 MCP 服务器