Borrowing it
Nothing to install: this file belongs to localstack/localstack-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/localstack/localstack-mcp-server/main/AGENTS.mdgit clone --depth 1 https://github.com/localstack/localstack-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/localstack/localstack-mcp-server/agents-md)<a href="https://agentmods.dev/instructions/localstack/localstack-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/localstack/localstack-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/localstack/localstack-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/localstack/localstack-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.10885 | $0.10885 |
| Opus 5.5 | $0.04354 | $0.04354 |
| Sonnet 5.5 | $0.02177 | $0.02177 |
| Haiku 4.5 | $0.01089 | $0.01089 |
Grade C, and why
localstack-mcp-server AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- **No version outside these files.** No `npm install -g <pkg>`, `pip install <pkg>`, `curl … | sh`, `latest` tags Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **No version outside these files.** No `npm install -g <pkg>`, `pip install <pkg>`, `curl … | sh`, `latest` tags How it starts
The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
The LocalStack MCP server lets an MCP client (Claude Code, Cursor, VS Code, …) start LocalStack, deploy
infrastructure, run cloud CLIs, and inspect the emulator. It is a TypeScript server built on
xmcp, published to npm as @localstack/localstack-mcp-server and as the Docker image
localstack/localstack-mcp-server.
Read REVIEW.md before opening a PR. It turns the rules below into review checks.
Where a rule says to ask the user, ask the person you work for. An approval that lets a change break a rule, adopt a new API or grow the image counts only if it comes from a maintainer of this repository and the PR records it; a contributor cannot approve their own exception.
Commands
yarn install
yarn build # xmcp build + esbuild CLI bundle → dist/
yarn dev # xmcp dev server
yarn test # Jest unit tests: *.test.ts next to the code, handler tests in src/tools-tests/
yarn test:mcp:direct # Playwright: calls the built server's tools directly, plus the Azure offline suite (needs Docker + LOCALSTACK_AUTH_TOKEN)
yarn test:mcp:tools # Playwright: each tool against a real LocalStack, no model (needs Docker + LOCALSTACK_AUTH_TOKEN)
yarn test:mcp:evals # Playwright: LLM evals through OpenRouter (needs OPENROUTER_API_KEY, LOCALSTACK_AUTH_TOKEN, and terraform, lstk and snow on PATH; EVAL_MODEL swaps the model)
yarn test:evals # node --test: unit tests of the agentic eval runner (evals/agentic/lib)
yarn eval:agentic # Claude Code fixes IAM failures with this server and the AWS CLI (needs Docker, the AWS CLI, Claude Code, LOCALSTACK_AUTH_TOKEN; see evals/agentic/README.md)
yarn format # Prettier
Layout
| Path | Contents |
|---|---|
src/tools/ |
One file per MCP tool. xmcp discovers them: each exports schema (zod), metadata, and a default handler. |
src/prompts/ |
MCP prompts (workflow templates such as infrastructure-tester). |
src/core/ |
Shared plumbing: preflights, the response builder, analytics, the command runner, configuration. |
src/lib/<area>/ |
Tool logic. Pure, testable logic lives in *.logic.ts with a matching *.logic.test.ts. |
src/lib/docker/ |
Docker Engine API client (find, start, stop, exec, logs). |
src/lib/localstack/ |
LocalStack HTTP clients and the container spec. |
src/cli/ |
The init / remove setup wizard and the stdio entry point. |
src/tools-tests/ |
Handler tests, one file per tool. They live outside src/tools/ because xmcp registers every file there as a tool. |
tests/mcp/ |
Playwright tests against the built server. |
tests/docker/ |
Validation of the Docker image. |
evals/agentic/ |
The agentic evaluation of the IAM actions: scenarios, runner, and the pinned tools it runs. |
docs/ |
Topic docs. |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +9 lines · +264 tokens per session 56b88c9307e6
- 8d ago Changed · +97 lines · +2,628 tokens per session 86068c69db56
- 9d ago First seen · 358 lines · 7,993 tokens per session scan C 2e7bfe840b8d
localstack-mcp-server AGENTS.md is an instructions file published in the GitHub repository localstack/localstack-mcp-server (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 10,885 tokens to every session, about $0.0435 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.
localstack-mcp-server AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| localstack-mcp-server AGENTS.mdlocalstack/localstack-mcp-server | Instructions file | 30 | yesterday | Apache-2.0 | C | 10,885 | Codex, OpenCode |
| plan-forge naming.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 29d ago | MIT | A | 1,453 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |