cdktn is a framework for defining cloud infrastructure using Terraform providers and modules. It allows for users to define infrastructure resources using higher-level programming languages.
CDK Terrain (CDKTN) is the community-maintained successor to CDK for Terraform (CDKTF). Migrating from CDKTF? Follow the migration guide.
The CDKTN docs are served to AI coding agents by a hosted MCP server at https://cdktn.io/docs/mcp (streamable HTTP, no auth). Point your agent at it rather than relying on prior CDKTF knowledge:
claude mcp add --transport http cdktn https://cdktn.io/docs/mcpAn agent skill and an llms.txt index are also available.
Install dependencies
pnpm installBuild the package
pnpm build