stackconstruct
v0.1.0AWS 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.
| Parameter | Type | Description |
|---|---|---|
topic | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search text to look up in the AWS CDK documentation. |
max_results | number | Optional maximum number of results to return; recorded in the result, with fetched content truncated locally. |
get_cdk_concept
Explain a core AWS CDK concept.
| Parameter | Type | Description |
|---|---|---|
concept * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search text to look up on constructs.dev. |
max_results | number | Optional 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
template * | object | The 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.
| Parameter | Type | Description |
|---|---|---|
from_version * | string | The CDK version to migrate from, for example v1; only the major version is parsed. |
to_version | string | Optional CDK version to migrate to, for example v2; defaults to v2. |
explain_error
Explain a common CDK or CloudFormation error message.
| Parameter | Type | Description |
|---|---|---|
error * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | The name of the catalogue pattern to retrieve, such as static-site, serverless-api, or data-lake (matched case-insensitively). |