|
| 1 | +# Pulumi MCP Server |
| 2 | + |
| 3 | +Pulumi MCP Server |
| 4 | + |
| 5 | +[What is an MCP Server?](https://www.anthropic.com/news/model-context-protocol) |
| 6 | + |
| 7 | +## Characteristics |
| 8 | +Attribute|Details| |
| 9 | +|-|-| |
| 10 | +**Image Source**|Official Image |
| 11 | +|**Author**|[pulumi](https://github.com/pulumi) |
| 12 | +**Repository**|https://github.com/pulumi/mcp-server |
| 13 | +**Dockerfile**|https://github.com/pulumi/mcp-server/blob/main/Dockerfile |
| 14 | +**Docker Image built by**|Docker Inc. |
| 15 | +**Licence**|Apache License 2.0 |
| 16 | + |
| 17 | +## Available Tools |
| 18 | +Tools provided by this Server|Short Description |
| 19 | +-|- |
| 20 | +`pulumi-cli-preview`|Run pulumi preview for a given project and stack| |
| 21 | +`pulumi-cli-stack-output`|Get the output value(s) of a given stack| |
| 22 | +`pulumi-cli-up`|Run pulumi up for a given project and stack| |
| 23 | +`pulumi-registry-get-resource`|Get information about a specific resource from the Pulumi Registry| |
| 24 | +`pulumi-registry-list-resources`|List all resource types for a given provider and module| |
| 25 | + |
| 26 | +--- |
| 27 | +## Tools Details |
| 28 | + |
| 29 | +#### Tool: `pulumi-cli-preview` |
| 30 | +|Description| |
| 31 | +|-| |
| 32 | +|Run pulumi preview for a given project and stack| |
| 33 | + |
| 34 | +Parameters|Type|Description |
| 35 | +-|-|- |
| 36 | +`workDir`|`string`|The working directory of the program. |
| 37 | +`stackName`|`string` *optional*|The associated stack name. Defaults to 'dev'. |
| 38 | + |
| 39 | +--- |
| 40 | +#### Tool: `pulumi-cli-stack-output` |
| 41 | +|Description| |
| 42 | +|-| |
| 43 | +|Get the output value(s) of a given stack| |
| 44 | + |
| 45 | +Parameters|Type|Description |
| 46 | +-|-|- |
| 47 | +`workDir`|`string`|The working directory of the program. |
| 48 | +`outputName`|`string` *optional*|The specific stack output name to retrieve. |
| 49 | +`stackName`|`string` *optional*|The associated stack name. Defaults to 'dev'. |
| 50 | + |
| 51 | +--- |
| 52 | +#### Tool: `pulumi-cli-up` |
| 53 | +|Description| |
| 54 | +|-| |
| 55 | +|Run pulumi up for a given project and stack| |
| 56 | + |
| 57 | +Parameters|Type|Description |
| 58 | +-|-|- |
| 59 | +`workDir`|`string`|The working directory of the program. |
| 60 | +`stackName`|`string` *optional*|The associated stack name. Defaults to 'dev'. |
| 61 | + |
| 62 | +--- |
| 63 | +#### Tool: `pulumi-registry-get-resource` |
| 64 | +|Description| |
| 65 | +|-| |
| 66 | +|Get information about a specific resource from the Pulumi Registry| |
| 67 | + |
| 68 | +Parameters|Type|Description |
| 69 | +-|-|- |
| 70 | +`provider`|`string`|The cloud provider (e.g., 'aws', 'azure', 'gcp', 'random') or github.com/org/repo for Git-hosted components |
| 71 | +`resource`|`string`|The resource type to query (e.g., 'Bucket', 'Function', 'Instance') |
| 72 | +`module`|`string` *optional*|The module to query (e.g., 's3', 'ec2', 'lambda'). Optional for smaller providers, will be 'index by default. |
| 73 | + |
| 74 | +--- |
| 75 | +#### Tool: `pulumi-registry-list-resources` |
| 76 | +|Description| |
| 77 | +|-| |
| 78 | +|List all resource types for a given provider and module| |
| 79 | + |
| 80 | +Parameters|Type|Description |
| 81 | +-|-|- |
| 82 | +`provider`|`string`|The cloud provider (e.g., 'aws', 'azure', 'gcp', 'random') or github.com/org/repo for Git-hosted components |
| 83 | +`module`|`string` *optional*|Optional module to filter by (e.g., 's3', 'ec2', 'lambda') |
| 84 | + |
| 85 | +--- |
| 86 | +## Use this MCP Server |
| 87 | + |
| 88 | +```json |
| 89 | +{ |
| 90 | + "mcpServers": { |
| 91 | + "pulumi": { |
| 92 | + "command": "docker", |
| 93 | + "args": [ |
| 94 | + "run", |
| 95 | + "-i", |
| 96 | + "--rm", |
| 97 | + "mcp/pulumi" |
| 98 | + ] |
| 99 | + } |
| 100 | + } |
| 101 | +} |
| 102 | +``` |
| 103 | + |
| 104 | +[Why is it safer to run MCP Servers with Docker?](https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/) |
0 commit comments