Use AI tooling to interact with your local AWS environment — no cloud credentials needed.
The LocalStack MCP server exposes your local AWS resources to AI assistants (Claude, Cursor, etc.) via the Model Context Protocol.
Add to your MCP config (~/.claude/claude_desktop_config.json or .mcp.json):
{
"mcpServers": {
"localstack": {
"command": "localstack",
"args": ["mcp", "start"]
}
}
}Once connected, ask Claude natural-language questions about your local stack:
"List all Lambda functions and their last invocation status"
"Show me the messages in the orders-dlq queue"
"Scan the orders DynamoDB table and summarize the order statuses"
"What's in the order-receipts S3 bucket?"
Claude Code ships with built-in LocalStack skills. With LocalStack running, try:
/localstack # manage LocalStack lifecycle
/localstack-logs # analyze logs and debug errors
/localstack-state # save/load state with Cloud Pods
/localstack-iam # analyze IAM policies
- Trigger a Lambda failure (e.g., send a malformed order payload)
- Run
/localstack-logsin Claude Code - Claude will fetch the Lambda logs and suggest a fix
Combine App Inspector traces with Claude Code for AI-assisted debugging:
- Find a failed trace in App Inspector
- Copy the trace ID
- Ask Claude:
"Here's a failed trace from App Inspector: <trace-id> The order-processor Lambda failed. Analyze the logs and suggest what went wrong."
- No cloud credentials exposure to AI tools — everything stays local
- AI can read real state, not mocked data
- Fast iteration: ask → inspect → fix → redeploy in seconds locally