VM

venelinmartinov/mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

0 stars 11 forks 품질 61 트렌드 0Apache-2.0

This MCP server is currently under active development. Its API (including available commands and their arguments) is experimental and may introduce breaking changes without notice.

개요

This MCP server is currently under active development. Its API (including available commands and their arguments) is experimental and may introduce breaking changes without notice. Please file an issue on GitHub if you encounter bugs or need support for additional Pulumi commands. 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. The Pulumi CLI has to be installed on you machine. This package is primarily intended to be integrated into applications that can use MCP servers as AI tools.

README

원문 README의 일부입니다. 원문 보기.

Pulumi MCP Server

Note: This MCP server is currently under active development. Its API (including available commands and their arguments) is experimental and may introduce breaking changes without notice. Please file an issue on GitHub if you encounter bugs or need support for additional Pulumi commands.

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 has to be installed on you machine.

This package is primarily intended to be integrated into applications that can use MCP servers as AI tools. For example, here is how you can include Pulumi MCP Server in Claude desktop’s MCP configuration file:

{
  "mcpServers": {
    "pulumi": {
      "command": "npx",
      "args": ["@pulumi/mcp-server"]
    }
  }
}

Available Commands

The server exposes handlers for the following Pulumi operations, callable via MCP requests:

  • preview: Runs pulumi preview on a specified stack.
    • workDir (string, required): The working directory containing the Pulumi.yaml project file.
    • stackName (string, optional): The stack name to operate on (defaults to ‘dev’).
  • up: Runs pulumi up to deploy changes for a specified stack.
    • workDir (string, required): The working directory containing the Pulumi.yaml project file.
    • stackName (string, optional): The stack name to operate on (defaults to ‘dev’).
  • stack-output: Retrieves outputs from a specified stack after a successful deployment.
    • workDir (string, required): The working directory containing the Pulumi.yaml project file.
    • stackName (string, optional): The stack name to retrieve outputs from (defaults to ‘dev’).
    • outputName (string, optional): The specific stack output name to retrieve. If omitted, all outputs for the stack are returned.
  • getResource: Returns information about a specific Pulumi Registry resource, including its inputs and outputs.
    • provider (string, required): The cloud provider (e.g., ‘aws’, ‘azure’, ‘gcp’, ‘random’) or github.com/org/repo for Git-hosted components.
    • module (string, optional): The module to query (e.g., ‘s3’, ‘ec2’, ‘lambda’).
    • resource (string, required): The resource type name (e.g., ‘Bucket’, ‘Function’, ‘Instance’).
  • listResources: Lists available resources within a Pulumi provider package, optionally filtered by module.
    • provider (string, required): The cloud provider (e.g., ‘aws’, ‘azure’, ‘gcp’, ‘random’) or github.com/org/repo for Git-hosted components.
GitHub에서 전체 README 보기

설치

npx @pulumi/mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "pulumi": { "command": "npx", "args": ["@pulumi/mcp-server"] } } }