VCF Operations MPB MCP Automates Management Pack Builds for Orchestrator and Veeam
By Mayank Goyal 463 views
The MCP server builds, tests and installs MPB designs through an AI client, with lab examples for VCF Orchestrator and Veeam.

Building a VCF Operations management pack can mean configuring many small pieces: API requests, object types, relationships, metrics and events. The community tool vcf-ops-mpb-mcp gives an AI client access to Management Pack Builder (MPB) operations, from design through installation. Its creator used it to build and install packs for VCF Orchestrator and Veeam Backup & Replication in a lab.

The tool targets a gap in VCF Operations 9.1.1. MPB includes an AI Assistant, but that assistant connects to Gemini or VCF Private AI. The MCP server instead works with any AI tool that supports the Model Context Protocol, including Claude Desktop, VS Code with GitHub Copilot and Cursor. The examples were created using Claude Desktop on Windows, but the MCP interface isn’t limited to that client.
What the MCP can do
The server exposes tools for checking an MPB connection, listing and inspecting designs, finding collectors and testing regular expressions. It can also create designs, configure sources, add or remove design items, and import designs. Testing tools run source checks and requests, preview collection results and verify a design. For deployment, the MCP can install a design, check installation status, export it or use a lower-level API call.
Some of its work handles details that are easy to miss when building through the UI. It saves the source test response into the design, which MPB needs before requests can be mapped. It can look up collector IDs and handle the two-step login pattern used by some APIs. Design exports are saved as JSON, allowing teams to keep designs in Git and rebuild them on another VCF Operations instance.

There are safeguards for changes to the Operations environment. Setting MPB_READ_ONLY=true removes tools that modify VCF Operations. Delete and install operations return a dry run unless the agent supplies confirm: true. Installation also requires the design to be marked VALID, since MPB can otherwise report success without installing anything.
Setup and API caveat
The tested setup used VCF Operations 9.1.1, VCF Operations Orchestrator 9.1.1 embedded in VCF Automation, Veeam Backup & Replication 13.1.2.57 Community Edition, and vcf-ops-mpb-mcp 1.0.3. The MCP requires Node.js 18.17 or later and an account with the Management Pack Builder privilege on VCF Operations 9.x.
It can be run with npx -y vcf-ops-mpb-mcp or installed globally with npm install -g vcf-ops-mpb-mcp. The MCP client configuration needs the Operations host, username and password. For Claude Desktop, those values go in claude_desktop_config.json; Claude Code can register the server with a single claude mcp add command. After restarting the client, an administrator can ask it to check the MPB connection and confirm that designs and collectors are visible.

The implementation uses /suite-api/internal/mpbuilder/*, an undocumented internal VCF Operations API. The author warns that it can change between releases and isn’t covered by Broadcom support. That makes a tested, pinned VCF Operations build important: the suggested use is in labs and for community packs. API secrets can be kept out of chat by using environment variables named MPB_CRED_<LABEL>, such as MPB_CRED_API_TOKEN for a credential labelled api_token.
Pack for VCF Orchestrator
The first design monitors Orchestrator embedded in VCF Automation 9.1. Its source connects to the VCF Automation gateway, with the organization and API token entered when an account is added. The requested inventory covers the server, cluster nodes, plug-ins, workflows and recent workflow runs.
The pack reads server details and health, including version, build, service health and whether a restart is pending. Node objects report state and heap usage. Plug-in objects include name, version and enabled status; the lab contained 22 plug-ins. Workflow inventory came from vro/workflows?size=5000. The lab results differed slightly across the reported views: the design table lists 1,236 workflows, while a screenshot caption describes 1,121. The runs request, vro/runs, collects the latest 50 runs with state and start and end times.

Relationships place the discovered objects beneath the server and associate each run with its workflow by workflow ID. That structure lets an administrator navigate from a workflow to its recent runs in Inventory. The pack also defines alerts for failed runs, unhealthy service, pending restart, runs stuck waiting, high node heap use, nodes that aren’t running, and the presence of failed runs. The alert definitions were added through the Suite API; they must also be enabled in a policy before they trigger.

Workflow logs become Operations events
For each collected run, a chained request reads vro/runs/${runId}/logs and converts log lines into VCF Operations events on the Workflow Run object. Errors map to CRITICAL, warnings to WARNING and informational entries to INFO. The event message keeps only the first line of each entry, using the regular expression ^([^\n]*). This avoids sending execution stacks, inputs and tokens into Operations.
Administrators can inspect those entries in the Troubleshooting Workbench under Alerts → Events, without opening Orchestrator to review the run log. The account’s minimum event severity defaults to Warning, which filters out ordinary System.log entries. Lowering that setting to Info collects those lines as well.

Pack for Veeam Backup & Replication
The second design targets Veeam Backup & Replication 13.1. The AI client read the server’s /swagger/v1.3-rev1/swagger.json schema before creating requests. The source uses port 9419, obtains a token through password authentication at api/oauth2/token, sends x-api-version: 1.3-rev1, and includes the Bearer token on subsequent requests. Its test request calls api/v1/serverInfo.
The design defines seven object types: Backup Server, Repository, Proxy, Backup, Backup Job, Job Session and Protected Workload. Ten relationships connect them, including Repository to Backup, Job to Session and Job to Backup. Seven alert definitions cover conditions such as a failed or warning job, a failed session, a repository with less than 20 GB free, an offline repository, a failed latest protected-workload run and an invalid licence.
The account supplies the Veeam username and password at setup. The login body references those credential fields, keeping the password out of the design itself. There is a significant limit for Community Edition: the tested REST API returned HTTP 400 with “License restrictions apply.” for jobs, sessions, repositories, proxies, managed servers, backup objects and restore points. Server information, licence details and backups were available. The pack installed, but the restricted object types remained empty until the server had a paid licence. Backup Server and Backup objects were verified in the collection preview.


MPB 9.1.1 behaviours to account for
Several MPB quirks took time to work around. A source needs a global Content-Type header; without one, requests fail with “Could not run action”. MPB also stores ampersands as & and converts line breaks to spaces. The UI and collector decode this stored text, but a raw API test can send it as-is. For Veeam, that malformed the login body and led to a “Value cannot be null (Parameter ‘key’)” response. Version 1.0.3 of the MCP decodes the text before testing.
Credential handling needs care. Saving a source through the API with a masked password such as ******* can clear the stored value. A password supplied with a test job may also be ignored, causing MPB to send the credential label instead. The documented workaround is to enter the password in the MPB UI once and avoid saving the source again afterwards.
MPB also applies different creation rules to design items. Requests need an ID when created; objects, relationships and events must be created without one. Events require an empty first save followed by a second save to populate them. To relate every object to one server object, the design can map both sides to the constant expression ^().
Collection previews may show zero objects when an API request is blocked by licensing or permissions, without displaying the underlying error. Running the request separately with mpb_run_request reveals the response. Exports also need handling: the endpoint returns a ZIP, which the MCP unpacks into design JSON with credential values removed.
Using the designs
The MCP, documentation and both example designs are available from the GitHub project, which uses the MIT licence. The package is also listed on npm; the example designs cover VCF Orchestrator and Veeam, and the changelog records project updates. Import a design with the MCP or MPB’s import feature, then create an account and enter environment-specific credentials.
Both packs were tested in individual labs and are early versions, not production-validated designs. For administrators, the immediate value is a faster path from API schema to a working MPB design, with preview and verification available through chat. Before adopting either pack, check the API permissions and licence limits in your environment, validate collection results, and review alert definitions and thresholds against local operating needs.