LocalStack MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LocalStack MCP Server list all S3 buckets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LocalStack MCP Server
MCP server that exposes LocalStack-managed AWS services as AI-agent tools, enabling LLMs and AI agents to interact with local AWS infrastructure during development and testing.
Installation
The server is published to npm and the MCP Registry. No local build needed.
npm install -g @giovane.martins/localstackOr run directly with npx (no install required):
npx @giovane.martins/localstackRelated MCP server: MCP LocalStack Server
Requirements
Node.js 20+
Docker (for LocalStack)
Local Development
# 1. Start LocalStack
docker compose up -d
# 2. Install dependencies
pnpm install
# 3. Build
pnpm run build
# 4. Run
pnpm startConfiguration
All configuration is via environment variables:
Variable | Default | Description |
|
| LocalStack base URL |
|
| AWS region |
|
| Fake credentials for LocalStack |
|
| Fake credentials for LocalStack |
Running Tests
Requires LocalStack running (docker compose up -d).
pnpm testMCP Client Configuration
Using the published npm package (recommended)
Add to your MCP client config (e.g. ~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"localstack": {
"command": "npx",
"args": ["-y", "@giovane.martins/localstack"],
"env": {
"LOCALSTACK_ENDPOINT": "http://localhost:4566",
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": "test",
"AWS_SECRET_ACCESS_KEY": "test"
}
}
}
}Using a local build
{
"mcpServers": {
"localstack": {
"command": "node",
"args": ["/path/to/mcp-servers/localstack/dist/index.js"],
"env": {
"LOCALSTACK_ENDPOINT": "http://localhost:4566",
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": "test",
"AWS_SECRET_ACCESS_KEY": "test"
}
}
}
}Using tsx for development (no build step)
{
"mcpServers": {
"localstack": {
"command": "npx",
"args": ["tsx", "/path/to/mcp-servers/localstack/src/index.ts"],
"env": {
"LOCALSTACK_ENDPOINT": "http://localhost:4566",
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": "test",
"AWS_SECRET_ACCESS_KEY": "test"
}
}
}
}Available Tools
S3
Tool | Description |
| List all S3 buckets |
| Create a bucket |
| Delete a bucket |
| Upload an object (text/JSON content) |
| Download an object as text |
| Delete an object |
| List objects with optional prefix filter |
SQS
Tool | Description |
| List all queues |
| Create a standard or FIFO queue |
| Delete a queue |
| Send a message |
| Receive up to 10 messages (with long-polling support) |
| Delete a message by receipt handle |
| Purge all messages from a queue |
SNS
Tool | Description |
| List all topics |
| Create a standard or FIFO topic |
| Delete a topic |
| Subscribe an endpoint to a topic |
| Unsubscribe from a topic |
| List all subscriptions for a topic |
| Publish a message to a topic |
EventBridge
Tool | Description |
| List all event buses |
| Create a custom event bus |
| Delete a custom event bus |
| List rules on a bus |
| Create or update a rule (event pattern or schedule) |
| Delete a rule |
| Describe a rule |
| Enable a rule |
| Disable a rule |
| Add or update rule targets |
| List targets for a rule |
| Remove targets from a rule |
| Send custom events to a bus (max 10) |
Kinesis
Tool | Description |
| List all streams |
| Create a stream |
| Delete a stream |
| Describe a stream (status, shards) |
| Put a single record |
| Put multiple records (max 500) |
| Get records from a shard |
DynamoDB
Tool | Description |
| List all tables |
| Create a table (partition key + optional sort key) |
| Delete a table |
| Describe a table |
| Put (create or replace) an item |
| Get an item by key |
| Delete an item by key |
| Scan all items (with optional filter expression) |
| Query by key condition |
Lambda
Tool | Description |
| List all functions |
| Get function details |
| Create a function from a base64-encoded ZIP |
| Delete a function |
| Invoke a function and return its response + logs |
Secrets Manager
Tool | Description |
| List all secrets |
| Create a new secret |
| Get the value of a secret |
| Update the value of a secret |
| Describe secret metadata |
| Delete a secret (with optional force delete) |
| Restore a previously deleted secret |
SSM Parameter Store
Tool | Description |
| Get a parameter by name |
| Create or update a parameter |
| Delete a parameter |
| Delete up to 10 parameters in batch |
| Get all parameters under a path prefix |
| List and describe parameters |
SES
Tool | Description |
| List all verified identities |
| Verify an email address |
| Get verification status for identities |
| Delete an identity |
| Send an email (plain text and/or HTML) |
Use Cases
Dev environment bootstrap — create S3 buckets, SQS queues, DynamoDB tables, and SSM parameters in one shot from a spec
Test data seeding — populate DynamoDB or S3 before running integration tests
Event-driven debugging — publish to EventBridge/SNS/Kinesis and inspect downstream effects without leaving the IDE
Secret/config management — read and update Secrets Manager / SSM values during local debug sessions
Lambda smoke testing — invoke Lambda functions, capture responses and logs, iterate quickly
Queue drain / inspect — receive and inspect SQS messages without a consumer running
Project Structure
localstack/
├── docker-compose.yml # LocalStack container
├── package.json
├── tsconfig.json
├── vitest.config.ts
├── src/
│ ├── index.ts # MCP server entry point
│ ├── config.ts # Environment config
│ ├── tools/ # One file per AWS service
│ │ ├── s3.ts
│ │ ├── sqs.ts
│ │ ├── sns.ts
│ │ ├── eventbridge.ts
│ │ ├── kinesis.ts
│ │ ├── dynamodb.ts
│ │ ├── lambda.ts
│ │ ├── secretsmanager.ts
│ │ ├── ssm.ts
│ │ └── ses.ts
│ └── utils/
│ ├── client.ts # Shared AWS client factory (LocalStack endpoint)
│ └── errors.ts # Standardised MCP error formatting
└── tests/ # Integration tests (real LocalStack)
├── s3.test.ts
├── sqs.test.ts
├── sns.test.ts
├── eventbridge.test.ts
├── kinesis.test.ts
├── dynamodb.test.ts
├── lambda.test.ts
├── secretsmanager.test.ts
├── ssm.test.ts
└── ses.test.tsAvailable Tools
73 toolsdynamodb_create_tableB
Create a new DynamoDB table in LocalStack
Inputs: tableName (required), partitionKey (required), partitionKeyType (required), sortKey, +2 more.
dynamodb_delete_itemA
Delete an item from a DynamoDB table by its key in LocalStack
Inputs: key (required), tableName (required).
dynamodb_delete_tableB
Delete a DynamoDB table from LocalStack
Inputs: tableName (required).
dynamodb_describe_tableC
Describe a DynamoDB table in LocalStack
Inputs: tableName (required).
dynamodb_get_itemB
Get an item from a DynamoDB table by its key in LocalStack
Inputs: key (required), tableName (required).
dynamodb_list_tablesA
List all DynamoDB tables in LocalStack
Inputs: no named parameters.
dynamodb_put_itemB
Put (create or replace) an item in a DynamoDB table in LocalStack
Inputs: item (required), tableName (required).
dynamodb_queryB
Query items in a DynamoDB table by key condition in LocalStack
Inputs: tableName (required), keyConditionExpression (required), expressionAttributeValues (required), limit, +1 more.
dynamodb_scanC
Scan all items in a DynamoDB table in LocalStack
Inputs: tableName (required), limit, filterExpression, expressionAttributeValues.
eventbridge_create_busB
Create a new EventBridge event bus in LocalStack
Inputs: name (required).
eventbridge_delete_busA
Delete an EventBridge event bus from LocalStack
Inputs: name (required).
eventbridge_delete_ruleB
Delete an EventBridge rule from LocalStack
Inputs: name (required), eventBusName.
eventbridge_describe_ruleB
Describe an EventBridge rule in LocalStack
Inputs: name (required), eventBusName.
eventbridge_disable_ruleB
Disable an EventBridge rule in LocalStack
Inputs: name (required), eventBusName.
eventbridge_enable_ruleB
Enable an EventBridge rule in LocalStack
Inputs: name (required), eventBusName.
eventbridge_list_busesB
List all EventBridge event buses in LocalStack
Inputs: prefix.
eventbridge_list_rulesB
List EventBridge rules in LocalStack
Inputs: prefix, eventBusName.
eventbridge_list_targetsA
List targets for an EventBridge rule in LocalStack
Inputs: rule (required), eventBusName.
eventbridge_put_eventsB
Put custom events onto an EventBridge event bus in LocalStack
Inputs: entries (required).
eventbridge_put_ruleB
Create or update an EventBridge rule in LocalStack
Inputs: name (required), state, description, eventBusName, +2 more.
eventbridge_put_targetsB
Add or update targets for an EventBridge rule in LocalStack
Inputs: rule (required), targets (required), eventBusName.
eventbridge_remove_targetsB
Remove targets from an EventBridge rule in LocalStack
Inputs: ids (required), rule (required), eventBusName.
kinesis_create_streamA
Create a new Kinesis stream in LocalStack
Inputs: name (required), shardCount.
kinesis_delete_streamB
Delete a Kinesis stream from LocalStack
Inputs: name (required).
kinesis_describe_streamB
Describe a Kinesis stream in LocalStack
Inputs: name (required).
kinesis_get_recordsB
Get records from a Kinesis stream shard in LocalStack
Inputs: shardId (required), streamName (required), limit, shardIteratorType.
kinesis_list_streamsA
List all Kinesis streams in LocalStack
Inputs: no named parameters.
kinesis_put_recordA
Put a single record onto a Kinesis stream in LocalStack
Inputs: data (required), streamName (required), partitionKey (required).
kinesis_put_recordsA
Put multiple records onto a Kinesis stream in LocalStack (max 500)
Inputs: records (required), streamName (required).
lambda_create_functionB
Create a Lambda function in LocalStack from a base64-encoded ZIP
Inputs: handler (required), roleArn (required), runtime (required), zipBase64 (required), +5 more.
lambda_delete_functionA
Delete a Lambda function from LocalStack
Inputs: functionName (required).
lambda_get_functionA
Get details of a Lambda function in LocalStack
Inputs: functionName (required).
lambda_invokeA
Invoke a Lambda function in LocalStack and return its response
Inputs: functionName (required), payload, invocationType.
lambda_list_functionsA
List all Lambda functions in LocalStack
Inputs: no named parameters.
s3_create_bucketA
Create a new S3 bucket in LocalStack
Inputs: bucket (required).
s3_delete_bucketB
Delete an S3 bucket from LocalStack
Inputs: bucket (required).
s3_delete_objectA
Delete an object from an S3 bucket in LocalStack
Inputs: key (required), bucket (required).
s3_get_objectA
Download the content of an S3 object as text from LocalStack
Inputs: key (required), bucket (required).
s3_list_bucketsA
List all S3 buckets in LocalStack
Inputs: no named parameters.
s3_list_objectsB
List objects in an S3 bucket in LocalStack
Inputs: bucket (required), prefix, maxKeys.
s3_put_objectA
Upload a text or JSON object to an S3 bucket in LocalStack
Inputs: key (required), body (required), bucket (required), contentType.
secretsmanager_create_secretA
Create a new secret in Secrets Manager in LocalStack
Inputs: name (required), description, secretString.
secretsmanager_delete_secretB
Delete a secret from Secrets Manager in LocalStack
Inputs: secretId (required), forceDelete.
secretsmanager_describe_secretA
Describe a secret's metadata in Secrets Manager in LocalStack
Inputs: secretId (required).
secretsmanager_get_secretB
Retrieve the value of a secret from Secrets Manager in LocalStack
Inputs: secretId (required).
secretsmanager_list_secretsA
List all secrets in Secrets Manager in LocalStack
Inputs: no named parameters.
secretsmanager_restore_secretA
Restore a previously deleted secret in Secrets Manager in LocalStack
Inputs: secretId (required).
secretsmanager_update_secretB
Update the value of an existing secret in Secrets Manager in LocalStack
Inputs: secretId (required), secretString (required).
ses_delete_identityA
Delete an SES identity in LocalStack
Inputs: identity (required).
ses_get_identity_verification_attributesB
Get verification status for SES identities in LocalStack
Inputs: identities (required).
ses_list_identitiesA
List all SES verified identities (email addresses and domains) in LocalStack
Inputs: identityType.
ses_send_emailB
Send an email via SES in LocalStack
Inputs: to (required), body (required), from (required), subject (required), +3 more.
ses_verify_email_identityB
Verify an email address identity in SES in LocalStack
Inputs: email (required).
sns_create_topicB
Create a new SNS topic in LocalStack
Inputs: name (required), fifo.
sns_delete_topicC
Delete an SNS topic from LocalStack
Inputs: topicArn (required).
sns_list_subscriptions_by_topicB
List all subscriptions for an SNS topic in LocalStack
Inputs: topicArn (required).
sns_list_topicsA
List all SNS topics in LocalStack
Inputs: no named parameters.
sns_publishA
Publish a message to an SNS topic in LocalStack
Inputs: message (required), topicArn (required), subject.
sns_subscribeB
Subscribe an endpoint to an SNS topic in LocalStack
Inputs: endpoint (required), protocol (required), topicArn (required).
sns_unsubscribeB
Unsubscribe an endpoint from an SNS topic in LocalStack
Inputs: subscriptionArn (required).
sqs_create_queueA
Create a new SQS queue in LocalStack
Inputs: name (required), fifo, visibilityTimeout.
sqs_delete_messageA
Delete a message from an SQS queue using its receipt handle
Inputs: queueName (required), receiptHandle (required).
sqs_delete_queueB
Delete an SQS queue from LocalStack
Inputs: queueName (required).
sqs_list_queuesA
List all SQS queues in LocalStack
Inputs: prefix.
sqs_purge_queueA
Purge all messages from an SQS queue in LocalStack
Inputs: queueName (required).
sqs_receive_messagesC
Receive messages from an SQS queue in LocalStack
Inputs: queueName (required), maxMessages, waitTimeSeconds, visibilityTimeout.
sqs_send_messageA
Send a message to an SQS queue in LocalStack
Inputs: body (required), queueName (required), delaySeconds, messageGroupId, +1 more.
ssm_delete_parameterB
Delete an SSM Parameter Store parameter in LocalStack
Inputs: name (required).
ssm_delete_parametersA
Delete multiple SSM Parameter Store parameters in LocalStack
Inputs: names (required).
ssm_describe_parametersC
List and describe SSM Parameter Store parameters in LocalStack
Inputs: maxResults.
ssm_get_parameterB
Get an SSM Parameter Store parameter by name in LocalStack
Inputs: name (required), withDecryption.
ssm_get_parameters_by_pathA
Get all SSM Parameter Store parameters under a path in LocalStack
Inputs: path (required), recursive, withDecryption.
ssm_put_parameterB
Create or update an SSM Parameter Store parameter in LocalStack
Inputs: name (required), value (required), type, overwrite, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 73 tools
Most tools have distinct purposes, clearly separated by service prefix and action. The main ambiguity is between kinesis_put_record and kinesis_put_records (singular vs. batch), but descriptions clarify the difference. Overall, tools are well-differentiated and easy to navigate.
All tool names follow a consistent 'service_verb_noun' pattern in snake_case. Verbs like list, create, delete, get, put, and others are used predictably across services. Even nuanced variations like ssm_get_parameters_by_path maintain the same style, resulting in a highly uniform naming convention.
With 73 tools, this server is extremely large and exceeds the threshold for a well-scoped set. While it covers many AWS services, an agent would face significant selection overhead. The tool count would be more appropriate if split into smaller, service-focused MCP servers.
The server covers core CRUD and lifecycle operations for each included AWS service, including S3, SQS, SNS, EventBridge, Kinesis, DynamoDB, Lambda, Secrets Manager, SSM, and SES. Minor gaps exist (e.g., no S3 copy, no SQS visibility timeout update, no Lambda update), but most essential workflows are supported without dead ends.
Maintenance
Related MCP Connectors
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Unified API to query AWS, GCP, Azure and generate Terraform/CLI execution kits for AI agents.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides a comprehensive suite of tools for interacting with AWS services like S3, EC2, and Lambda using natural language commands. It enables AI assistants to inspect, manage, and operate AWS resources directly through the Model Context Protocol using your local credentials.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides conversational access to LocalStack AWS services (S3, DynamoDB, Lambda, SQS) through natural language, enabling local cloud infrastructure management without real AWS costs.MIT
- AlicenseNot gradedqualityBmaintenanceExposes an OpenAPI catalog as tools for AI agents (e.g., Claude Code, Cursor) to query API endpoints via list_endpoints and get_endpoint tools, enabling interactive API exploration without a browser.368 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables agents to discover and execute local tools via a Streamable HTTP endpoint using the Groq OpenAI-compatible API.-