How CloudBolt’s MCP server keeps AI agents inside your guardrails
By now, most of us have watched an AI agent spin up a VM from a chat window. It’s a cool demo, but what platform engineers actually worry about is what else that agent could have done with the same access.
An agent that can provision a server can usually resize it, reconfigure it, migrate it, and delete it too. If the only thing keeping that agent out of production is how carefully someone worded a prompt, the agent can do anything its credentials allow.
So we recorded a short session of an agent ordering servers through CloudBolt’s MCP server. In this setup, the platform decides everything the agent is allowed to do before the conversation even starts.
What happened in the session
The whole thing took a few minutes and ran entirely in a chat window.
It started from the same access the user already had
The agent signed in over OAuth as a specific named user, so it could only see and do what that person already can in CloudBolt. When the user asked what was available, it pulled up the same service catalog people order from in the portal, not raw cloud APIs. We covered how that connection works in Manage your cloud infrastructure through MCP. This post picks up with what the platform did from there.
The order form set the limits
The agent worked through a server blueprint the same way a person fills out an order form. It picked a group and an environment, then answered the questions the form asked. A lot of the choices weren’t the agent’s to make.
- The OS build had exactly two options, because that’s all the administrator enabled for that environment.
- Cluster, datastore, resource pool, network, and cost center were already filled in by policy. The agent didn’t pick them and couldn’t have changed them.
- Expiration was a required field with a hard maximum. Every VM in this flow comes with an end date, so there was no way to build something that runs forever.
None of this depends on the model behaving well. The platform spells out its own rules, and the agent has to follow them. Use a different model, chat client, or agent framework, and the rules stay exactly where they are.
Before submitting, the agent also read back the full order and waited for the user to say go. That step came from the AI client, and most clients do it. It’s a nice extra, but the platform rules above hold whether the client asks or not.
It built three servers
After the first order, the user asked the agent to do it twice more. The three orders ran in parallel and took about two and a half minutes each. Hostnames and IPs came from the same pools any other order draws from, and each order left behind the same job records and order history as an order placed in the portal. As far as CloudBolt is concerned, it was a portal order.
Every order traced back to the person behind it
CloudBolt groups everything an agent does into a session. When you open the session, you can see every MCP tool the agent called, starting with its reads of the catalog, and every order it submitted. All of it is tied to the user the agent was acting for. If one person’s Claude session spins up a hundred resources, you can trace each one back to that session, that person, and the endpoint the request came through.
It couldn’t delete what it built
Then the user asked the agent to delete one of the new servers. The agent listed what it could do to that VM, which was power, snapshot, resize, add or remove a disk, run a script, and migrate. Delete wasn’t on the list, because an administrator had turned off the Delete Server action for MCP. Every action in CloudBolt has its own AI and MCP setting, and this one was set to hide the action from agents completely. The agent could see that Delete exists in the CloudBolt portal and pointed the user there, but it had no way to run it.
That applies to every agent, every session, and every model. A later message can’t talk the agent out of it, and it doesn’t matter which AI vendor is on the other end. In this environment, deleting a server takes a person.
When a model declines to do something, it’s making a judgment call, and a judgment call can be argued with. Someone can reframe the request, role-play around it, or wear the model down over a long conversation. An action the platform never exposed gives them nothing to work with, because no prompt can surface a tool the agent was never given.
Delete is still in the portal for the people who are supposed to have it. Agents just never see it.
Why agents should inherit the controls you already have
Platform teams are being asked to give conversational access to environments where a mistake can cost money, break a compliance boundary, or take down something customers rely on. These are the same teams that spent years putting quotas, approval chains, cost center attribution, expiration policies, environment RBAC, and curated catalogs in place. Each of those exists because something went wrong at some point. An agent that skips all of it and calls cloud APIs directly undoes that work.
When agents run on top of a management platform, they inherit those controls instead of going around them. A rule set in the platform applies to everyone who uses the platform. That includes the portal, the API, the CLI, the ITSM integration, and now the agent. When a support team at a large retailer put CloudBolt’s MCP server behind a Slack assistant, a resize that went over quota failed like any other order, and the attempt showed up in the audit trail.
For now, agents in most places should be able to do less than people can. In CloudBolt, every action has its own AI and MCP controls, so an administrator decides action by action what agents can see and run. Anything with real consequences can stay with people while the routine work opens up to agents. You don’t have to choose between exposing everything and exposing nothing, and you don’t have to write policy into a system prompt and hope it holds.
We think about this in three tiers. The first tier is read. Nearly every agent should be able to see what exists. The second tier is write, where the agent builds and changes things, and that’s where you put gates. The third tier is approval, where a person signs off, and that’s where the riskiest actions belong. Hiding Delete Server from agents is one way to keep an action in that third tier. As a team gets more comfortable, actions can move down a tier, and work that used to wait on a person gets approved automatically. Automation has always matured this way, and agents will too.
This also means you don’t have to rework your controls to start using agents. If your catalog is curated, your agents order from a curated catalog. If your environments are scoped by RBAC, your agents are scoped the same way. If every dev VM has to expire within two weeks, that’s true no matter who or what placed the order.
Agents are the next interface for self-service IT
Self-service IT started with a simple idea. Give people a governed way to get what they need, and they’ll stop going around you.
Agents are the same idea with a new interface. Someone describes what they want the way they’d ask a colleague, and the platform decides what’s allowed, what needs approval, what it costs, who’s accountable, and when it expires.
Who’s accountable is still a person. Right now it works a lot like self-driving cars. When the car makes a decision, the driver is still responsible, so the driver has to pay attention. Agents work the same way. The person who decided the work should happen is the one the record should point to, and that’s who CloudBolt ties each request back to.
Want to try this against your own catalog? The MCP server is included in the CloudBolt CMP free edition. Start free.
Related Blogs
Cloud Governance Guide: Framework, Models & Best Practices
Cloud governance decides how your organization uses the cloud. Who can create resources, where they can run, what they have…