cdk-api-mcp-server

konokenj/cdk-api-mcp-server

3.2

If you are the rightful owner of cdk-api-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The CDK API MCP Server is a tool designed to provide AWS CDK API references and integration test code samples, facilitating offline usage by including all necessary documents within the released Python artifact.

CDK API MCP Server

PyPI - Version PyPI - Python Version

aws-cdk


Provide AWS CDK API references and integration test code for sample. Can be used in offline because all documents are included in the released python artifact.

Usage

Add to your mcp.json:

{
  "mcpServers": {
    "konokenj.cdk-api-mcp-server": {
      "command": "uvx",
      "args": ["konokenj.cdk-api-mcp-server@latest"]
    }
  }
}

MCP Server Capabilities

Resource: CDK API packages

Registered as static resources. To get available modules under the package, call list_resources() as MCP client.

  • cdk-api-docs://constructs/@aws-cdk ... Alpha modules published in @aws-cdk namespace
  • cdk-api-docs://constructs/aws-cdk-lib ... Stable modules in aws-cdk-lib package

Resource Template: List modules in package

To get available documents under the module, call read_resource(uri) as MCP client.

  • cdk-api-docs://constructs/@aws-cdk/{module}
  • cdk-api-docs://constructs/aws-cdk-lib/{module}

Resource Template: Read file contents

To read a document, call read_resource(uri) as MCP client.

  • cdk-api-docs://constructs/@aws-cdk/{module}/{file}
  • cdk-api-docs://constructs/aws-cdk-lib/{module}/{file}

License

Distributed under the terms of the MIT license.