Skip to content

Use your coding agent with Pulumi ​

Use Pulumi from Claude Code, Codex, Cursor, or another coding agent in your repository.

Set up Pulumi with your agent ​

Paste this prompt into your coding agent. The agent installs the Pulumi CLI and skills, asks what you want to build, and builds your first Pulumi project in your own cloud.

text
Fetch https://www.pulumi.com/onboard.md and follow its instructions to get me started with Pulumi.

Install Pulumi skills ​

Skills give your coding agent instructions for work such as writing components, managing secrets, and migrating Terraform projects. Install the skills for your coding agent, then ask it to use the relevant skill on your project.

Run Pulumi commands ​

Your coding agent needs the CLI to run a preview or another Pulumi command. See CLI for agents for installation options and commands to preview changes to your stack.

Look up cloud resources and schemas ​

Connect the MCP server when your coding agent needs to query stacks and resources in Pulumi Cloud or look up resource schemas in the Pulumi Registry. The setup guide includes configuration for each supported client.

The server also exposes a tool that can start tasks and send approvals. Review tool access and costs when choosing which tools to enable.

Content from the official Pulumi documentation (github.com/pulumi/docs).