Skip to main content
Glama

VSPC MCP server

An MCP server for the Veeam Service Provider Console (VSPC) REST API v3. VSPC sees every client's Veeam Backup & Replication servers, Veeam Agents and Veeam Backup for Microsoft 365 servers, so Claude can answer questions across all clients in one call, for example "which backups failed in the last 24 hours?". Separately named write tools can start or retry a job and acknowledge or resolve an alarm.

VCSP vs VSPC. VCSP (Veeam Cloud Service Provider) is Veeam's partner programme. VSPC is the console a VCSP partner uses to manage its clients' Veeam, and it is what these tools read. Questions about either belong here. In particular, vspc_get_license_usage gives the licence usage (points and instances) that is reported to Veeam under the VCSP programme.

It uses the same framework as Cititec's other MCP servers: TypeScript, @modelcontextprotocol/sdk, a stdio transport, vitest tests, tsup and a Docker image.

The API

  • VSPC 9.1 = REST API 3.6.1, at https://<console>:1280/api/v3. Paths, filters and fields were taken from Veeam's OpenAPI document for 3.6.1 (the one the console serves on its Swagger page).

  • Authentication: a Simple REST API key, sent as Authorization: Bearer <key> on every request. No token exchange, and the key does not expire; it works until its user is disabled or deleted. Create it in VSPC under Configuration > Access Management > REST API Keys (scope rest). Tick read-only unless the write tools are wanted: a read-only key allows GET only.

  • API contract: every request sends X-Client-Version: 3.6.1, so a newer console answers in the 9.1 contract the tools were written for.

  • Collections are paged with limit (max 500) and offset. meta.pagingInfo gives total, count and offset. Every list tool returns total, count, offset and nextOffset when there is more.

  • Filters are JSON in the query string (filter=[{"property":"status","operation":"equals","value":"Failed"}]). Tools build them from typed parameters. No tool takes a free-form path, filter or property name.

  • No session history. VSPC v3 has no job-session endpoint. Each job carries its latest session: result, start, end and failure message. "Failed in the last N hours" therefore means "the latest session failed and ended in the last N hours". A job that failed and then succeeded on retry is not a failure any more. vspc_failed_jobs_summary adds VSPC's own session counts for the window (the job-session heatmap), which do include every session.

Related MCP server: Veeam AIops

Configuration

Variable

VSPC_URL

The console address, https only, with its port: https://vspc.example.local:1280. A trailing /api/v3 is accepted.

VSPC_API_KEY

The Simple REST API key. Never logged; removed from every error message.

VSPC_ACCEPT_SELF_SIGNED

true only when the console's certificate is self-signed or not issued for the name in VSPC_URL. The connection stays encrypted, but the server is not authenticated, so use this only over a trusted path (VPN). Default false.

LOG_LEVEL

debug, info (default), warn, error. Logs go to stderr. Tool arguments and the key are never logged.

Tools

Read tools only send GET requests. Results are trimmed to the useful fields. Company and server UIDs are turned into names, and each response is capped at 60,000 characters. company accepts a company's UID or its name (an exact or unique partial match). A job belongs to one company: the company it is assigned to (mappedOrganizationUid), or the backup server's owner (organizationUid) when it is not assigned. A job on a hosted server shows under, and is filtered by, that one company. It is not listed for the provider that owns the server. A company name is resolved after reading every match (up to 1,000), so an exact match always wins. The organisation and backup server name lists are cached for 5 minutes per console and key (a failed lookup is not cached). Secrets in VSPC responses, such as a company's owner credentials, are never returned.

Tool

VSPC endpoint(s)

vspc_about

GET /about

vspc_list_companies / vspc_get_company

GET /organizations/companies[/{uid}]

vspc_list_backup_servers

GET /infrastructure/backupServers (status, version with patch, role)

vspc_list_jobs

GET /infrastructure/backupServers[/{uid}]/jobs, filtered by company, server, latest result, name, enabled

vspc_list_agent_jobs

GET /infrastructure/backupAgents/jobs (Veeam Agent jobs and backup policies, with computer names)

vspc_list_failed_jobs

All three job lists, filtered on the latest result (Failed, optionally Warning) and paged through: every failure in the last N hours across all companies, newest first, with the failure reason

vspc_failed_jobs_summary

As above, one row per job. Retries of a job, and an agent job failing on several computers of one company, are folded together. Also gives counts per company and the session counts from GET /infrastructure/jobSessionHeatmap/

vspc_list_alarms

GET /alarms/active (Error and Warning by default, newest first), with alarm names from GET /alarms/templates. hours is sent to VSPC as a lastActivation.time filter, so paging is exact. If the console refuses that filter, the window is applied here instead: timeFilter: "client" with count, pageCountUnfiltered, and no nextOffset once the page reaches older alarms

vspc_list_protected_vms

GET /protectedWorkloads/virtualMachines (oldest_first finds stale backups)

vspc_list_backup_policies

GET /configuration/backupPolicies

vspc_get_license_usage

GET /licensing/usage/organizations: used, new and rental units and counts per workload (with the per-platform split), and totals per workload and unit type

vspc_get_console_license

GET /licensing/console

Job sources in the failure tools:

  • backup_server: Veeam Backup & Replication jobs, including agent jobs managed by VBR.

  • agent: Veeam Agents managed by VSPC.

  • vb365: Veeam Backup for Microsoft 365 jobs.

A failure count is never shown as a clean zero when data is missing:

  • If no source can be read (for example, the console is unreachable), the tool returns an error giving each source's reason. A rate-limit wait is kept, as rate_limited.

  • If some sources fail, or one is cut short at its cap, the result starts with complete: false and a warning: the counts are a lower bound, and zero does not mean no failures. The result lists sourceErrors and partialSources.

  • If VSPC's session counts cannot be read, the summary returns sessionCounts: null and gives the reason.

  • A name lookup or count that failed is listed in lookupErrors, so a refused request (403) is not mistaken for a passing glitch. It gives what was being looked up, the error text (method and path only, never the key or query string), the HTTP status, and for a 429 rateLimited and retryAfterSeconds. Rows still show UIDs where the names are missing. sourceErrors use the same form. The same failure on many items, such as one agent-name GET per agent refused with 403, is listed once with a count. Agents beyond the 40 named per call are listed too: they show their UID. When the alarm time filter falls back, timeFilterFallback gives the reason.

Write tools

Each write tool makes exactly one POST to a fixed endpoint, with a validated UID and no lookups first. On the Cititec MCP host, the proposal an administrator approves is exactly what is sent. Writes are never retried. They need a key that is not read-only.

Idempotency. VSPC treats X-Request-id as an idempotency key for 5 minutes. A write's id is derived from the tool name and its validated arguments (canonical JSON, keys sorted; SHA-256 shown as a version 8 UUID). If an identical write is sent again within 5 minutes, VSPC runs it once. Examples: a response lost on the network and sent again, or the same proposal approved twice. A different job, alarm or comment gets a different id. So does the same write more than 5 minutes later. Starting the same job twice on purpose within 5 minutes therefore runs it once. Reads send no request id.

Tool

VSPC endpoint

vspc_start_job

POST /infrastructure/backupServers/jobs/{jobUid}/start

vspc_retry_job

POST /infrastructure/backupServers/jobs/{jobUid}/retry

vspc_acknowledge_alarm

POST /alarms/active/{alarmUid}/acknowledge?comment=...&resolveOnClients=...

vspc_resolve_alarm

POST /alarms/active/{alarmUid}/resolve?comment=...&resolveOnClients=...

Rate limits (Cititec fleet 429 policy)

VSPC throttles with HTTP 429 and gives the wait either in a Retry-After header or in a retryAfter property in the body.

  • Reads (GET): retried once if the wait is 10 s or less.

  • Longer or missing wait: the tool returns at once with a structured error: structuredContent: { "error": "rate_limited", "retryAfterSeconds": N }, plus the text Try again in N s.

  • Writes: never retried.

Running it

npm ci
npm run build
VSPC_URL=https://vspc.example.local:1280 VSPC_API_KEY=... node dist/index.js   # stdio
npm test

The Docker image is ghcr.io/cititec-pty-ltd/vspc-mcp. It is published by the Cititec release workflow (semantic-release) on every release commit to main. On the Cititec MCP host, each connection gets its own container (docker run --rm -i) with the service's env file.

Licence

Apache-2.0. See LICENSE and NOTICE.

Available Tools

17 tools
vspc_aboutA
Read-onlyIdempotent

Veeam Service Provider Console version and installation details (server version, current Veeam Agent and management agent versions). A cheap first call to check the connection and key.

Inputs: no named parameters.

vspc_acknowledge_alarmA

Acknowledges a triggered VSPC alarm (alarm UID from vspc_list_alarms) with a comment. The alarm stays until it is resolved.

Inputs: comment (required), alarm_uid (required), on_client_portal.

vspc_failed_jobs_summaryA
Read-onlyIdempotent

Summary of backup failures across ALL companies (VCSP / Veeam Cloud Service Provider clients) in the last N hours: one row per job (retries of the same job, and one agent job failing on several computers of a company, are folded together, worst result first), counts per company, and VSPC's session counts (successful, warning, failed sessions) for the window. The best first call for "which backups failed in the last 24 hours?".

Inputs: hours, company, include_warnings.

vspc_get_companyA
Read-onlyIdempotent

One company: status, reseller, subscription plan, services enabled for it (owner credentials are never returned).

Inputs: company (required).

vspc_get_console_licenseB
Read-onlyIdempotent

The VSPC console license: edition, package, status, expiry and support expiry, last update result.

Inputs: no named parameters.

vspc_get_license_usageA
Read-onlyIdempotent

VCSP (Veeam Cloud Service Provider) licence usage, as reported to Veeam under the VCSP programme: current license usage by organization and server (Veeam Backup & Replication, Cloud Connect, VB365, VSPC, Veeam ONE): per workload type the used, new and rental units and counts, plus totals per workload across the result. Optionally one company.

Inputs: limit, offset, company, server_type.

vspc_list_agent_jobsB
Read-onlyIdempotent

Jobs of Veeam Agents (Windows, Linux, Mac) managed by VSPC, such as backup policies on workstations and servers: computer, company, policy, latest result, last run, next run, failure message.

Inputs: name, limit, offset, company, +1 more.

vspc_list_alarmsA
Read-onlyIdempotent

Triggered (active) VSPC alarms across every client, newest first: alarm name, status (Error, Warning, ...), time, message, the object (job, server, agent, repository...), computer and company. Defaults to Error and Warning alarms.

Inputs: hours, limit, offset, company, +1 more.

vspc_list_backup_policiesB
Read-onlyIdempotent

Veeam Agent backup policies defined in VSPC: name, OS, mode, who created it, last change, and how many companies and agents use it.

Inputs: name, limit, offset.

vspc_list_backup_serversB
Read-onlyIdempotent

Veeam Backup & Replication servers managed by VSPC, across every client: name, company, version (with patch), role, and status (Healthy, Warning, Inaccessible).

Inputs: name, limit, offset, company, +1 more.

vspc_list_companiesA
Read-onlyIdempotent

Companies (clients) managed in VSPC, sorted by name: UID, name, status. Use a UID or name from here as company in the other tools.

Inputs: name, limit, offset, status.

vspc_list_failed_jobsA
Read-onlyIdempotent

Every job across ALL companies whose latest session failed (or ended with a warning) in the last N hours, newest first, with company, backup server or computer, and the failure reason. Covers Veeam Backup & Replication server jobs, Veeam Agent jobs and Veeam Backup for Microsoft 365 jobs in one call. VSPC keeps only the latest session of each job, so a job that failed and then succeeded on retry is not listed. For one row per job with retries folded together, use vspc_failed_jobs_summary.

Inputs: hours, company, sources, max_rows, +2 more.

vspc_list_jobsA
Read-onlyIdempotent

Jobs on managed Veeam Backup & Replication servers (VM backup, replication, backup copy, tape, file share, agent jobs managed by VBR): latest result, last run and end, duration, destination, failure message. Filter by company, backup server, latest result and name. For "what failed recently" across all clients, use vspc_list_failed_jobs or vspc_failed_jobs_summary.

Inputs: name, limit, offset, company, +3 more.

vspc_list_protected_vmsA
Read-onlyIdempotent

Virtual machines protected by managed Veeam Backup & Replication servers: VM, company, backup server, restore points, latest restore point date, sizes, immutability. oldest_first: true puts the VMs with the oldest latest restore point first (stale backups).

Inputs: name, limit, offset, company, +1 more.

vspc_resolve_alarmA

Marks a triggered VSPC alarm as resolved, with a comment. If the cause is still there, VSPC triggers it again.

Inputs: comment (required), alarm_uid (required), on_client_portal.

vspc_retry_jobA

Retries a failed job on a managed Veeam Backup & Replication server (only the failed objects are processed again). VSPC queues the retry and returns at once.

Inputs: job_uid (required).

vspc_start_jobA

Starts a job on a managed Veeam Backup & Replication server now (job UID from vspc_list_jobs or vspc_list_failed_jobs). VSPC queues the start and returns at once; check the result later with vspc_list_jobs.

Inputs: job_uid (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools target a distinct resource (companies, servers, policies, VMs, licenses, alarms) with clear action verbs. The one soft spot is the failed-jobs trio (vspc_list_jobs, vspc_list_failed_jobs, vspc_failed_jobs_summary, plus vspc_list_agent_jobs), which overlap in purpose, though the descriptions explicitly cross-reference each other and explain the folding/aggregation differences, so an agent can select correctly.

    Naming Consistency4/5

    Strong, predictable vspc_verb_noun pattern (list_companies, get_company, start_job, retry_job, acknowledge_alarm, resolve_alarm). Minor deviations: vspc_about is a bare noun and vspc_failed_jobs_summary uses noun-phrase naming instead of verb-first, but the shared vspc_ prefix keeps the set readable.

    Tool Count4/5

    17 tools is slightly on the heavy side but each maps to a real domain object in VSPC (jobs, agent jobs, companies, servers, policies, protected VMs, licenses, alarms). The breadth justifies the count; nothing looks like a filler tool.

    Completeness3/5

    Read coverage is broad (companies, jobs, servers, policies, VMs, licenses, alarms) and there are some write actions (start_job, retry_job, acknowledge/resolve alarm). However, notable lifecycle gaps remain: no stop/cancel or disable/enable job, no create/update for agent backup policies or companies, no repository listing, and job control is only exposed for VBR servers, not Veeam Agent jobs.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Extends Veeam Intelligence to MCP-compatible clients, enabling secure, real-time operational insight across Veeam Backup & Replication, Veeam ONE, and VSPC via natural language or AI workflows.
      22
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      AI-powered Veeam Backup & Replication operations MCP server with tools for managing jobs, restores, sessions, and repositories, featuring built-in governance, audit logging, and safety controls.
      27
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Read-only MCP server for the Action1 RMM REST API, enabling access to endpoints, missing updates, vulnerabilities, installed software, policies, automations, and reports.
      21
      Apache 2.0