Skip to content
VS Code

localstack for VS Code

io.github.giovanemartins/localstack

MCP server for LocalStack AWS services, enabling AI agents to interact with local AWS infra.

client:VS Code transport:stdio runtime:npm

Install localstack in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "localstack-endpoint",
      "description": "LOCALSTACK_ENDPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-region",
      "description": "AWS_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-access-key-id",
      "description": "AWS_ACCESS_KEY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-secret-access-key",
      "description": "AWS_SECRET_ACCESS_KEY",
      "password": true
    }
  ],
  "servers": {
    "localstack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@giovane.martins/localstack"
      ],
      "env": {
        "LOCALSTACK_ENDPOINT": "${input:localstack-endpoint}",
        "AWS_REGION": "${input:aws-region}",
        "AWS_ACCESS_KEY_ID": "${input:aws-access-key-id}",
        "AWS_SECRET_ACCESS_KEY": "${input:aws-secret-access-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

localstack in other clients