awslabs.cdk-mcp-server 0.0.31004__py3-none-any.whl → 0.0.62303__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ cdk init app --language python
15
15
  ```
16
16
 
17
17
  Proper initialization ensures:
18
+
18
19
  - Consistent project structure
19
20
  - Correct dependency setup
20
21
  - Appropriate tsconfig/package.json configuration
@@ -61,6 +62,7 @@ When implementing AWS infrastructure with CDK, consider these complementary appr
61
62
  - Perfect for agents, knowledge bases, vector stores, and other GenAI components
62
63
 
63
64
  **Installation:**
65
+
64
66
  ```typescript
65
67
  // TypeScript
66
68
  // Create or use an existing CDK application
@@ -174,12 +176,14 @@ Always check the [Amazon Bedrock documentation](https://docs.aws.amazon.com/bedr
174
176
  AWS Solutions Constructs are vetted architecture patterns that combine multiple AWS services to solve common use cases following AWS Well-Architected best practices.
175
177
 
176
178
  **Key benefits:**
179
+
177
180
  - Accelerated Development: Implement common patterns without boilerplate code
178
181
  - Best Practices Built-in: Security, reliability, and performance best practices
179
182
  - Reduced Complexity: Simplified interfaces for multi-service architectures
180
183
  - Well-Architected: Patterns follow AWS Well-Architected Framework principles
181
184
 
182
185
  **When to use Solutions Constructs:**
186
+
183
187
  - Implementing common architecture patterns (e.g., API + Lambda + DynamoDB)
184
188
  - You want secure defaults and best practices applied automatically
185
189
  - You need to quickly prototype or build production-ready infrastructure
@@ -191,6 +195,7 @@ To discover available patterns, use the `GetAwsSolutionsConstructPattern` tool.
191
195
  CDK Nag is a crucial tool for ensuring your CDK applications follow AWS security best practices. **Always apply CDK Nag to all your stacks by default.**
192
196
 
193
197
  Key security practices to remember:
198
+
194
199
  - Follow the principle of least privilege for IAM
195
200
  - Secure S3 buckets with encryption, access controls, and policies
196
201
  - Implement secure authentication with Cognito
@@ -201,6 +206,7 @@ For detailed guidance, use the `CDKNagGuidance` tool.
201
206
  ## Operational Excellence with Lambda Powertools
202
207
 
203
208
  Always implement Lambda Powertools for:
209
+
204
210
  - Structured Logging
205
211
  - Tracing
206
212
  - Metrics
@@ -62,7 +62,7 @@ ChunkingStrategy.HIERARCHICAL_COHERE;
62
62
  // Hierarchical Chunking with the default for Titan Models.
63
63
  ChunkingStrategy.HIERARCHICAL_TITAN;
64
64
 
65
- // Hierarchical Chunking with custom values. Tthe maximum chunk size depends on the model.
65
+ // Hierarchical Chunking with custom values. The maximum chunk size depends on the model.
66
66
  // Amazon Titan Text Embeddings: 8192. Cohere Embed models: 512
67
67
  ChunkingStrategy.hierarchical({
68
68
  overlapTokens: 60,
@@ -80,7 +80,7 @@ ChunkingStrategy.HIERARCHICAL_COHERE
80
80
  # Hierarchical Chunking with the default for Titan Models.
81
81
  ChunkingStrategy.HIERARCHICAL_TITAN
82
82
 
83
- # Hierarchical Chunking with custom values. Tthe maximum chunk size depends on the model.
83
+ # Hierarchical Chunking with custom values. The maximum chunk size depends on the model.
84
84
  # Amazon Titan Text Embeddings: 8192. Cohere Embed models: 512
85
85
  chunking_strategy= ChunkingStrategy.hierarchical(
86
86
  overlap_tokens=60,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.cdk-mcp-server
3
- Version: 0.0.31004
3
+ Version: 0.0.62303
4
4
  Summary: An AWS CDK MCP server that provides guidance on AWS Cloud Development Kit best practices, infrastructure as code patterns, and security compliance with CDK Nag. This server offers tools to validate infrastructure designs, explain CDK Nag rules, analyze suppressions, generate Bedrock Agent schemas, and discover Solutions Constructs patterns.
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: aws-lambda-powertools>=2.30.0
@@ -15,25 +15,35 @@ MCP server for AWS Cloud Development Kit (CDK) best practices, infrastructure as
15
15
 
16
16
  ## Features
17
17
 
18
- - **CDK Best Practices** - Get prescriptive CDK advice for building applications on AWS
19
- - AWS Well-Architected guidance for CDK applications
20
- - Security and compliance recommendations
18
+ ### CDK General Guidance
21
19
 
22
- - **CDK Nag Integration** - Work with CDK Nag rules for security and compliance
23
- - Explain specific CDK Nag rules with AWS Well-Architected guidance
24
- - Check if CDK code contains Nag suppressions that require human review
20
+ - Prescriptive patterns with AWS Solutions Constructs and GenAI CDK libraries
21
+ - Structured decision flow for choosing appropriate implementation approaches
22
+ - Security automation through CDK Nag integration and Lambda Powertools
25
23
 
26
- - **AWS Solutions Constructs** - Search and discover AWS Solutions Constructs patterns
27
- - Find recommended patterns for common architecture needs
28
- - Get detailed documentation on Solutions Constructs
24
+ ### CDK Nag Integration
29
25
 
30
- - **Generative AI CDK Constructs** - Search for GenAI CDK constructs by name or type
31
- - Discover specialized constructs for AI/ML workloads
32
- - Get implementation guidance for generative AI applications
26
+ - Work with CDK Nag rules for security and compliance
27
+ - Explain specific CDK Nag rules with AWS Well-Architected guidance
28
+ - Check if CDK code contains Nag suppressions that require human review
33
29
 
34
- - **Amazon Bedrock Agent Schema Generation** - Generate OpenAPI schema for Bedrock Agent Action Groups
35
- - Streamline the creation of Bedrock Agent schemas
36
- - Convert code files to compatible OpenAPI specifications
30
+ ### AWS Solutions Constructs
31
+
32
+ - Search and discover AWS Solutions Constructs patterns
33
+ - Find recommended patterns for common architecture needs
34
+ - Get detailed documentation on Solutions Constructs
35
+
36
+ ### Generative AI CDK Constructs
37
+
38
+ - Search for GenAI CDK constructs by name or type
39
+ - Discover specialized constructs for AI/ML workloads
40
+ - Get implementation guidance for generative AI applications
41
+
42
+ ### Amazon Bedrock Agent Schema Generation
43
+
44
+ - Generate OpenAPI schema for Bedrock Agent Action Groups
45
+ - Streamline the creation of Bedrock Agent schemas
46
+ - Convert code files to compatible OpenAPI specifications
37
47
 
38
48
  ## Tools and Resources
39
49
 
@@ -13,7 +13,7 @@ awslabs/cdk_mcp_server/data/genai_cdk_loader.py,sha256=Q_-tnYu9VNe9lbAxN6qfvBQWY
13
13
  awslabs/cdk_mcp_server/data/lambda_powertools_loader.py,sha256=sQfZrmA2hZdd1NSK0hCb5l4kl7jlQ3xhxs28KgEB4Dw,1630
14
14
  awslabs/cdk_mcp_server/data/schema_generator.py,sha256=vQaZiasOyVam0NNmtzo6D6hy7ynsndRR2I56OBwQlag,27879
15
15
  awslabs/cdk_mcp_server/data/solutions_constructs_parser.py,sha256=SL3ZjvCSALmiQlHEMsoDbnbtKxFAPl-mTurciCgj3G8,27656
16
- awslabs/cdk_mcp_server/static/CDK_GENERAL_GUIDANCE.md,sha256=bZJRzb-14lVOIceQnUTvzb4_QoPg2g3O4NgPavXYiz0,9919
16
+ awslabs/cdk_mcp_server/static/CDK_GENERAL_GUIDANCE.md,sha256=E-oIFBGkvHg95u909rJDrGJdo4t7aCeTLZsXQ47Fyhc,9925
17
17
  awslabs/cdk_mcp_server/static/CDK_NAG_GUIDANCE.md,sha256=zJtHJp9ruaaJ-xa68k9kDrPmEaXpiWCZZf7JIy8NK0w,5839
18
18
  awslabs/cdk_mcp_server/static/__init__.py,sha256=JJ9ptA-cG8muKCoJgjPKUoCc2q2ks8gBJNbjJTHZS3o,194
19
19
  awslabs/cdk_mcp_server/static/bedrock/bedrockguardrails.md,sha256=CX00B7XgDpLbVxvf6B-a13O4NERAJMiaPPeTuKK-8Sw,7386
@@ -25,7 +25,7 @@ awslabs/cdk_mcp_server/static/bedrock/agent/creation.md,sha256=BzpVJkRs_q1ZkW8Ln
25
25
  awslabs/cdk_mcp_server/static/bedrock/agent/custom_orchestration.md,sha256=ylMTq3PT3vHnrul_boLuQIGQFuk_Y0evdImp_pLY7rY,2983
26
26
  awslabs/cdk_mcp_server/static/bedrock/agent/overview.md,sha256=4FLhC3CC01W9Gpw4S0Z6yWPnM86p2nJ_dxQ1yU4Xsxw,2921
27
27
  awslabs/cdk_mcp_server/static/bedrock/agent/prompt_override.md,sha256=ypmKxlO5WIYqUh2gYDzo1Mwzso_HwSkzrMHeDU473C8,2520
28
- awslabs/cdk_mcp_server/static/bedrock/knowledgebases/chunking.md,sha256=TpLXPJso6c4MhWUepX0WsX3FE6FOIsFBPcE28B-3iKM,3203
28
+ awslabs/cdk_mcp_server/static/bedrock/knowledgebases/chunking.md,sha256=xlO23xjesPFGgv_FZm2AkRzQVH3nSFD2GpbddXJX2gM,3201
29
29
  awslabs/cdk_mcp_server/static/bedrock/knowledgebases/datasources.md,sha256=iHQ086zHzkqHoKLi7pmyMxf0oH02UVHf_GAid6EMdeE,7147
30
30
  awslabs/cdk_mcp_server/static/bedrock/knowledgebases/kendra.md,sha256=sYbhIAaGjuJ2lifP0xvDXacDEVFC24Gl9giAI6RF9bo,2786
31
31
  awslabs/cdk_mcp_server/static/bedrock/knowledgebases/overview.md,sha256=AGLS6146UufRTC80EAyAviBhAtb7hFcbMz3tWFviPOc,5167
@@ -66,7 +66,7 @@ awslabs/cdk_mcp_server/static/lambda_powertools/metrics.md,sha256=XpQHtNSQRKN3GU
66
66
  awslabs/cdk_mcp_server/static/lambda_powertools/tracing.md,sha256=Q3dSCvgktb9sUsuuQ5ONU2Qdb1OTwbNOYpK--MDzBNw,2539
67
67
  awslabs/cdk_mcp_server/static/opensearch-vectorindex/overview.md,sha256=0aSuBwX4ubI5WqwEfrnX1MH2UJlJOzdXZQ003fRIrGM,4121
68
68
  awslabs/cdk_mcp_server/static/opensearchserverless/overview.md,sha256=aUO1BRana_xqUPENP3GQyOSCAvV9mI-ZWls7x0g8ruA,746
69
- awslabs_cdk_mcp_server-0.0.31004.dist-info/METADATA,sha256=HkaHCbgnYTWxRslpcr2GjyS5UIQnGaLQHGN5Z3TIHnE,3591
70
- awslabs_cdk_mcp_server-0.0.31004.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
71
- awslabs_cdk_mcp_server-0.0.31004.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
72
- awslabs_cdk_mcp_server-0.0.31004.dist-info/RECORD,,
69
+ awslabs_cdk_mcp_server-0.0.62303.dist-info/METADATA,sha256=FFFL7SlFEWlvq9ThUjvrIJ9aZAs0lM5NUcJImlz1AkU,3638
70
+ awslabs_cdk_mcp_server-0.0.62303.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
71
+ awslabs_cdk_mcp_server-0.0.62303.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
72
+ awslabs_cdk_mcp_server-0.0.62303.dist-info/RECORD,,