==================
/// MCP ///
/// PUL ///
==================
[server:online]
[protocol:ready]pulumi/mcp-server
by pulumi
Node/TypeScript implementation of an MCP server that wraps Pulumi Automation & Cloud APIs. Exposes Pulumi preview/up/stack-output and helper tooling over stdio or SSE for AI agents such as Claude Code/Desktop.
preview
Runs `pulumi preview` on a specified stack to show the changes that would be applied.
up
Runs `pulumi up` to deploy changes for a specified stack.
stack-output
Retrieves outputs from a specified stack after a successful deployment, returning either a single output or all outputs.
get-resource
Returns detailed information about a specific Pulumi Registry resource, including its inputs and outputs.
list-resources
Lists available resources within a Pulumi provider package, optionally filtered by module.
deploy-to-aws
Analyzes the current project and automatically generates and deploys Pulumi infrastructure code to AWS, provisioning the necessary resources.
Installation
git clone https://github.com/pulumi/mcp-server.git
cd mcp-server npm install # or: yarn install | pnpm install npm run build # compiles to ./dist export MCP_PORT=8080
export MCP_STATE_BACKEND=file://$(pwd)/state
export PULUMI_ACCESS_TOKEN=xxxxxx npm start # runs `node dist/index.js` curl http://localhost:8080/healthz docker build -t pulumi/mcp-server .
docker run -p 8080:8080 -e PULUMI_ACCESS_TOKEN=$PULUMI_ACCESS_TOKEN pulumi/mcp-server