
LocalStack MCP Server
A Model Context Protocol (MCP) server for LocalStack that enables management of local AWS development environments, including container lifecycle operations, infrastructure deployments, log analysis with IAM policy generation, chaos injection, and Cloud Pods state management.
README
LocalStack MCP Server
A Model Context Protocol server that provides tools to manage your LocalStack container and other assorted related tasks, to simplify local cloud development and testing. The LocalStack MCP Server provides simplified integration between Model Context Protocol-compatible apps and your local AWS development environment, enabling secure and direct communication with LocalStack's assortment of various features.
This server eliminates custom scripts and manual LocalStack management with direct access to:
- Start, stop, restart, and monitor LocalStack container status with built-in auth.
- Deploy CDK and Terraform projects with automatic configuration detection.
- Parse logs, catch errors, and auto-generate IAM policies from violations.
- Inject chaos faults and network effects into LocalStack to test system resilience.
- Manage LocalStack state snapshots via Cloud Pods for development workflows.
- Connect AI assistants and dev tools for automated cloud testing workflows.
Tools Reference
This server provides your AI with dedicated tools for managing your LocalStack environment:
Tool Name | Description | Key Features |
---|---|---|
localstack-management |
Manages LocalStack container operations and settings | - Execute start, stop, restart, and status checks<br/>- Integrate LocalStack Pro authentication tokens<br/>- Inject custom environment variables<br/>- Verify real-time status and perform health monitoring |
localstack-deployer |
Handles infrastructure deployment to LocalStack environments | - Automatically run CDK and Terraform tooling to deploy infrastructure locally<br/>- Enable parameterized deployments with variable support<br/>- Process and present deployment results<br/>- Requires you to have cdklocal or tflocal installed in your system path |
localstack-logs-analysis |
Analyzes LocalStack logs for troubleshooting and insights | - Offer multiple analysis options including summaries, errors, requests, and raw data<br/>- Filter by specific services and operations<br/>- Generate API call metrics and failure breakdowns<br/>- Group errors intelligently and identify patterns |
localstack-iam-policy-analyzer |
Handles IAM policy management and violation remediation | - Set IAM enforcement levels including enforced , soft , and disabled modes<br/>- Search logs for permission-related violations<br/>- Generate IAM policies automatically from detected access failures<br/>- Requires a valid LocalStack Auth Token |
localstack-chaos-injector |
Injects and manages chaos engineering faults for system resilience testing | - Inject, add, remove, and clear service fault rules<br/>- Configure network latency effects<br/>- Comprehensive fault targeting by service, region, and operation<br/>- Built-in workflow guidance for chaos experiments |
localstack-cloud-pods |
Manages LocalStack state snapshots for development workflows | - Save current state as Cloud Pods<br/>- Load previously saved Cloud Pods instantly<br/>- Delete Cloud Pods or reset to a clean state<br/>- Requires a valid LocalStack Auth Token |
Installation
Editor | Installation |
---|---|
Cursor | |
For other MCP Clients, refer to the configuration guide. |
Prerequisites
- LocalStack CLI and Docker installed in your system path
cdklocal
ortflocal
installed in your system path for running infrastructure deployment tooling- A valid LocalStack Auth Token to enable Pro services IAM Policy Analyzer, Cloud Pods, and Chaos Injector tools (optional)
- Node.js v22.x installed in your system path
Configuration
Add the following to your MCP client's configuration file (e.g., ~/.cursor/mcp.json
). This configuration uses npx
to run the server, which will automatically download & install the package if not already present:
{
"mcpServers": {
"localstack-mcp-server": {
"command": "npx",
"args": ["-y", "@localstack/localstack-mcp-server"]
}
}
}
If you installed from source, change command
and args
to point to your local build:
{
"mcpServers": {
"localstack-mcp-server": {
"command": "node",
"args": ["/path/to/your/localstack-mcp-server/dist/stdio.js"]
}
}
}
Enabling Licensed Features
To activate LocalStack licensed features, you need to add your LocalStack Auth Token to the environment variables. You can get your LocalStack Auth Token by following the official documentation.
Here's how to add your LocalStack Auth Token to the environment variables:
{
"mcpServers": {
"localstack-mcp-server": {
"command": "npx",
"args": ["-y", "@localstack/localstack-mcp-server"],
"env": {
"LOCALSTACK_AUTH_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Contributing
Pull requests are welcomed on GitHub! To get started:
- Install Git and Node.js
- Clone the repository
- Install dependencies with
yarn
- Build with
yarn build
Built on the XMCP framework, you can add new tools by adding a new file to the src/tools
directory and documenting it in the manifest.json
file.
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.