awslabs.cdk-mcp-server 0.0.81650__py3-none-any.whl → 0.0.91005__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.
@@ -200,47 +200,47 @@ For complete implementation details and examples for all languages, see the [lam
200
200
  ```mermaid
201
201
  graph TD
202
202
  Start([Start]) --> Init["cdk init app"]
203
-
203
+
204
204
  Init --> B{Choose Approach}
205
205
  B -->|"Common Patterns"| C1["GetAwsSolutionsConstructPattern"]
206
206
  B -->|"GenAI Features"| C2["SearchGenAICDKConstructs"]
207
207
  B -->|"Custom Needs"| C3["Custom CDK Code"]
208
-
208
+
209
209
  C1 --> D1["Implement Solutions Construct"]
210
210
  C2 --> D2["Implement GenAI Constructs"]
211
211
  C3 --> D3["Implement Custom Resources"]
212
-
212
+
213
213
  %% Bedrock Agent with Action Groups specific flow
214
214
  D2 -->|"For Bedrock Agents<br/>with Action Groups"| BA["Create Lambda with<br/>BedrockAgentResolver"]
215
-
215
+
216
216
  %% Schema generation flow
217
217
  BA --> BS["GenerateBedrockAgentSchema"]
218
218
  BS -->|"Success"| JSON["openapi.json created"]
219
219
  BS -->|"Import Errors"| BSF["Tool generates<br/>generate_schema.py"]
220
220
  BSF --> BSR["Run script manually:<br/>python generate_schema.py"]
221
221
  BSR --> JSON["openapi.json created"]
222
-
222
+
223
223
  %% Use schema in Agent CDK
224
224
  JSON --> AgentCDK["Use schema in<br/>Agent CDK code"]
225
225
  AgentCDK --> D2
226
-
226
+
227
227
  %% Conditional Lambda Powertools implementation
228
228
  D1 & D2 & D3 --> HasLambda{"Using Lambda<br/>Functions?"}
229
229
  HasLambda -->|"Yes"| L["Add Lambda Powertools<br/>and create Layer"]
230
230
  HasLambda -->|"No"| SkipL["Skip Lambda<br/>Powertools"]
231
-
231
+
232
232
  %% Rest of workflow
233
233
  L --> Synth["cdk synth"]
234
234
  SkipL --> Synth
235
-
235
+
236
236
  Synth --> Nag{"CDK Nag<br/>warnings?"}
237
237
  Nag -->|Yes| E["ExplainCDKNagRule"]
238
238
  Nag -->|No| Deploy["cdk deploy"]
239
-
239
+
240
240
  E --> Fix["Fix or Add Suppressions"]
241
241
  Fix --> CN["CheckCDKNagSuppressions"]
242
242
  CN --> Synth
243
-
243
+
244
244
  %% Styling with darker colors
245
245
  classDef default fill:#424242,stroke:#ffffff,stroke-width:1px,color:#ffffff;
246
246
  classDef cmd fill:#4a148c,stroke:#ffffff,stroke-width:1px,color:#ffffff;
@@ -248,7 +248,7 @@ graph TD
248
248
  classDef note fill:#1b5e20,stroke:#ffffff,stroke-width:1px,color:#ffffff;
249
249
  classDef output fill:#006064,stroke:#ffffff,stroke-width:1px,color:#ffffff;
250
250
  classDef decision fill:#5d4037,stroke:#ffffff,stroke-width:1px,color:#ffffff;
251
-
251
+
252
252
  class Init,Synth,Deploy,BSR cmd;
253
253
  class C1,C2,BS,E,CN tool;
254
254
  class JSON output;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.cdk-mcp-server
3
- Version: 0.0.81650
3
+ Version: 0.0.91005
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
@@ -58,19 +58,19 @@ This diagram provides a comprehensive view of the recommended CDK implementation
58
58
  ```mermaid
59
59
  graph TD
60
60
  Start([Start]) --> Init["cdk init app"]
61
-
61
+
62
62
  Init --> B{Choose Approach}
63
63
  B -->|"Common Patterns"| C1["GetAwsSolutionsConstructPattern"]
64
64
  B -->|"GenAI Features"| C2["SearchGenAICDKConstructs"]
65
65
  B -->|"Custom Needs"| C3["Custom CDK Code"]
66
-
66
+
67
67
  C1 --> D1["Implement Solutions Construct"]
68
68
  C2 --> D2["Implement GenAI Constructs"]
69
69
  C3 --> D3["Implement Custom Resources"]
70
-
70
+
71
71
  %% Bedrock Agent with Action Groups specific flow
72
72
  D2 -->|"For Bedrock Agents<br/>with Action Groups"| BA["Create Lambda with<br/>BedrockAgentResolver"]
73
-
73
+
74
74
  %% Schema generation flow
75
75
  BA --> BS["GenerateBedrockAgentSchema"]
76
76
  BS -->|"Success"| JSON["openapi.json created"]
@@ -78,28 +78,28 @@ graph TD
78
78
  BSF -->|"Missing dependencies?"| InstallDeps["Install dependencies"]
79
79
  InstallDeps --> BSR["Run script manually:<br/>python generate_schema.py"]
80
80
  BSR --> JSON["openapi.json created"]
81
-
81
+
82
82
  %% Use schema in Agent CDK
83
83
  JSON --> AgentCDK["Use schema in<br/>Agent CDK code"]
84
84
  AgentCDK --> D2
85
-
85
+
86
86
  %% Conditional Lambda Powertools implementation
87
87
  D1 & D2 & D3 --> HasLambda{"Using Lambda<br/>Functions?"}
88
88
  HasLambda -->|"Yes"| L["Add Lambda Powertools<br/>and create Layer"]
89
89
  HasLambda -->|"No"| SkipL["Skip Lambda<br/>Powertools"]
90
-
90
+
91
91
  %% Rest of workflow
92
92
  L --> Synth["cdk synth"]
93
93
  SkipL --> Synth
94
-
94
+
95
95
  Synth --> Nag{"CDK Nag<br/>warnings?"}
96
96
  Nag -->|Yes| E["ExplainCDKNagRule"]
97
97
  Nag -->|No| Deploy["cdk deploy"]
98
-
98
+
99
99
  E --> Fix["Fix or Add Suppressions"]
100
100
  Fix --> CN["CheckCDKNagSuppressions"]
101
101
  CN --> Synth
102
-
102
+
103
103
  %% Styling with darker colors
104
104
  classDef default fill:#424242,stroke:#ffffff,stroke-width:1px,color:#ffffff;
105
105
  classDef cmd fill:#4a148c,stroke:#ffffff,stroke-width:1px,color:#ffffff;
@@ -107,7 +107,7 @@ graph TD
107
107
  classDef note fill:#1b5e20,stroke:#ffffff,stroke-width:1px,color:#ffffff;
108
108
  classDef output fill:#006064,stroke:#ffffff,stroke-width:1px,color:#ffffff;
109
109
  classDef decision fill:#5d4037,stroke:#ffffff,stroke-width:1px,color:#ffffff;
110
-
110
+
111
111
  class Init,Synth,Deploy,BSR cmd;
112
112
  class C1,C2,BS,E,CN tool;
113
113
  class JSON output;
@@ -13,7 +13,7 @@ awslabs/cdk_mcp_server/data/genai_cdk_loader.py,sha256=detHbuKZYmJrsJi5UzZYZsU0h
13
13
  awslabs/cdk_mcp_server/data/lambda_powertools_loader.py,sha256=XtJb8tTYhmAQ6Ulor6nhKWLQ56aIh2eElpBuw2D9sco,2411
14
14
  awslabs/cdk_mcp_server/data/schema_generator.py,sha256=hAVRE2Hue7nQVf61BjYWBhyqQx7s5_YmfPXxYR3t_sg,29251
15
15
  awslabs/cdk_mcp_server/data/solutions_constructs_parser.py,sha256=ceIZwKlj_zdxC1Z17NZ2FKCeVFwNZCoj7GwTjDlC_Q4,28215
16
- awslabs/cdk_mcp_server/static/CDK_GENERAL_GUIDANCE.md,sha256=aFUZvhfELhS7UEffFIzJM-tRS8a7Aj13X9O7FnGN0UI,12245
16
+ awslabs/cdk_mcp_server/static/CDK_GENERAL_GUIDANCE.md,sha256=I4jSgpKA3lJtNps0pFxUg-zuf6Axuru7yZYu7gSyegM,12201
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=Tq3PnIhXqHDYM8JWmGYaLz4rKX23X2zVxP_DpLVBeZo,770
19
19
  awslabs/cdk_mcp_server/static/genai_cdk/bedrock/bedrockguardrails.md,sha256=CX00B7XgDpLbVxvf6B-a13O4NERAJMiaPPeTuKK-8Sw,7386
@@ -45,7 +45,7 @@ awslabs/cdk_mcp_server/static/lambda_powertools/insights.md,sha256=t-lgyx2AstqXu
45
45
  awslabs/cdk_mcp_server/static/lambda_powertools/logging.md,sha256=6CSgD8QB3Bs4s_x4RnbKwZoWvG6aG4etCnmDH6HU9XY,1797
46
46
  awslabs/cdk_mcp_server/static/lambda_powertools/metrics.md,sha256=XpQHtNSQRKN3GUqQWkk1lTfQSRC0LmW6VoX1dlwEvnQ,3182
47
47
  awslabs/cdk_mcp_server/static/lambda_powertools/tracing.md,sha256=Q3dSCvgktb9sUsuuQ5ONU2Qdb1OTwbNOYpK--MDzBNw,2539
48
- awslabs_cdk_mcp_server-0.0.81650.dist-info/METADATA,sha256=z_gF-UvglmZxcwqGBNmjT3JGlfKUOMm5R_xFxMaqIO4,6508
49
- awslabs_cdk_mcp_server-0.0.81650.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
50
- awslabs_cdk_mcp_server-0.0.81650.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
51
- awslabs_cdk_mcp_server-0.0.81650.dist-info/RECORD,,
48
+ awslabs_cdk_mcp_server-0.0.91005.dist-info/METADATA,sha256=Mql8HMDVCMOPFTX0A9q-ZC9C5kRbtUplmuFi6SfSTy4,6464
49
+ awslabs_cdk_mcp_server-0.0.91005.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
50
+ awslabs_cdk_mcp_server-0.0.91005.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
51
+ awslabs_cdk_mcp_server-0.0.91005.dist-info/RECORD,,