vcf-ops-mpb-mcp: build VCF Operations management packs with Claude

vcf-ops-mpb-mcp is an MCP server that drives VCF Operations Management Pack Builder from any AI agent. I used it to build two complete packs, for VCF Orchestrator and Veeam Backup & Replication, plus the MPB 9.1.1 gotchas I hit.

Banner: a chat prompt goes to vcf-ops-mpb-mcp, which runs design, test, verify and install in Management Pack Builder and produces two packs, VCF Orchestrator and Veeam Backup & Replication
In this article

A quick note on the AI: I use Claude throughout this post, so wherever you read “Claude”, read “your AI assistant”. vcf-ops-mpb-mcp is a standard MCP server, so it works with any AI tool that supports MCP, such as Claude Desktop, VS Code with GitHub Copilot or Cursor.

VCF Operations 9.1.1 ships an AI Assistant inside Management Pack Builder (MPB), but it only talks to Gemini or VCF Private AI. I wanted to build management packs from the AI tool I already use every day, so I wrote vcf-ops-mpb-mcp, an MCP server that drives MPB end to end: design, source test, collection preview, verify, install and export. To see how far it goes, I then used it to build two packs from a chat window, one for VCF Orchestrator and one for Veeam Backup & Replication.

Tested on: VCF Operations 9.1.1, VCF Operations Orchestrator 9.1.1 embedded in VCF Automation, Veeam Backup & Replication 13.1.2.57 Community Edition, vcf-ops-mpb-mcp 1.0.3, Claude Desktop on Windows.

Unsupported API: MPB is driven through /suite-api/internal/mpbuilder/*, an internal VCF Operations API that is undocumented and can change between releases. Broadcom support does not cover it. Use it in labs and for community packs, and pin to a VCF Operations build you have tested.


What vcf-ops-mpb-mcp does

MPB lets you build a management pack for any REST API without writing an adapter: you describe the source, the requests, the objects and their metrics, the relationships and the events, and MPB generates and installs the pack. The UI is good, but a pack has a lot of small pieces, and clicking each of them in is slow. The MCP gives an AI agent the same building blocks as tools, so you describe what you want and the agent builds it.

GroupTools
Discovermpb_connection_status, mpb_list_designs, mpb_get_design, mpb_get_item, mpb_list_collectors, mpb_test_regex
Authormpb_create_design, mpb_set_source, mpb_upsert_item, mpb_delete_items, mpb_import_design
Testmpb_test_source, mpb_run_request, mpb_collection_preview, mpb_verify_design
Shipmpb_install, mpb_install_status, mpb_ship, mpb_export_design
Rawmpb_api_call for any MPB or Suite API call

A few things it does that the UI hides: it saves the source test response into the design (MPB needs that before requests can be mapped), it looks up collector ids for you, and it handles the two-step session login many APIs use. Designs export as JSON, so a pack can live in git and be rebuilt on another VCF Operations instance, or after an upgrade breaks an MPB-built pack.

Safety: MPB_READ_ONLY=true removes every tool that changes VCF Operations. Deletes and installs return a dry run unless the agent passes confirm: true. Install refuses a design that is not VALID, because MPB otherwise reports success and does nothing.

Setup

You need Node.js 18.17 or later and a VCF Operations 9.x account with the Management Pack Builder privilege. Run it with npx, or install it once:

npx -y vcf-ops-mpb-mcp          # run without installing
npm install -g vcf-ops-mpb-mcp  # or install the command

Then add it to your MCP client. For Claude Desktop, edit claude_desktop_config.json:

{
  "mcpServers": {
    "vcf-ops-mpb": {
      "command": "npx",
      "args": ["-y", "vcf-ops-mpb-mcp"],
      "env": {
        "VCFOPS_HOST": "ops.vmw.lab",
        "VCFOPS_USER": "admin",
        "VCFOPS_PASSWORD": "********",
        "VCFOPS_INSECURE_TLS": "true",
        "MPB_DESIGNS_DIR": "C:\\mpb-designs"
      }
    }
  }
}

For Claude Code it is one line:

claude mcp add vcf-ops-mpb -e VCFOPS_HOST=ops.vmw.lab -e VCFOPS_USER=admin -e VCFOPS_PASSWORD='********' -e VCFOPS_INSECURE_TLS=true -- npx -y vcf-ops-mpb-mcp

Restart the client, then ask “check my MPB connection”. If the agent lists your designs and collectors, you are ready. Keep API secrets out of the chat with MPB_CRED_<LABEL> variables, for example MPB_CRED_API_TOKEN for a credential labelled api_token.


Putting it to the test: two packs

A tool like this only proves itself on real APIs, so I tried building a few management packs with it from start to finish, entirely from the chat. I picked two very different sources: VCF Orchestrator, which is VMware’s own product with token login and a large workflow inventory, and Veeam Backup & Replication, a third-party product with OAuth login and its own API versioning. Here is what we built. Both packs are installed and collecting in my lab, but they are first versions: they were tested on one lab each, not in production, and there is plenty of room for more metrics, dashboards and better alert thresholds. Treat them as a starting point and improve them for your environment. If you do, please share your changes on GitHub so the whole community gets them.

Management Pack Builder designs list in VCF Operations showing the Veeam Backup and Replication and VCF Orchestrator designs, both Verified and Installed
Both designs in Management Pack Builder, verified and installed, built entirely through the MCP.
VCF Operations Integrations, Accounts tab: the VCF Orchestrator and Veeam Backup and Replication accounts, both in Collecting status
Both pack accounts under Administration → Integrations → Accounts, collecting from the lab.

Pack 1: VCF Orchestrator

The first pack monitors the Orchestrator embedded in VCF Automation 9.1. The source is the VCF Automation gateway with an org and an API token entered when you add the account. I asked Claude for a pack that shows the server, its nodes and plug-ins, every workflow and the latest workflow runs, and it built the requests from the Orchestrator REST API.

ObjectFromWhat you get
Orchestrator Serverabout, healthVersion, build, service health, restart pending
Nodecluster nodesState and heap usage per node
Plug-inplug-in listName, version, enabled (22 in my lab)
Workflowvro/workflows?size=5000Every workflow (1,236 in my lab)
Workflow Runvro/runsThe last 50 runs with state, start and end time

Relationships put everything under the server, and each run under its workflow (joined on the workflow id), so in Inventory you can click from a workflow straight to its recent runs.

Orchestrator Server object in VCF Operations with its child objects (node, 1121 workflows, 22 plug-ins, 10 runs), a Failed workflow runs present alert and server properties such as build number and health state
The Orchestrator Server object: (1) everything the pack discovers under it, here 1 node, 1,121 workflows, 22 plug-ins and the recent runs, (2) a live “Failed workflow runs present” alert, (3) server properties such as API version, build, health state and failed runs.
Orchestrator Node object in VCF Operations with CPU count, heap used and max, load average and node state
Each Orchestrator node with its runtime figures: CPU count, heap used and maximum, load average and node state. The “node heap high” and “node not running” alerts work on these.
A failed Workflow Run object in VCF Operations: run status FAILED, the error message, its parent Orchestrator server, and the active Workflow run failed alert
A failed workflow run: (1) run status, error message and parent server collected from Orchestrator, (2) the pack’s “Workflow run failed” alert on the run.

Workflow run logs as events

The part I like most: a chained request reads vro/runs/${runId}/logs for each run, and an MPB event turns every log line into a VCF Operations event on that Workflow Run. Errors become CRITICAL, warnings WARNING and info INFO. The event message keeps only the first line of each log entry (regex ^([^\n]*)), so execution stacks with inputs and tokens never reach VCF Operations. Open a failed run in the Troubleshooting Workbench, go to Alerts → Events, and its warnings and errors are there without opening Orchestrator. The account’s minimum event severity defaults to Warning, so plain System.log lines are filtered out; lower it to Info on the account if you want every line.

VCF Operations Workbench, Events tab for a failed workflow run: one Warning and three Critical Workflow Run Log events taken from the Orchestrator run log
The same failed run in the Workbench (Alerts → Events): its warning and error log lines arrive as Warning and Critical events.

Alerts

MPB events do not create alerts by themselves, so Claude added seven alert definitions through the Suite API: run failed, service unhealthy, restart pending, runs stuck waiting, node heap high, node not running and failed runs present.

VCF Operations Alerts page grouped by definition, showing three active "VCF Orchestrator - Workflow run failed" alerts raised by the vRO management pack
Operate → Alerts, grouped by definition: the pack’s “Workflow run failed” alert, raised once per failed run. The highlighted row is the test run from the events screenshot above.

Pack 2: Veeam Backup & Replication

For the second pack I pointed Claude at a Veeam Backup & Replication 13.1 server and asked for VM backup and restore monitoring. Claude read the server’s own /swagger/v1.3-rev1/swagger.json to get the exact schemas, then built the pack:

  • Source: port 9419, OAuth password login to api/oauth2/token, x-api-version: 1.3-rev1, Bearer token on every request, api/v1/serverInfo as the test request.
  • Objects: Backup Server, Repository, Proxy, Backup, Backup Job, Job Session and Protected Workload.
  • Relationships: ten in total, for example Repository → Backup, Job → Session and Job → Backup.
  • Alerts: seven, including job failed or warning, session failed, repository below 20 GB free, repository offline, last run of a protected workload failed and licence not valid.

The session login body uses the account’s credential fields, so the password is entered once when you add the account and never sits in the design:

grant_type=password&username=${authentication.credentials.vbr_user}&password=${authentication.credentials.vbr_password}

Community Edition limit: on the free Community Edition, the REST API returns 400 “License restrictions apply.” for jobs, sessions, repositories, proxies, managed servers, backup objects and restore points. Only server info, licence and backups answer. The pack is complete and installs fine, but those objects stay empty until the server runs a paid licence. Backup Server and Backup were verified live in the collection preview.

VCF Operations Inventory showing the Veeam Backup Server object with build 13.1.2.57, Community edition and a valid licence
The Veeam Backup Server object in VCF Operations, with properties collected through the REST API.
VCF Operations Inventory showing the Veeam Backup object Backup Job 1, with backup ID, job ID, job type VSphereBackup and platform VMware
The Backup created by the lab’s backup job, with its job ID, job type (VSphereBackup) and platform. On Community Edition this is the job-level view the API allows; the Backup Job and Job Session objects fill in on a licensed server.

Icons

Custom icons are not part of an MPB pack. Set them per VCF Operations instance in Administration → Control Panel → Icons → Object Type Icons and use Upload. Searching for “veeam” only lists types whose names contain Veeam; filter by Adapter Type instead to see every object type of the pack. A 256×256 PNG with a transparent background looks best.


VCF 9.1.2: native AI Assistant vs vcf-ops-mpb-mcp NEW

A week before this post went live, Broadcom announced that the VCF AI Assistant is generally available in VCF 9.1.2 (it was a Tech Preview in 9.1.1). Besides troubleshooting, log access and security checks, it can create management packs and content packs for third-party integrations through natural-language chat. That overlaps with what this MCP does, so here is how the two compare on paper. I have not tested the native assistant on 9.1.2 yet, and vcf-ops-mpb-mcp has not been tested on 9.1.2 either, so treat the table as a starting point, not a verdict.

VCF AI Assistant (native)vcf-ops-mpb-mcp
Tested by me⚠️ Not tested yet✅ VCF 9.1.1 (this post) · ⚠️ 9.1.2 not tested yet
StatusGA in VCF 9.1.2 (Tech Preview in 9.1.1), supported by BroadcomCommunity open source project; uses MPB’s internal, unsupported API
Where you chatInside the VCF Operations UIAny MCP client: Claude Desktop, Claude Code and others
LLMModels the assistant supports (in 9.1.1: Gemini or VCF Private AI Services)Whatever model your MCP client uses
LicensingPart of the VCF Operations extensions; check with your Broadcom account teamFree (npm and GitHub)
What it buildsManagement packs and content packsManagement packs (MPB designs); alert definitions added through the Suite API
Beyond pack buildingTroubleshooting, historical system and audit logs, security posture, VMSA exposure, certificate healthPack building only
Reuse and reviewNot tested yetDesigns exported as JSON, kept in Git, imported elsewhere
Works with other toolsNot tested yetRuns next to other MCPs in the same chat (I used the Orchestrator MCP to create test runs for Pack 1)
Guard railsNot tested yetRead-only mode; dry runs for deletes and installs
Comparison on paper, from Broadcom’s 9.1.2 announcement and my 9.1.1 lab. “Not tested yet” means I have not tried it.

My take for now: if you are on 9.1.2 and have the extension, try the native assistant first, since it is supported. The MCP still makes sense on 9.1.1, with a model of your choice, or when you want pack designs in Git next to your other automation.


Gotchas on MPB 9.1.1

Most of the time went into these. They are all handled in vcf-ops-mpb-mcp 1.0.3, but they matter if you use MPB’s API or UI directly.

  • Content-Type global header. Without a Content-Type global header on the source, every request fails with “Could not run action”.
  • Saved text is HTML-escaped. MPB stores & as &amp; and turns line breaks into spaces. The UI and the collector decode it again, but a raw API test sends the escaped text. For Veeam that meant a login body with &amp;username=, and Veeam answered “Value cannot be null (Parameter ‘key’)” because it saw no username. The MCP now decodes before testing.
  • Enter secrets in the MPB UI. Re-saving the source through the API with a masked “*******” value clears the stored password, and a password sent with a test job can be ignored, in which case MPB sends the credential’s label instead. Type the password once in the MPB UI and don’t re-save the source afterwards.
  • Create rules differ by section. Requests need an id on create; objects, relationships and events must not have one. Events must be created empty and then filled with a second save.
  • Constant relationships. To put every object under a single server object, map both sides to a constant with the regex ^() so they always match.
  • Alerts must be enabled in a policy. Alert definitions created through the Suite API are off until you enable them, for example with PUT /api/alertdefinitions/{id}/enable?policyId=….
  • Blocked requests are silent. If the API refuses a request (licence, permissions), the collection preview simply shows 0 objects. Run the request on its own with mpb_run_request to see the real error.
  • Export is a ZIP. The export endpoint returns a ZIP, not JSON. The MCP unpacks it and writes the design JSON with credential values removed.

Download from GitHub

The MCP, its documentation and both pack designs are on GitHub. Import a design with mpb_import_design or MPB’s own import, add the account, and enter your own credentials.

Wrapping up

Two packs, from REST API to installed pack with alerts, without clicking through MPB one field at a time. The agent did the repetitive work, and the hard parts were MPB’s own quirks, which are now handled in the MCP so you don’t have to find them again. Both packs are early versions that need more testing and improvement, and that is where the community comes in. If you build a pack with it, or improve one of these, open an issue or a pull request on GitHub, and tell me which API you pointed it at. For the Orchestrator side of my tooling, see vcf-orchestrator-mcp.


Discover more from Cloud Blogger

Subscribe to get the latest posts sent to your email.

Enjoyed this post?

Was this helpful?

One response to “vcf-ops-mpb-mcp: build VCF Operations management packs with Claude”

Leave a Reply