Skip to content

Commit 3b5b8d1

Browse files
authored
Merge pull request #120 from dgageot/add-pulumi
Add pulumi
2 parents bfb3088 + ad85531 commit 3b5b8d1

File tree

3 files changed

+125
-0
lines changed

3 files changed

+125
-0
lines changed

prompts/catalog.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,3 +1988,17 @@ registry:
19881988
properties:
19891989
url:
19901990
type: string
1991+
pulumi:
1992+
description: Pulumi MCP Server
1993+
ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/pulumi.md
1994+
readme: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/mcp/readmes/pulumi.md
1995+
source: https://github.com/pulumi/mcp-server/tree/main
1996+
icon: https://avatars.githubusercontent.com/u/21992475?s=200&v=4
1997+
tools:
1998+
- name: pulumi-cli-preview
1999+
- name: pulumi-cli-stack-output
2000+
- name: pulumi-cli-up
2001+
- name: pulumi-registry-get-resource
2002+
- name: pulumi-registry-list-resources
2003+
prompts: 0
2004+
resources: {}

prompts/mcp/pulumi.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
mcp:
3+
- container:
4+
image: mcp/pulumi:latest
5+
source:
6+
url: https://github.com/pulumi/mcp-server/tree/main
7+
---

prompts/mcp/readmes/pulumi.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
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

Comments
 (0)