stackconstruct

v0.1.0
io.github.CloudCorpRecords/stackconstruct Checked 2 days ago Published 1 month ago

AWS CDK guidance, docs, constructs and nag checks as MCP tools.

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

get_cdk_best_practices

Get curated AWS CDK best practices, optionally for a topic.

ParameterTypeDescription
topicstringOptional best-practices topic to retrieve, one of general, security, testing, deployment, or cost (matched case-insensitively); defaults to general.

search_cdk_docs

Search the public AWS CDK documentation.

ParameterTypeDescription
query *stringThe search text to look up in the AWS CDK documentation.
max_resultsnumberOptional maximum number of results to return; recorded in the result, with fetched content truncated locally.

get_cdk_concept

Explain a core AWS CDK concept.

ParameterTypeDescription
concept *stringThe CDK concept to explain, one of app, stack, construct, asset, context, aspect, or token (matched case-insensitively).

list_cdk_patterns

List curated CDK patterns, optionally filtered by category.

ParameterTypeDescription
categorystringOptional pattern category to filter by, such as hosting, compute, integration, or storage (matched case-insensitively); when omitted, all patterns are listed.

search_constructs

Search constructs.dev for reusable constructs.

ParameterTypeDescription
query *stringThe search text to look up on constructs.dev.
max_resultsnumberOptional maximum number of results to return; when given, the returned results array is sliced to this size.

get_construct_details

Get details for a construct package on constructs.dev.

ParameterTypeDescription
name *stringThe name of the construct package on constructs.dev to retrieve details for.

validate_stack_nag

Check a stack template JSON against local nag-style rules.

ParameterTypeDescription
template *objectThe CloudFormation stack template JSON object to validate; it must be an object containing a Resources object.

get_migration_guide

Get a migration guide between CDK versions.

ParameterTypeDescription
from_version *stringThe CDK version to migrate from, for example v1; only the major version is parsed.
to_versionstringOptional CDK version to migrate to, for example v2; defaults to v2.

explain_error

Explain a common CDK or CloudFormation error message.

ParameterTypeDescription
error *stringThe CDK or CloudFormation error message text to explain; matched against curated patterns such as already exists, access denied, throttling, and rollback.

get_example_pattern

Get an example pattern from the curated pattern catalogue.

ParameterTypeDescription
pattern *stringThe name of the catalogue pattern to retrieve, such as static-site, serverless-api, or data-lake (matched case-insensitively).