localstack-mcp-server
v0.8.0A LocalStack MCP Server providing essential tools for local cloud development & testing
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
localstack-app-inspector LocalStack App Inspector
Query and manage App Inspector traces, spans, and events to review deployed LocalStack applications. Also the place for IAM: why a request was denied, which policies decided it, LocalStack's suggested fix, the least-privilege policies derived from a run, and the IAM enforcement mode.
| Parameter | Type | Description |
|---|---|---|
action * | string | The App Inspector action to perform. Debugging flow: get-status, set-status to enabled if needed, run the AWS workload, list-traces, list-spans for a trace, then list-events for a span. IAM flow (Acce… |
account_id | string | Filter traces or spans by LocalStack AWS account ID. |
arn | string | Filter traces or spans by resource ARN. For get-auto-derived-iam-policies, return the policy of exactly this ARN (as listed without arn). This value is not sent to analytics. |
detail | string | explain-iam only. summary (default): the deciding policies and LocalStack's suggested statements verbatim. full: also the whole event payload as LocalStack sent it. |
end_time_unix_nano | integer | Filter traces or spans by end timestamp in Unix nanoseconds. |
event_id | string | Event ID. Required for get-event and get-iam-policy. For explain-iam, the event_id of a row of list-iam-denials. |
event_name | string | Filter events by event name. |
event_type | string | Filter events by event type, e.g. iam.policy_evaluation. |
limit | integer | Maximum number of results to return (1-1000). list-iam-denials: default 20, max 100. explain-iam with span_id: default 10, max 50. |
mode | string | IAM enforcement mode, required for set-iam-mode. ENFORCED: denied requests fail, as on AWS. SOFT_MODE: they are allowed and logged. ENGINE_ONLY: evaluated without rejecting or logging; App Inspector s… |
newer_than | string | list-iam-denials only: the newer_than token from a first page's footer; returns only denials recorded after that call. Not a time and not a pagination_token. |
operation_name | string | Filter by operation name (e.g., 'CreateBucket') |
pagination_token | string | Pagination cursor from a previous response |
parent_span_id | string | Filter traces or spans by parent span ID. |
policy_key | string | Key of a policy in an IAM event's `policies` (e.g. p2), as explain-iam names it. Required for get-iam-policy. |
region | string | Filter by AWS region (e.g., 'us-east-1') |
resource_name | string | Filter by resource name |
service_name | string | Filter traces or spans by AWS service name, e.g. lambda, s3, sqs. |
span_id | string | Span ID. Required for get-span, list-events, get-event, and list-iam-events. For list-events/list-iam-events, use '*' to query across all spans. For explain-iam, instead of event_id: every IAM evaluat… |
span_ids | array | Span IDs to delete for delete-spans. Omit to delete all spans in the trace scope. |
start_time_unix_nano | integer | Filter traces or spans by start timestamp in Unix nanoseconds. |
status | string | Status to set. Required for set-status. Use enabled before running a workload you want to inspect. Disabling App Inspector and enabling it again deletes the recorded traces and denials, unless LocalSt… |
status_code | integer | Filter traces or spans by status code. |
trace_id | string | Trace ID. Required for get-trace, list-spans, get-span, delete-spans, list-events, get-event, and list-iam-events. For list-spans/list-events/list-iam-events, use '*' to query across all traces. Not u… |
trace_ids | array | Trace IDs to delete for delete-traces. Omit to delete all traces. |
version | integer | Filter traces or spans by App Inspector schema version. |
localstack-aws-client LocalStack AWS Client
Executes an AWS CLI command against the running LocalStack for AWS emulator, through the official AWS CLI v2 and 'lstk aws', which set the endpoint, credentials and region. Requests only ever reach LocalStack. Local files (s3 cp, file://, --body, an outfile) must be relative paths or inside the tool's working directory.
| Parameter | Type | Description |
|---|---|---|
command * | string | The AWS CLI command to execute (e.g., 's3 ls', 'dynamodb list-tables'). Do not include 'lstk', 'aws' or 'awslocal'. |
localstack-aws-replicator LocalStack AWS Replicator
Replicate external AWS resources into a running LocalStack instance using the AWS Replicator HTTP API.
| Parameter | Type | Description |
|---|---|---|
action * | string | The AWS Replicator action to perform: start a job, check job status, list jobs, or list supported resource types. |
job_id | string | Replication job id. Required for the status action. |
replication_type | string | Replication job type. Use SINGLE_RESOURCE for one resource, or BATCH for supported batch jobs such as SSM parameters under a path prefix. |
resource_arn | string | Full ARN of the resource to replicate. Only supported for SINGLE_RESOURCE jobs and mutually exclusive with resource_type/resource_identifier. |
resource_identifier | string | CloudControl identifier for the resource to replicate, such as a VPC ID (vpc-...), SSM parameter name, IAM role name, or ECR repository name. Required when using resource_type and mutually exclusive w… |
resource_type | string | CloudFormation resource type to replicate, e.g. AWS::EC2::VPC or AWS::SSM::Parameter. Use this with resource_identifier, or provide resource_arn instead. |
target_account_id | string | Optional LocalStack target AWS account id override. LocalStack defaults to account 000000000000, so this is only needed when replicating into a non-default account namespace. |
target_region_name | string | Optional LocalStack target AWS region override. Defaults to the source region. |
localstack-azure-client LocalStack Azure Client
Run Azure CLI (`az`) commands against the LocalStack Azure emulator. The tool keeps its own Azure CLI profile, logged in to the emulator with a dummy account, so your own Azure login is never used or changed. Relative file paths resolve against the server's working directory (LOCALSTACK_AZ_WORKDIR), and a leading `~` in any argument is your home directory. For an operation without a command, use `rest` with a relative URL. `az` reaches only the emulator: an endpoint or URL anywhere else is refused. Start the emulator with `localstack-management` (service: azure).
| Parameter | Type | Description |
|---|---|---|
command * | string | One Azure CLI command, with or without the leading `az`, for example `group create --name demo --location westeurope`. No shell syntax: no pipes, `&&`, redirects or `$(...)`. |
localstack-chaos-injector LocalStack Chaos Injector
Injects, manages, and clears chaos faults and network effects in LocalStack to test system resilience.
| Parameter | Type | Description |
|---|---|---|
action * | string | The specific chaos engineering action to perform. |
latency_ms | integer | Network latency in milliseconds. Required for the 'inject-latency' action. |
rules | array | An array of fault rules. Required for 'inject-faults', 'add-fault-rule', and 'remove-fault-rule' actions. |
localstack-cloud-pods LocalStack Cloud Pods
Manages remote LocalStack Cloud Pods with following actions: save, load, delete
| Parameter | Type | Description |
|---|---|---|
action * | string | The Cloud Pods action to perform. |
pod_name | string | The name of the Cloud Pod. This is required for 'save', 'load', and 'delete' actions. |
localstack-deployer LocalStack Deployer
Deploys or destroys AWS infrastructure on LocalStack using CDK, Terraform, or SAM.
| Parameter | Type | Description |
|---|---|---|
action * | string | The action to perform: 'deploy'/'destroy' for CDK/Terraform, or 'create-stack'/'delete-stack' for CloudFormation. |
directory | string | The required path to the project directory containing your infrastructure-as-code files. |
projectType | string | The type of project. 'auto' (default) infers from files. Specify 'cdk', 'terraform', 'cloudformation', or 'sam' to override. |
resolveS3 | boolean | For SAM deployments, whether to use --resolve-s3 when no s3Bucket is provided. |
s3Bucket | string | S3 bucket name used by SAM deployments. If omitted, SAM can use --resolve-s3. |
saveParams | boolean | For SAM deployments, whether to persist resolved parameters to samconfig.toml using --save-params. |
stackName | string | The stack name used by CloudFormation and SAM. Required for 'create-stack'/'delete-stack' actions, and optional for SAM deploy/destroy (defaults can be inferred). |
templatePath | string | The local template file path used by CloudFormation and SAM. Required for 'create-stack' if not discoverable from 'directory', and optional for SAM as a template override. |
variables | object | Key-value pairs for parameterization. Used for Terraform variables (-var) or CDK context (-c). |
localstack-docs LocalStack Docs Search
Search the LocalStack documentation to find guides, API references, and configuration details
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query. |
limit | integer | Maximum number of results to return. |
localstack-ephemeral-instances LocalStack Ephemeral Instances
Manage cloud-hosted LocalStack Ephemeral Instances: create, list, fetch logs, and delete.
| Parameter | Type | Description |
|---|---|---|
action * | string | The Ephemeral Instances action to perform. |
cloudPod | string | Optional Cloud Pod name to initialize state for create action. This is passed as CLOUD_POD_NAME. |
envVars | object | Additional environment variables to pass to the ephemeral instance (create action only). |
extension | string | Optional extension package to preload for create action. This is passed as EXTENSION_AUTO_INSTALL. |
lifetime | integer | Lifetime in minutes for create action. Defaults to the platform default when omitted. |
name | string | Instance name. Required for create, logs, and delete actions. |
localstack-extensions LocalStack Extensions
Install, uninstall, list, and discover LocalStack Extensions from the marketplace
| Parameter | Type | Description |
|---|---|---|
action * | string | list = installed extensions; install = install an extension; uninstall = remove an extension; available = browse the marketplace/extensions library |
name | string | Extension package name (e.g. 'localstack-extension-typedb' or 'localstack-extension-typedb==1.0.0'). Required for install and uninstall actions. |
localstack-iam-policy-analyzer LocalStack IAM Policy Analyzer
Configures LocalStack's IAM enforcement and analyzes logs to generate missing IAM policies. For IAM, localstack-app-inspector is recommended instead (list-iam-denials, explain-iam, get-auto-derived-iam-policies, get-iam-mode, set-iam-mode): it reads LocalStack's structured IAM data and shows the policies that decided a request, including another account's, and LocalStack's suggested fix.
| Parameter | Type | Description |
|---|---|---|
action * | string | The action to perform: 'set-mode' to configure enforcement, 'analyze-policies' to generate a policy from logs, or 'get-status' to check the current mode. |
mode | string | The enforcement mode to set. This is required only when the action is 'set-mode'. |
localstack-logs-analysis LocalStack Logs Analysis
LocalStack log analyzer that helps developers quickly diagnose issues and understand their LocalStack interactions
| Parameter | Type | Description |
|---|---|---|
analysisType | string | The analysis to perform: 'summary' (default), 'errors', 'requests', or 'logs' for raw output. |
filter | string | Raw keyword filter. Only used with 'logs' mode. |
lines | integer | Number of recent log lines to fetch and analyze. |
operation | string | Filter by a specific API operation (e.g., 'CreateBucket'). Requires 'service'. Used with 'requests' mode. |
service | string | Filter by AWS service (e.g., 's3', 'lambda'). Used with 'errors' and 'requests' modes. |
localstack-management LocalStack Management
Manage LocalStack lifecycle: start, stop, restart, or check status
| Parameter | Type | Description |
|---|---|---|
action * | string | The LocalStack management action to perform |
envVars | object | Additional environment variables as key-value pairs (only for start action) |
service | string | The LocalStack stack/service to manage. Use 'aws' for the default AWS emulator, 'snowflake' for the Snowflake emulator, or 'azure' for the Azure emulator. |
localstack-snowflake-client LocalStack Snowflake Client
Execute SQL queries and commands against the LocalStack Snowflake emulator using the Snowflake CLI (snow). Use this to run SELECT queries, DDL (CREATE/DROP), DML (INSERT/UPDATE/DELETE), SHOW DATABASES/SCHEMAS/TABLES, DESCRIBE TABLE, and any other Snowflake SQL.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform |
database | string | Snowflake database context for this query. |
file_path | string | Absolute path to a .sql file to execute. Required when action is 'execute' and query is not provided. |
query | string | SQL query to execute (e.g. 'SELECT * FROM mytable', 'SHOW DATABASES', 'CREATE TABLE ...'). Required when action is 'execute' and file_path is not provided. |
role | string | Snowflake role to use for this query. |
schema | string | Snowflake schema context for this query. |
warehouse | string | Snowflake warehouse to use for this query. |
localstack-state-management LocalStack State Management
Export, import, reset, and inspect LocalStack state using local file-based workflows on disk.
| Parameter | Type | Description |
|---|---|---|
action * | string | The local LocalStack state action to perform through the LocalStack State REST API. Use this tool for file-based state export/import workflows on disk. Use Cloud Pods instead when the user wants remot… |
file_path | string | Local file path for state export or import. Required for import. For export, defaults to ls-state-export in the MCP server working directory if omitted. |
services | Optional AWS service names for service-level granularity, such as ['s3', 'lambda'] or 's3,lambda'. Supported for export, reset, and inspect. Import restores the services contained in the state file. |