ministack-mcp

v0.1.58
ministack-mcp Checked 2 hours ago Published 23 hours ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ministack_version

Return the MiniStack version this catalog was built against, plus endpoint defaults. Use this first to ground every other answer.

ministack_health

Probe MINISTACK_ENDPOINT_URL/_ministack/health. Returns live service status; if unreachable, the agent should assume MiniStack is not running.

ministack_reset

POST MINISTACK_ENDPOINT_URL/_ministack/reset to clear all in-memory state. Useful between integration-test scenarios.

get_endpoint_info

Return endpoint URL, default port, default account, default region, and the auth model (signature is not validated).

list_services

List every emulated service with its status (full, partial, stub, paid, unsupported, data-plane) and operation count. Concise overview for an agent deciding whether MiniStack covers a given workflow.

get_service

Full info for one service: every supported operation, parity status, backend (docker/none), persistence flag, gotchas, and curated notes.

ParameterTypeDescription
name *string

is_operation_supported

Definitive yes/no for a single (service, operation) pair. Returns `supported: true|false` plus the service's status, so the agent can distinguish 'not implemented' from 'service is a stub' from 'the verb you asked about does not exist on this service in real AWS'.

ParameterTypeDescription
operation *string
service *string

search_operations

Find every operation across every service whose name contains the query (case-insensitive). Useful when the agent has a verb in mind (e.g. 'PutItem', 'Encrypt') and wants to know which services expose it.

ParameterTypeDescription
query *string

list_config_vars

List every environment variable that MiniStack reads (MINISTACK_*, AWS_*, OPENSEARCH_*, plus a curated extras set). Returns names only — use get_config_var(name) for defaults and source files.

get_config_var

Details for one env var: default value (if literal), and the source files inside ministack/ that read it.

ParameterTypeDescription
name *string

get_docker_status

Check which MiniStack services have Docker backends running.

list_resources

List resources for a MiniStack service (s3, dynamodb, sqs, sns, lambda, kinesis, secretsmanager, ssm, stepfunctions, cloudformation, iam, cloudwatch_logs).

ParameterTypeDescription
service *string

describe_resource

Get details on a specific MiniStack resource by service and identifier.

ParameterTypeDescription
identifier *string
service *string

validate_endpoint

Comprehensive MiniStack diagnostic: check health, services, and probe S3/SQS/SNS to verify the endpoint is working.

aws_execute

Run an AWS CLI command against MiniStack. The command must start with 'aws'; it runs without a shell and always targets MiniStack's endpoint (--endpoint-url and --profile are rejected). 30s timeout.

ParameterTypeDescription
command *string

create_resource

Create a resource in MiniStack with one command. Supports: s3, dynamodb, sqs, sns, kinesis, secretsmanager, ssm, lambda. Pass extra CLI flags via config.

ParameterTypeDescription
name *string
service *string
configstring

delete_resource

Delete a MiniStack resource by service and identifier.

ParameterTypeDescription
identifier *string
service *string

invoke_lambda

Invoke a Lambda function in MiniStack via the REST API.

ParameterTypeDescription
function_name *string
payloadstring

put_s3_object

Upload an object to an S3 bucket in MiniStack.

ParameterTypeDescription
body *string
bucket *string
key *string

query_dynamodb

Query a DynamoDB table in MiniStack.

ParameterTypeDescription
key_condition *string
table *string
expression_valuesstring

send_sqs_message

Send a message to an SQS queue in MiniStack.

ParameterTypeDescription
body *string
queue_url *string

publish_sns

Publish a message to an SNS topic in MiniStack.

ParameterTypeDescription
message *string
topic_arn *string

run_smoke_test

Run CRUD smoke tests against MiniStack services. Returns per-service pass/fail with timing. Uses unique resource names and cleans up.

ParameterTypeDescription
servicesstring

check_terraform_coverage

Check which Terraform/CloudFormation resource types are supported by MiniStack. Pass a comma-separated list like 'AWS::S3::Bucket,AWS::Lambda::Function'.

ParameterTypeDescription
resource_types *string

check_sdk_coverage

Check which service:operation pairs are supported. Pass comma-separated pairs like 's3:PutObject,dynamodb:Query'.

ParameterTypeDescription
operations *string

generate_test_fixture

Generate a pytest fixture for testing against MiniStack. Supports: s3, dynamodb, sqs, sns, lambda, kinesis, stepfunctions.

ParameterTypeDescription
service *string
languagestring

reset_and_verify

Reset MiniStack and verify the environment is clean.

scaffold_architecture

Create all resources for a predefined architecture template. Templates: serverless-api, event-pipeline, static-website, queue-worker, crud-api.

ParameterTypeDescription
template *string

explain_error

Match an error message against known MiniStack error patterns and return a specific diagnosis and fix.

ParameterTypeDescription
error_message *string

get_setup_status

Full overview of everything currently in MiniStack — all services, resources, and health status.

suggest_next_steps

Based on current MiniStack resources, suggest what to do next.

find_service_for_use_case

Given a natural language use case, suggest which MiniStack services to use.

ParameterTypeDescription
use_case *string

export_setup

Export current MiniStack state as Terraform, CloudFormation, or boto3 code. Queries live resources and generates the corresponding IaC.

ParameterTypeDescription
formatstring

diff_environments

Compare two MiniStack instances by querying resources on each endpoint.

ParameterTypeDescription
endpoint_a *string
endpoint_b *string

get_quickstart

Return a quickstart guide for a MiniStack service. Generates boto3 patterns dynamically from the catalog — not hardcoded examples.

ParameterTypeDescription
service *string

compare_with_aws

Compare a MiniStack service with real AWS. Shows parity status, known differences, and gotchas from parity.json.

ParameterTypeDescription
service *string

get_migration_guide

Return migration steps from LocalStack or Moto to MiniStack. Focuses on endpoint config and Docker image swap — not hardcoded code examples.

ParameterTypeDescription
from_tool *string