Skip to main content
Glama
szoran53

pbs-mcp-server

by szoran53

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP mode port, default 31003100
PBS_HOSTYesPBS IP or hostname (no port, no trailing slash)
PBS_PORTNoAPI port, default 80078007
TRANSPORTNostdio (default) or httpstdio
PBS_PASSWORDNoPassword for ticket auth
PBS_TOKEN_IDNoAPI token ID, e.g. user@pbs!mytoken
PBS_USERNAMENoUsername for ticket auth
PBS_VERIFY_SSLNoSet to false for self-signed certs (default: true)true
PBS_TOKEN_SECRETNoAPI token secret

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pbs_get_versionA

Returns the Proxmox Backup Server version, release, and repository ID. Use this to confirm connectivity and check which PBS version is running.

pbs_get_node_statusA

Returns detailed status of the PBS node: CPU usage, memory, disk, swap, load averages, uptime, and kernel version.

Returns:

  • CPU model, core count, and current usage percentage

  • Memory: free / total / used

  • Root filesystem: available / total / used

  • Swap: free / total / used

  • Uptime and load averages

  • Kernel version

pbs_list_tasksA

List recent tasks on the PBS node. Returns task UPID, type, user, start/end times, and status.

Args:

  • limit (number): Max tasks to return (default 30, max 200)

  • running (boolean): If true, only show currently running tasks

  • typefilter (string): Filter by task type, e.g. "garbage_collection", "verify", "prune", "sync"

  • statusfilter (string): Filter by status, e.g. "ok", "error"

Returns: List of tasks with UPID, type, user, timestamps, and completion status.

pbs_get_task_statusA

Get the status and log output of a specific task by its UPID.

Args:

  • upid (string): The task UPID

Returns: Task status and log lines.

pbs_list_datastoresA

List all configured datastores on the PBS server with their paths, comments, and retention settings.

Returns: Array of datastores with name, path, comment, GC schedule, prune schedule, and keep-* retention counts.

pbs_get_datastore_usageA

Get usage statistics for all datastores: total/used/available space, GC status, and deduplication factor.

Returns: For each datastore: name, total, used, available, percent used, GC last-run time, dedup factor, removed/pending bytes/chunks.

pbs_list_groupsA

List all backup groups in a datastore. Groups are organized by backup type (vm, ct, host) and ID.

Args:

  • store (string): Datastore name

  • ns (string, optional): Namespace path (e.g. "ns1/ns2")

Returns: Array of backup groups with type, ID, last backup time, backup count, and owner.

pbs_list_snapshotsA

List snapshots in a datastore, optionally filtered by backup type and ID.

Args:

  • store (string): Datastore name

  • backup_type (string, optional): Filter by type — "vm", "ct", or "host"

  • backup_id (string, optional): Filter by backup ID (e.g. "100")

  • ns (string, optional): Namespace path

Returns: Array of snapshots with type, ID, timestamp, size, protection status, verification state, and file list.

pbs_run_garbage_collectionA

Start a garbage collection job on a datastore. Returns the task UPID which can be tracked with pbs_get_task_status.

Args:

  • store (string): Datastore name

Returns: Task UPID for the started GC job.

pbs_run_verifyA

Start a verification job on a datastore to check backup integrity. Returns a task UPID.

Args:

  • store (string): Datastore name

  • backup_type (string, optional): Only verify this backup type

  • backup_id (string, optional): Only verify this backup ID

  • ignore_verified (boolean, optional): Skip already-verified snapshots (default true)

  • outdated_after (number, optional): Re-verify if last verification is older than this many days

  • ns (string, optional): Namespace path

Returns: Task UPID for the started verification job.

pbs_prune_datastoreA

Run a prune operation on a backup group to remove old snapshots per retention policy. Supports dry-run mode.

Args:

  • store (string): Datastore name

  • backup_type (string): Backup type — "vm", "ct", or "host"

  • backup_id (string): Backup ID (e.g. "100")

  • dry_run (boolean, optional): If true, only show what would be pruned (default false)

  • keep_last (number, optional): Keep the last N snapshots

  • keep_hourly (number, optional): Keep N hourly snapshots

  • keep_daily (number, optional): Keep N daily snapshots

  • keep_weekly (number, optional): Keep N weekly snapshots

  • keep_monthly (number, optional): Keep N monthly snapshots

  • keep_yearly (number, optional): Keep N yearly snapshots

  • ns (string, optional): Namespace path

Returns: Task UPID or dry-run results showing which snapshots would be removed/kept.

pbs_list_namespacesA

List backup namespaces in a datastore.

Args:

  • store (string): Datastore name

  • parent (string, optional): Parent namespace to list children of

Returns: Array of namespace paths and their comments.

pbs_protect_snapshotA

Set or remove protection on a backup snapshot. Protected snapshots cannot be pruned or deleted.

Args:

  • store (string): Datastore name

  • backup_type (string): "vm", "ct", or "host"

  • backup_id (string): Backup ID

  • backup_time (string): Backup timestamp in ISO format (e.g. "2025-03-22T04:00:00Z")

  • protected (boolean): true to protect, false to unprotect

  • ns (string, optional): Namespace path

Returns: Confirmation of the protection change.

pbs_list_verification_jobsA

List all scheduled verification jobs configured on the PBS server.

Returns: Array of verification jobs with ID, store, schedule, ignore-verified flag, outdated-after, namespace, and comment.

pbs_run_verification_jobA

Manually trigger a configured verification job by ID.

Args:

  • id (string): Verification job ID

Returns: Task UPID for the started job.

pbs_list_sync_jobsA

List all configured sync jobs that replicate data between PBS servers.

Returns: Array of sync jobs with ID, local store, remote name, remote store, schedule, remove-vanished flag, namespace settings, and comments.

pbs_run_sync_jobA

Manually trigger a configured sync job by ID.

Args:

  • id (string): Sync job ID

Returns: Task UPID for the started job.

pbs_list_prune_jobsA

List all configured scheduled prune jobs.

Returns: Array of prune jobs with ID, store, schedule, retention settings, namespace, and disabled status.

pbs_list_remotesA

List all configured remote PBS servers used for sync jobs.

Returns: Array of remotes with name, host, port, auth-id, fingerprint, and comment.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szoran53/pbs-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server