Skip to main content

ministack-mcp

Your local AWS runtime for AI agents. A Model Context Protocol server that lets any IDE-resident AI agent (Claude Desktop, Cursor, Continue, Devin, Cline, …) act against a local MiniStack environment — deploy code, create infrastructure, run AWS CLI commands, run smoke tests, export live state as IaC — and answer deterministic, version-pinned questions about MiniStack's emulated services, supported operations, config vars, and parity status.

The knowledge side is backed by catalog.json + parity.json, generated once at build time from the MiniStack codebase, so those answers are stable, fast, and tied to the exact MiniStack version you have running. The action side talks to the live emulator at MINISTACK_ENDPOINT_URL.

You say "test my Lambda." The agent reads your code, deploys it, invokes it, and tells you if it works. You say "apply my Terraform." The agent runs it against the local environment and shows you what happened. You never think about MiniStack — you think about your code.

  • Developer: "Test my Lambda function" → deploys it locally, invokes it, reports pass/fail
  • Tester: "Run my test suite" → spins up infrastructure, runs tests, cleans up
  • SRE: "Apply my Terraform" → applies it locally, verifies resources, reports status

Install

pipx install ministack-mcp
# or
uvx ministack-mcp

Set MINISTACK_ENDPOINT_URL (default http://localhost:4566) if you run MiniStack on a non-default port.

Tools exposed

Around 40 tools, grouped by what they do:

Knowledge (from catalog.json / parity.json) — list_services, get_service, is_operation_supported, search_operations, list_config_vars, get_config_var, get_endpoint_info, find_service_for_use_case, compare_with_aws.

State & health — ministack_version, ministack_health, ministack_reset, reset_and_verify, validate_endpoint, get_setup_status, get_docker_status.

Act on the live emulator — aws_execute (any AWS CLI command), create_resource, delete_resource, list_resources, describe_resource, invoke_lambda, put_s3_object, query_dynamodb, send_sqs_message, publish_sns.

Test & generate — run_smoke_test, check_terraform_coverage, check_sdk_coverage, generate_test_fixture, scaffold_architecture, export_setup, diff_environments, explain_error, suggest_next_steps.

Docs (also exposed as ministack://docs/* MCP resources) — get_readme, get_quickstart, get_docker_doc, get_terraform_doc, get_testing_doc, get_faq_doc, get_migration_guide.

IDE configuration

Claude Desktop / Claude Code

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "ministack": {
      "command": "uvx",
      "args": ["ministack-mcp"],
      "env": {
        "MINISTACK_ENDPOINT_URL": "http://localhost:4566"
      }
    }
  }
}

Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "ministack": {
      "command": "uvx",
      "args": ["ministack-mcp"]
    }
  }
}

Continue (.continuerc or ~/.continue/config.json)

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "uvx",
          "args": ["ministack-mcp"]
        }
      }
    ]
  }
}

Devin

Devin adds MCP servers from its web UI, not a local config file:

  1. Go to Settings → Connections → MCP servers and click Add a custom MCP (requires the Manage MCP Servers permission).
  2. Choose the STDIO transport and set Command uvx and Args ministack-mcp. Add MINISTACK_ENDPOINT_URL to the environment if you run MiniStack on a non-default port.

Cline (VS Code extension)

VS Code settings, cline.mcpServers:

{
  "ministack": {
    "command": "uvx",
    "args": ["ministack-mcp"]
  }
}

Codex configuration

Codex uses the same local MCP contract as the other agents in this repo. Keep MINISTACK_ENDPOINT_URL pointed at the MiniStack instance you want to use.

Codex CLI

Register the server with the local uvx entry point:

{
  "mcpServers": {
    "ministack": {
      "command": "uvx",
      "args": ["ministack-mcp"]
    }
  }
}

If you need a non-default backend:

export MINISTACK_ENDPOINT_URL=http://localhost:4566
uvx ministack-mcp

Codex app

Use the same MCP server definition in the Codex app settings:

{
  "mcpServers": {
    "ministack": {
      "command": "uvx",
      "args": ["ministack-mcp"]
    }
  }
}

If the app exposes a separate MCP settings screen, add the same command and args pair there.

Regenerating the catalog

When MiniStack itself changes, regenerate the catalog before publishing a new release of ministack-mcp:

python build_catalog.py

This rewrites catalog.json in place. parity.json is hand-curated and is never touched by the generator.

How it works

  1. build_catalog.py walks ministack/services/*.py and extracts AWS operation names from action dicts, equality compares, match/case blocks, URL-path dispatch dicts, and module docstrings.
  2. It also walks all of ministack/ for os.environ.get / os.getenv / os.environ[...] to inventory every env var the emulator reads.
  3. The result, catalog.json, is shipped with the package.
  4. parity.json adds curated status (full / partial / stub / paid / data-plane / unsupported), real-backend flags, persistence, and gotchas.
  5. server.py reads both files at import time and exposes the tools above over MCP stdio. The knowledge tools answer from the catalog; the action tools (aws_execute, invoke_lambda, create_resource, …) talk to the live emulator at MINISTACK_ENDPOINT_URL.

License

MIT.

Metadata

Release files for ministack-mcp 0.1.47

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ministack-mcp 0.1.47
File Size Uploaded Provenance Actions
ministack_mcp-0.1.47.tar.gz 73.1 kB With provenance Details for ministack_mcp-0.1.47.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ministack-mcp 0.1.47
File Interpreter ABI Platform Actions
ministack_mcp-0.1.47-py3-none-any.whl Python 3 none any Details for ministack_mcp-0.1.47-py3-none-any.whl

Total release size: 146.8 kB

Release files / ministack_mcp-0.1.47.tar.gz

Download URL ministack_mcp-0.1.47.tar.gz
Size 73.1 kB
Tags Source
SHA-256 checksum
How to use checksums
173c0b815d110eb6c2e3822bb77a9c64a04952062531d3ef53378f174e679daf
BLAKE2b-256 checksum
How to use checksums
775a78c444589c6aa3e19755465190f703c2b973a4aebbcb10aead2c3081b12e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / ministack_mcp-0.1.47-py3-none-any.whl

Download URL ministack_mcp-0.1.47-py3-none-any.whl
Size 73.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aa5f1dd353b649f1596c13f0b5a935404950bf0de752da6e9216f1448fa18f9
BLAKE2b-256 checksum
How to use checksums
bc766c20ac4dc49e6bfb87f0450ab58c2e691b7e67a99fe347721dcdaee1e521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for ministack-mcp 0.1.47

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ministack_mcp-0.1.47.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.47 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page