mcpField
C
CDK API MCP Server

CDK API MCP Server

Local
github.com/konokenjDeveloper Tools0Updated 20w ago

About CDK API MCP Server

CDK API MCP Server provides AWS CDK API references and integration-test code examples for developers consulting CDK documentation. Its documents are bundled in the Python artifact, allowing offline use.

Key features

  1. 01Browse CDK API documentation resources
  2. 02Find documentation by package and module
  3. 03Read documentation file contents
  4. 04Access bundled documents offline

Use cases

  1. 01Look up AWS CDK module APIs
  2. 02Read construct reference documentation
  3. 03Consult integration-test code samples

MCP support

The MCP server exposes CDK API documentation as resources. Clients can list resources and read module or file contents.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cdk-api": {
"command": "uvx",
"args": [
"konokenj.cdk-api-mcp-server@latest"
]
}
}
}
Run commanduvx konokenj.cdk-api-mcp-server@latest

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypikonokenj.cdk-api-mcp-server@latest

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.