How to add Pulumi MCP Server to Claude Desktop
Give agents Pulumi powers: browse the provider registry, preview and deploy stacks, and search deployed resources. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.
Last updated June 14, 2026 ยท 0โ ยท stdio ยท apikey ยท official
Claude Desktop config for Pulumi MCP Server
npx @pulumi/mcp-server@latest stdio{
"mcpServers": {
"pulumi-mcp-server": {
"command": "npx",
"args": [
"@pulumi/mcp-server@latest",
"stdio"
]
}
}
}Setup steps
- 1Open Claude Desktop โ Settings โ Developer โ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
- 2Paste the Pulumi MCP Server config below under the top-level "mcpServers" key.
- 3Fill in any placeholder secrets (API keys, paths) in the snippet.
- 4Save the file, then fully quit and reopen Claude Desktop.
- 5Open a chat and confirm Pulumi MCP Server's tools appear under the ๐ tools menu.
Before you start
- Pulumi CLI installed on the client machine (required for preview/up/refresh operations)
- Node.js with npx, or Docker for the containerized mode
- A Pulumi access token (app.pulumi.com/account/tokens) for Docker mode and the hosted endpoint; registry tools work without credentials
What Pulumi MCP Server can do in Claude Desktop
pulumi-registry-list-resourcesBrowse available cloud resources across providers.
pulumi-registry-list-functionsExplore available provider functions.
pulumi-registry-get-resourceGet code examples and documentation for a specific resource.
pulumi-registry-get-functionGet provider function examples for your Pulumi program.
pulumi-registry-get-typeGet schema definitions for complex resource properties and types.
pulumi-cli-previewPreview infrastructure changes before deployment.
pulumi-cli-upDeploy infrastructure changes, creating and updating resources.
pulumi-cli-stack-outputRetrieve stack outputs like URLs and resource IDs.
Security
pulumi-cli-up deploys real infrastructure with your Pulumi credentials โ keep previews auto-approved at most, and gate up/refresh behind human review. Tokens: the Docker mode takes PULUMI_ACCESS_TOKEN as an env var, and the hosted endpoint authenticates with a Pulumi access token from app.pulumi.com/account/tokens.
Pulumi MCP Server + Claude Desktop FAQ
Where is the Claude Desktop config file?
Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the Pulumi MCP Server config there under the "mcpServers" key and restart the client.
Is Pulumi MCP Server safe to use with Claude Desktop?
pulumi-cli-up deploys real infrastructure with your Pulumi credentials โ keep previews auto-approved at most, and gate up/refresh behind human review. Tokens: the Docker mode takes PULUMI_ACCESS_TOKEN as an env var, and the hosted endpoint authenticates with a Pulumi access token from app.pulumi.com/account/tokens.
Is the Pulumi MCP server safe to let an agent use?
Registry and preview tools are read-only and low-risk; pulumi-cli-up and refresh change real cloud infrastructure using your Pulumi credentials, so keep them behind manual approval. The server itself is official Pulumi software distributed via npm and Docker.
Where did the GitHub repo go?
pulumi/mcp-server now returns 404 โ the code moved as Pulumi consolidated repos. The npm package @pulumi/mcp-server is still actively published by Pulumi, and the docs page at pulumi.com/docs/iac/using-pulumi/mcp-server is the maintained reference.
Local stdio or hosted endpoint โ which should I use?
Use local stdio (npx @pulumi/mcp-server@latest stdio) when the agent needs your local project files and CLI login for preview/up. Use the hosted https://mcp.ai.pulumi.com/mcp endpoint for registry, resource search, and Neo features from HTTP-capable clients, authenticating with a Pulumi access token.