- STATUS
- CHANGES
- ERRORS
- HUMAN
Short answer
How can I audit my Pulumi deployments with AI?
Your agent uses the Pulumi MCP to fetch recent stack updates and specific deployment data. You can ask it to identify failed runs or summarize resource changes. This allows you to skip the CLI and get direct answers about your infrastructure state.
The audit outcomes.
What you'll find.
The AI pulls the raw data so you can get straight to the answers.
STATUS
Deployment health
The agent checks recent stack activity to show you which updates succeeded or failed. You'll see a clear list of recent deployment statuses.
CHANGES
Resource diffs
Ask for the specifics of a run to see exactly which resources were modified. The AI identifies the changes made during a specific update.
ERRORS
Failure analysis
When a deployment fails, your agent can pull the specific details for that event. This helps you pinpoint why a stack update didn't complete.
HUMAN
Manual fixes
The AI can read the history but cannot change your infrastructure. You'll need to handle any code fixes or new deployments yourself.
The workflow
What your AI does when the request arrives.
Your agent acts as the interface between your questions and the Pulumi API.
Scan stack history
The agent looks through your Pulumi account to find recent deployment events.
list_deploymentsRetrieve deployment data
The agent pulls the full details for a specific stack update you've identified.
get_deploymentIdentify resource changes
The agent examines the deployment details to see what resources were affected.
get_deploymentSummarize results
The agent takes the technical deployment data and explains it in plain English.
list_deployments
Try it
Copy these to start.
Use these prompts to begin your audit.
Starting points
These are opening lines. Swap out the stack names for your actual Pulumi stack names.
Pulumi Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_v2N5nlYKKcBMg7t6tvswP5zOuY1KsfB14QgLHciO/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Pulumi capabilities are ready to use.
{
"mcpServers": {
"pulumi-mcp": {
"url": "https://edge.vinkius.com/vk_preview_v2N5nlYKKcBMg7t6tvswP5zOuY1KsfB14QgLHciO/mcp"
}
}
}Show me the last five deployments for the production stack.
What happened during the most recent deployment in the staging stack?
List all recent deployments for my dev stack and tell me if any failed.
Get the details for deployment ID 'abc-123' and summarize the resource changes.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Pulumi once, then ask.
Connect your Pulumi account with one click. Your credentials stay encrypted on our side, and you can immediately start querying your stacks through your agent.
Connect Pulumi to your AIFAQ
How this task behaves.
- 01
Can the AI trigger a new deployment?
No. The AI can only read deployment history and status. You must use the Pulumi CLI or console to run new deployments.
- 02
Can the AI modify my infrastructure?
No. The tools provided only allow the AI to read deployment data. It cannot change, delete, or create resources.
- 03
How does the AI know which stack to look at?
You specify the stack name in your prompt, and the agent uses that to find the right history.
- 04
Can I see the resource changes for a specific run?
Yes. The agent can pull the details for a specific deployment to show you what changed.
- 05
Does this work with Cursor or Claude?
Yes. This MCP works with any compatible client, including Claude, Cursor, and Windsurf.
More questions about Pulumi? See everything the Pulumi Connector can do
Connect Pulumi to Claude, Cursor, ChatGPT & more
