Skip to main content
Glama
LocalStack MCP Server

LocalStack MCP Server

LocalStack MCP Server

MCP Registry npm

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/localstack

Or run directly with npx (no install required):

npx @giovane.martins/localstack

Related 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 start

Configuration

All configuration is via environment variables:

Variable

Default

Description

LOCALSTACK_ENDPOINT

http://localhost:4566

LocalStack base URL

AWS_REGION

us-east-1

AWS region

AWS_ACCESS_KEY_ID

test

Fake credentials for LocalStack

AWS_SECRET_ACCESS_KEY

test

Fake credentials for LocalStack

Running Tests

Requires LocalStack running (docker compose up -d).

pnpm test

MCP Client Configuration

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

s3_list_buckets

List all S3 buckets

s3_create_bucket

Create a bucket

s3_delete_bucket

Delete a bucket

s3_put_object

Upload an object (text/JSON content)

s3_get_object

Download an object as text

s3_delete_object

Delete an object

s3_list_objects

List objects with optional prefix filter

SQS

Tool

Description

sqs_list_queues

List all queues

sqs_create_queue

Create a standard or FIFO queue

sqs_delete_queue

Delete a queue

sqs_send_message

Send a message

sqs_receive_messages

Receive up to 10 messages (with long-polling support)

sqs_delete_message

Delete a message by receipt handle

sqs_purge_queue

Purge all messages from a queue

SNS

Tool

Description

sns_list_topics

List all topics

sns_create_topic

Create a standard or FIFO topic

sns_delete_topic

Delete a topic

sns_subscribe

Subscribe an endpoint to a topic

sns_unsubscribe

Unsubscribe from a topic

sns_list_subscriptions_by_topic

List all subscriptions for a topic

sns_publish

Publish a message to a topic

EventBridge

Tool

Description

eventbridge_list_buses

List all event buses

eventbridge_create_bus

Create a custom event bus

eventbridge_delete_bus

Delete a custom event bus

eventbridge_list_rules

List rules on a bus

eventbridge_put_rule

Create or update a rule (event pattern or schedule)

eventbridge_delete_rule

Delete a rule

eventbridge_describe_rule

Describe a rule

eventbridge_enable_rule

Enable a rule

eventbridge_disable_rule

Disable a rule

eventbridge_put_targets

Add or update rule targets

eventbridge_list_targets

List targets for a rule

eventbridge_remove_targets

Remove targets from a rule

eventbridge_put_events

Send custom events to a bus (max 10)

Kinesis

Tool

Description

kinesis_list_streams

List all streams

kinesis_create_stream

Create a stream

kinesis_delete_stream

Delete a stream

kinesis_describe_stream

Describe a stream (status, shards)

kinesis_put_record

Put a single record

kinesis_put_records

Put multiple records (max 500)

kinesis_get_records

Get records from a shard

DynamoDB

Tool

Description

dynamodb_list_tables

List all tables

dynamodb_create_table

Create a table (partition key + optional sort key)

dynamodb_delete_table

Delete a table

dynamodb_describe_table

Describe a table

dynamodb_put_item

Put (create or replace) an item

dynamodb_get_item

Get an item by key

dynamodb_delete_item

Delete an item by key

dynamodb_scan

Scan all items (with optional filter expression)

dynamodb_query

Query by key condition

Lambda

Tool

Description

lambda_list_functions

List all functions

lambda_get_function

Get function details

lambda_create_function

Create a function from a base64-encoded ZIP

lambda_delete_function

Delete a function

lambda_invoke

Invoke a function and return its response + logs

Secrets Manager

Tool

Description

secretsmanager_list_secrets

List all secrets

secretsmanager_create_secret

Create a new secret

secretsmanager_get_secret

Get the value of a secret

secretsmanager_update_secret

Update the value of a secret

secretsmanager_describe_secret

Describe secret metadata

secretsmanager_delete_secret

Delete a secret (with optional force delete)

secretsmanager_restore_secret

Restore a previously deleted secret

SSM Parameter Store

Tool

Description

ssm_get_parameter

Get a parameter by name

ssm_put_parameter

Create or update a parameter

ssm_delete_parameter

Delete a parameter

ssm_delete_parameters

Delete up to 10 parameters in batch

ssm_get_parameters_by_path

Get all parameters under a path prefix

ssm_describe_parameters

List and describe parameters

SES

Tool

Description

ses_list_identities

List all verified identities

ses_verify_email_identity

Verify an email address

ses_get_identity_verification_attributes

Get verification status for identities

ses_delete_identity

Delete an identity

ses_send_email

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.ts

Available Tools

73 tools
dynamodb_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

    B3.2/5.0

    Scored across 73 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count2/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides 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.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes 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 npm
      MIT