awslabs.cdk-mcp-server 1.0.9__py3-none-any.whl → 1.0.11__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.
- awslabs/__init__.py +4 -0
- awslabs/cdk_mcp_server/__init__.py +1 -1
- awslabs/cdk_mcp_server/core/tools.py +15 -2
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/METADATA +4 -2
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/RECORD +9 -9
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/WHEEL +1 -1
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/entry_points.txt +0 -0
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/licenses/LICENSE +0 -0
- {awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/licenses/NOTICE +0 -0
awslabs/__init__.py
CHANGED
|
@@ -11,3 +11,7 @@
|
|
|
11
11
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# This file is part of the awslabs namespace.
|
|
16
|
+
# It is intentionally minimal to support PEP 420 namespace packages.
|
|
17
|
+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
|
@@ -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
|
-
"""
|
|
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
|
-
"""
|
|
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.
|
|
3
|
+
Version: 1.0.11
|
|
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.
|
|
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
|
-
awslabs/__init__.py,sha256=
|
|
2
|
-
awslabs/cdk_mcp_server/__init__.py,sha256=
|
|
1
|
+
awslabs/__init__.py,sha256=S-EDeDHGZzllMFhAeuJx_47fv85t2OUMOcsOisD5d_8,796
|
|
2
|
+
awslabs/cdk_mcp_server/__init__.py,sha256=2ShlEC1_7e887tIppiN3vDg3ybjWLs2i0AUjo3lBm_w,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=
|
|
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.
|
|
29
|
-
awslabs_cdk_mcp_server-1.0.
|
|
30
|
-
awslabs_cdk_mcp_server-1.0.
|
|
31
|
-
awslabs_cdk_mcp_server-1.0.
|
|
32
|
-
awslabs_cdk_mcp_server-1.0.
|
|
33
|
-
awslabs_cdk_mcp_server-1.0.
|
|
28
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/METADATA,sha256=a5vHQfpU6VjFs1oFDoswp3_jlfh4KdHYcIpBCbs6Ra0,10702
|
|
29
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
30
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/entry_points.txt,sha256=LertzmID_mUU1YYZPySAF1IY1zE7ySTvzFxiGyo3VjY,78
|
|
31
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
32
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/licenses/NOTICE,sha256=MNXNmhkltaxAzlo-r5BhjfS30nUE7I_w7cyDY8cxDL0,90
|
|
33
|
+
awslabs_cdk_mcp_server-1.0.11.dist-info/RECORD,,
|
{awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{awslabs_cdk_mcp_server-1.0.9.dist-info → awslabs_cdk_mcp_server-1.0.11.dist-info}/licenses/NOTICE
RENAMED
|
File without changes
|