awslabs.cdk-mcp-server 1.0.9__py3-none-any.whl → 1.0.10__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.
@@ -18,4 +18,4 @@ from awslabs.cdk_mcp_server.core.server import main, mcp
18
18
 
19
19
  __all__ = ['main', 'mcp']
20
20
 
21
- __version__ = '1.0.9'
21
+ __version__ = '1.0.10'
@@ -17,6 +17,7 @@
17
17
  import logging
18
18
  import os
19
19
  import re
20
+ import warnings
20
21
  from awslabs.cdk_mcp_server.core import search_utils
21
22
  from awslabs.cdk_mcp_server.data.cdk_nag_parser import (
22
23
  check_cdk_nag_suppressions,
@@ -140,7 +141,9 @@ async def check_cdk_nag_suppressions_tool(
140
141
  code: Optional[str] = None,
141
142
  file_path: Optional[str] = None,
142
143
  ) -> Dict[str, Any]:
143
- """Check if CDK code contains Nag suppressions that require human review.
144
+ """DEPRECATED: This tool is deprecated. Please use the AWS IaC MCP Server instead.
145
+
146
+ Check if CDK code contains Nag suppressions that require human review.
144
147
 
145
148
  Scans TypeScript/JavaScript code for NagSuppressions usage to ensure security
146
149
  suppressions receive proper human oversight and justification.
@@ -153,6 +156,9 @@ async def check_cdk_nag_suppressions_tool(
153
156
  Returns:
154
157
  Analysis results with suppression details and security guidance
155
158
  """
159
+ msg = 'CheckCDKNagSuppressions tool is deprecated. Please use the AWS IaC MCP Server instead.'
160
+ warnings.warn(msg, DeprecationWarning, stacklevel=1)
161
+
156
162
  # Use the imported function from cdk_nag_parser.py
157
163
  return check_cdk_nag_suppressions(code=code, file_path=file_path)
158
164
 
@@ -224,7 +230,9 @@ def save_fallback_script_to_file(
224
230
  async def bedrock_schema_generator_from_file(
225
231
  ctx: Context, lambda_code_path: str, output_path: str
226
232
  ) -> Dict[str, Any]:
227
- """Generate OpenAPI schema for Bedrock Agent Action Groups from a file.
233
+ """DEPRECATED: This tool is deprecated. Please use the AWS IaC MCP Server instead.
234
+
235
+ Generate OpenAPI schema for Bedrock Agent Action Groups from a file.
228
236
 
229
237
  This tool converts a Lambda file with BedrockAgentResolver into a Bedrock-compatible
230
238
  OpenAPI schema. It uses a progressive approach to handle common issues:
@@ -241,6 +249,11 @@ async def bedrock_schema_generator_from_file(
241
249
  Dictionary with schema generation results, including status, path to generated schema,
242
250
  and diagnostic information if errors occurred
243
251
  """
252
+ msg = (
253
+ 'GenerateBedrockAgentSchema tool is deprecated. Please use the AWS IaC MCP Server instead.'
254
+ )
255
+ warnings.warn(msg, DeprecationWarning, stacklevel=1)
256
+
244
257
  # Ensure the output directory exists
245
258
  os.makedirs(os.path.dirname(os.path.abspath(output_path)), exist_ok=True)
246
259
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.cdk-mcp-server
3
- Version: 1.0.9
3
+ Version: 1.0.10
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
  Project-URL: Homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: Documentation, https://awslabs.github.io/mcp/servers/cdk-mcp-server/
@@ -24,12 +24,14 @@ Requires-Python: >=3.10
24
24
  Requires-Dist: aws-lambda-powertools>=2.30.0
25
25
  Requires-Dist: bs4>=0.0.2
26
26
  Requires-Dist: httpx>=0.27.0
27
- Requires-Dist: mcp[cli]>=1.11.0
27
+ Requires-Dist: mcp[cli]>=1.23.0
28
28
  Requires-Dist: pydantic>=2.10.6
29
29
  Description-Content-Type: text/markdown
30
30
 
31
31
  # AWS CDK MCP Server
32
32
 
33
+ > **⚠️ DEPRECATION NOTICE**: This server is deprecated and will be removed in a future release. Please use the [AWS IaC MCP Server](https://github.com/awslabs/mcp/tree/main/src/aws-iac-mcp-server) instead, which provides all CDK functionality along with additional Infrastructure as Code capabilities.
34
+
33
35
  MCP server for AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.
34
36
 
35
37
  ## Features
@@ -1,11 +1,11 @@
1
1
  awslabs/__init__.py,sha256=O4wlFva3THWmjfaXfJAwi29mxJSKIhM0jcebVfd3S5U,615
2
- awslabs/cdk_mcp_server/__init__.py,sha256=TbchPr-2wIpej3D1rbO3zwNc0QC81HWrwzettPfwlhs,805
2
+ awslabs/cdk_mcp_server/__init__.py,sha256=lDWAIzPw-GqIeVlKbnRHiBMYWXEGN53oYdGnh6cYeGA,806
3
3
  awslabs/cdk_mcp_server/server.py,sha256=vbJAWSVLFeUfgJUl1pHpMlSYlPLWg8ADIBkPPC8UJeA,750
4
4
  awslabs/cdk_mcp_server/core/__init__.py,sha256=lg06bz7GZihlkgphT08Jm5GLEjaXmw5Nu4CPAuLaMVY,662
5
5
  awslabs/cdk_mcp_server/core/resources.py,sha256=hdkQ8zHcur4ABkJxO0X7Uo-my8Ky3RXthYcrBqRdav0,13719
6
6
  awslabs/cdk_mcp_server/core/search_utils.py,sha256=AbPLHOemabsUlBI-AG-FbOG_8rZwUi61isOjxUQb8-U,6201
7
7
  awslabs/cdk_mcp_server/core/server.py,sha256=_8P1DRzM2FoYkn1qLme7wzq1IwtlWFz7LvHsc7f9rWs,2907
8
- awslabs/cdk_mcp_server/core/tools.py,sha256=B3sGgneIUO_Z6rqESg_ST6yRTpdo6zQ4W5EKz1j2uAg,22064
8
+ awslabs/cdk_mcp_server/core/tools.py,sha256=OiHvo08dxcsc8Hc6b4bvo4V9GWDoOteGXRtkq2lHGWo,22583
9
9
  awslabs/cdk_mcp_server/data/__init__.py,sha256=r9AbmVGfvdjeev2ntddTE6Llzy3owN5qGxpYNLFqDp8,662
10
10
  awslabs/cdk_mcp_server/data/cdk_nag_parser.py,sha256=Q-jU9c0mMkbkOba1k9ZzeKMoUZaAnzdKwIvEgAh5-as,11534
11
11
  awslabs/cdk_mcp_server/data/construct_descriptions.py,sha256=VMqmqpdegct6XGJSPJeeml7A5qbk5WtFA6D-Ru1CX0U,3221
@@ -25,9 +25,9 @@ awslabs/cdk_mcp_server/static/lambda_powertools/insights.md,sha256=jcyOHZvKHk2Cg
25
25
  awslabs/cdk_mcp_server/static/lambda_powertools/logging.md,sha256=6CSgD8QB3Bs4s_x4RnbKwZoWvG6aG4etCnmDH6HU9XY,1797
26
26
  awslabs/cdk_mcp_server/static/lambda_powertools/metrics.md,sha256=DQlznxRizJep8jphzFgbk7crH5LwWjSjdygP-1K6mxk,2559
27
27
  awslabs/cdk_mcp_server/static/lambda_powertools/tracing.md,sha256=Q3dSCvgktb9sUsuuQ5ONU2Qdb1OTwbNOYpK--MDzBNw,2539
28
- awslabs_cdk_mcp_server-1.0.9.dist-info/METADATA,sha256=vYDXTeYM0RvL5db1Y82kC3BdyV7u1iWYMtQgHrwkF1k,10394
29
- awslabs_cdk_mcp_server-1.0.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
30
- awslabs_cdk_mcp_server-1.0.9.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
31
- awslabs_cdk_mcp_server-1.0.9.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
32
- awslabs_cdk_mcp_server-1.0.9.dist-info/licenses/NOTICE,sha256=MNXNmhkltaxAzlo-r5BhjfS30nUE7I_w7cyDY8cxDL0,90
33
- awslabs_cdk_mcp_server-1.0.9.dist-info/RECORD,,
28
+ awslabs_cdk_mcp_server-1.0.10.dist-info/METADATA,sha256=_PizGDKwoc_zzZw3DTsKf3rjqyOKJ29kKKHNtYBpt1Q,10702
29
+ awslabs_cdk_mcp_server-1.0.10.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
30
+ awslabs_cdk_mcp_server-1.0.10.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
31
+ awslabs_cdk_mcp_server-1.0.10.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
32
+ awslabs_cdk_mcp_server-1.0.10.dist-info/licenses/NOTICE,sha256=MNXNmhkltaxAzlo-r5BhjfS30nUE7I_w7cyDY8cxDL0,90
33
+ awslabs_cdk_mcp_server-1.0.10.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any