Skip to main content
Glama

stackconstruct

AWS CDK guidance as MCP tools. stackconstruct is a clean-room rebuild of the core surface of the AWS CDK MCP server, under a new name: fresh curated guidance content and fresh code, no copied branding and no copied documentation text.

Tools (core subset, 10)

get_cdk_best_practices, search_cdk_docs, get_cdk_concept, list_cdk_patterns, search_constructs, get_construct_details, validate_stack_nag, get_migration_guide, explain_error, get_example_pattern.

Keyless-first: the guidance tools (best practices, concepts, patterns, migration guides, error explanations) are local deterministic content written for this rebuild, and validate_stack_nag runs local checks over a stack-template JSON you supply — wildcard IAM actions/resources, unencrypted S3 buckets and EBS volumes, buckets without a full public-access block, and security groups open to the world. Only search_cdk_docs, search_constructs and get_construct_details fetch, from the public AWS documentation site and the constructs.dev public API.

Not in this subset: project bootstrap and initialisation, stack deployment or synthesis execution, CDK Pipelines management, context and feature-flag administration, construct code generation, and anything that mutates an AWS account or a local project.

Related MCP server: infrawise

Setup

No credentials are required. Optionally override the lookup bases:

export CDK_DOCS_URL=https://docs.aws.amazon.com        # default
export CONSTRUCTS_API_URL=https://constructs.dev       # default

CLI

npx @reneturcios/stackconstruct get_cdk_best_practices '{"topic":"security"}'
npx @reneturcios/stackconstruct validate_stack_nag '{"template":{"Resources":{}}}'
npx @reneturcios/stackconstruct mcp        # stdio MCP server

Each tool name is a subcommand taking one JSON object argument.

MCP client config

{
  "mcpServers": {
    "stackconstruct": {
      "command": "npx",
      "args": ["-y", "@reneturcios/stackconstruct", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/stackconstruct

Development

npm install
npm run build
npm test

License

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    A containerized Model Context Protocol server that enables using natural language to develop AWS infrastructure with Terraform, offering best practices guidance, security scanning with Checkov, and access to AWS provider documentation.
    7
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for AWS infrastructure analysis. Connects to DynamoDB, Lambda, SQS, SNS, Secrets Manager, EventBridge, RDS, PostgreSQL, MongoDB, and CloudWatch — surfaces missing indexes, queue DLQs, Lambda config issues, IaC drift, and security findings for Claude Code and Cursor.
    22
    413 npm
    22
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that provides code validation rules and analysis for various stacks/frameworks, enabling automated code reviews and reporting directly from VS Code and other editors.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server that enables AI assistants to perform comprehensive AWS security analysis through natural language queries, bridging AI with AWS security services.
    2
    Apache 2.0