mcp-server
26
The Pulumi MCP Server provides an interface to interact with Pulumi CLI using the Model Context Protocol. It allows for programmatic Pulumi operations without direct CLI installation, offering integration capabilities with MCP clients and support for Docker deployment.
Pulumi MCP Server
A server implementing the Model Context Protocol (MCP) for interacting with Pulumi CLI using the Pulumi Automation API and Pulumi Cloud API. This package allows MCP clients to perform Pulumi operations like retrieving package information, previewing changes, deploying updates, and retrieving stack outputs programmatically without needing the Pulumi CLI installed directly in the client environment.
Usage
- The Pulumi CLI must be installed on your machine.
- To integrate, configure your MCP client with the server.
- Supports deployment as a Docker container.
Available Commands
- preview: Runs
pulumi preview
on a specified stack. - up: Deploys changes using
pulumi up
. - stack-output: Retrieves outputs from a stack.
- get-resource: Fetches information about a specific Pulumi Registry resource.
- list-resources: Lists resources within a Pulumi provider package.
Development
- Install dependencies with
make ensure
. - Build with
make build
. - Test with
make test
.
License
Licensed under the Apache-2.0 License.