Skip to main content

MCP knowledge layer for MiniStack — plug into any IDE AI (Claude Desktop, Cursor, Continue, Windsurf, Cline).

Project description

ministack-mcp

The knowledge layer for MiniStack — a Model Context Protocol server that lets any IDE-resident AI agent (Claude Desktop, Cursor, Continue, Windsurf, Cline, …) ask deterministic, version-pinned questions about MiniStack's emulated services, supported operations, configuration vars, and parity status.

The catalog is generated once at build time from the MiniStack codebase, so the MCP server never re-parses code at request time. AI answers are stable, fast, and tied to the exact MiniStack version you have running.

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

Tool What it answers
ministack_version Which MiniStack version this catalog reflects
ministack_health Live probe — is the emulator running
ministack_reset Clear in-memory state (between test scenarios)
get_endpoint_info Port, default account/region, auth model
list_services Every service + status badge + op count
get_service Full info for one service (ops, parity, gotchas, notes)
is_operation_supported Definitive yes/no for a (service, operation) pair
search_operations Substring search across every service's operation list
list_config_vars Every env var MiniStack reads
get_config_var Default + source files for one env var

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"]
        }
      }
    ]
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

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

Cline (VS Code extension)

VS Code settings, cline.mcpServers:

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

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. mcp_server.py reads both files at import time and exposes the tools above over MCP stdio.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ministack_mcp-0.1.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ministack_mcp-0.1.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file ministack_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: ministack_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ministack_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b16722640272949d387a1620b617d5fb5bd8ac43676758e0c2b18978ba247e6
MD5 7ee6eac37b9c05b7cd08c7eaece8e348
BLAKE2b-256 f93e52c52264bd04929a12af36252017ebc784a7cdf907fdb741eede42756773

See more details on using hashes here.

Provenance

The following attestation bundles were made for ministack_mcp-0.1.0.tar.gz:

Publisher: pypi-publish.yml on ministackorg/ministack-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ministack_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ministack_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ministack_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3dd90ec0a992ee8d961676a2265c4898746b61881749b5ff6ec190e5abc4e40
MD5 8880c24b37a36e29f7662a390b6b6a30
BLAKE2b-256 72f3de3b128955d3ac56d1e28d3ec81bf489bb222cb6e0897ee4b85c9a5283a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ministack_mcp-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on ministackorg/ministack-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page