LL

localstack/localstack-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

29 stars 14 forks 质量 88 趋势 31Apache-2.0

本地堆栈的MCP服务器

概览

LocalStack MCP 服务器目前作为实验性公开预览版提供。如有问题、问题或反馈,请使用 LocalStack 社区 slack 或提交 GitHub 问题 LocalStack 在你的本地机器上模拟云端,使软件团队和 AI 代理能够比云端更快、更安全地验证安全性、质量和可靠性。这款模型上下文协议(MCP)服务器允许任何 MCP 客户端(Cursor、Claude、VS Code 等)启动 LocalStack,部署基础设施,并用自然语言调试本地云。 在你的MCP客户端中使用交互向导设置服务器: 向导检测你已安装的客户端,询问你想如何运行服务器,并为你编写配置。你需要一个 LocalStack 认证令牌;向导会从你的环境中读取LOCALSTACK_AUTH_TOKEN或请求提供。有关完整选项、前提条件和手动设置,请参见安装。

概述(AI 翻译)

让AI代理在你的机器上管理和与LocalStack交互。

[!重要] LocalStack MCP 服务器目前作为实验性公开预览版提供。如有疑问、问题或反馈,请使用 LocalStack 社区 slack 或提交 GitHub 问题

LocalStack 在你的本地机器上模拟云端,使软件团队和 AI 代理能够比云端更快、更安全地验证安全性、质量和可靠性。这款模型上下文协议(MCP)服务器允许任何 MCP 客户端(Cursor、Claude、VS Code 等)启动 LocalStack,部署基础设施,并用自然语言调试本地云。

快速开始

在你的MCP客户端中使用交互向导设置服务器:

向导检测你已安装的客户端,询问你想如何运行服务器,并为你编写配置。你需要一个 LocalStack 认证令牌;向导会从你的环境中读取 LOCALSTACK_AUTH_TOKEN 或请求提供。有关完整选项、前提条件和手动设置,请参见安装。

你可以问你的经纪人什么

服务器配置完成后,通过你的代理用自然语言与LocalStack通信:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

[!IMPORTANT] The LocalStack MCP server is currently available as an experimental public preview. For questions, issues or feedback, please utilize the LocalStack Community slack or submit a GitHub Issue

LocalStack emulates the cloud on your local machine so software teams and AI agents can validate security, quality, and reliability faster and more safely than the cloud allows. This Model Context Protocol (MCP) server lets any MCP client (Cursor, Claude, VS Code, and more) start LocalStack, deploy infrastructure, and debug your local cloud in natural language.

Quick start

Set up the server in your MCP client with the interactive wizard:

npx -y @localstack/localstack-mcp-server init

The wizard detects your installed clients, asks how you want to run the server, and writes the configuration for you. You need a LocalStack Auth Token; the wizard reads LOCALSTACK_AUTH_TOKEN from your environment or asks for it. For the full options, prerequisites, and manual setup, see Installation.

What you can ask your agent

Once the server is configured, talk to LocalStack through your agent in natural language:

  • “Start LocalStack and deploy the Terraform project in ./infra, then tell me which resources came up.”
  • “My Lambda calls are failing. Read the LocalStack logs, find the permission errors, and generate an IAM policy that fixes them.”
  • “Inject 500ms of latency into DynamoDB and confirm my retry logic still works.”
  • “Search the LocalStack docs for how to enable S3 event notifications and summarize the steps.”
  • “Start the LocalStack Azure emulator, create a resource group and a storage account, and upload ./data/sample.csv to a new blob container.”

How it works

The server connects MCP-compatible apps directly to your local LocalStack environment and its emulated AWS services, so your assistant can operate the stack securely without custom scripts or manual setup.

This server eliminates custom scripts and manual LocalStack management. Your agent can:

  • Start, stop, restart, and monitor the LocalStack for AWS, Snowflake and Azure emulators with built-in auth.
  • Deploy CDK, Terraform, and SAM projects with automatic configuration detection.
在 GitHub 查看完整 README

安装

npx -y @localstack/localstack-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "localstack": { "command": "npx", "args": ["-y", "@localstack/localstack-mcp-server"], "env": { "LOCALSTACK_AUTH_TOKEN": "<YOUR_TOKEN>" } } } }