Endpoint:
https://cdktn.io/docs/mcp — streamable HTTP transport,
read-only, scoped to public CDK Terrain content. No authentication required.Why connect it
- Current and authoritative. The server indexes this site, so the agent sees the latest concepts, CLI reference, migration guides, and API reference.
- Avoids the CDKTF mix-up. CDKTN (CDK Terrain) is the maintained community successor to the deprecated HashiCorp CDKTF (CDK for Terraform / Terraform CDK). Connecting this server keeps your agent from answering CDKTF/Terraform-CDK questions with deprecated HashiCorp guidance.
- Read-only and safe. The server cannot mutate state or run actions; it only searches and returns published site content.
Set up your agent
Use the server namecdktn-terraform-cdk-docs so the agent associates
CDKTF, Terraform CDK, and CDK Terrain questions with it (tools are namespaced
under the server name, e.g. mcp__cdktn-terraform-cdk-docs__search).
- Claude Code
- Cursor
- VS Code
- Other clients
Add the server from the CLI:Or commit it to a project so your team shares it — create Verify with
.mcp.json in the
repo root:.mcp.json
claude mcp list (or /mcp inside a session).Verify it works
Ask your agent a question that requires current docs, for example:Using the CDKTN docs, how do I configure a remote backend, and what changed in the v0.23 upgrade guide?If the server is connected, the agent calls its search/retrieval tools and cites pages from
cdktn.io/docs in the answer.
Agent skill file (skill.md)
Alongside the MCP server, CDK Terrain publishes an agent skill file — a
machine-readable capability descriptor following the
agentskills.io specification:
Skill file:
https://cdktn.io/docs/skill.md — auto-generated from these
docs and kept current as they change.llms.txt tell an agent what pages exist, skill.md
tells it what it can accomplish with CDKTN — when to reach for the tool, the
essential CLI commands, key files, and constraints. Point a skills-aware agent at
it so it knows how and when to use CDK Terrain, then connect the MCP server for
live doc lookups.
skill.md is regenerated by Mintlify from the published docs and can take up
to 24 hours to reflect the latest changes. For real-time answers, rely on the
MCP server above.Without an MCP client
If your tooling can’t connect to MCP, agents can still read the machine-friendly files directly:https://cdktn.io/docs/skill.md— capability/skill descriptor for agentshttps://cdktn.io/llms.txt— curated index of the docshttps://cdktn.io/docs/llms.txt— full index, including the API referencehttps://cdktn.io/docs/llms-full.txt— every page concatenated as one file- Append
.mdto any docs URL for its raw Markdown (e.g.https://cdktn.io/docs/concepts/constructs.md)