treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
PROJECT README
DeepSeek Harness (DSH) 的插件:CDK最佳实践服务
AWS CDK MCP Server是一个提供AWS Cloud Development Kit (CDK)最佳实践、基础设施即代码模式和CDK Nag安全合规性的工具,适用于开发者在构建AWS应用程序时获取指导和建议。
Args: ctx: MCP context
CDK Nag is a crucial tool for ensuring your CDK applications follow AWS security best practices.
Basic implementation:
import { App } from 'aws-cdk-lib';
import { AwsSolutionsChecks } from 'cdk-nag';
const app = new App();
// Create your stack
const stack = new MyStack(app, 'MyStack');
// Apply CDK Nag
AwsSolutionsChecks.check(app);
Optional integration patterns:
Using environment variables:
if (process.env.ENABLE_CDK_NAG === 'true') {
AwsSolutionsChecks.check(app);
}
Using CDK context parameters:
Environment-specific application:
const environment = app.node.tryGetContext('environment') || 'development';
if (['production', 'staging'].includes(environment)) {
AwsSolutionsChecks.check(stack);
}
For more information on specific rule packs:
cdk-nag://rules/{rule_pack} to get all rules for a specific packcdk-nag://warnings/{rule_pack} to get warnings for a specific packcdk-nag://errors/{rule_pack} to get errors for a specific packArgs: ctx: MCP context rule_id: The CDK Nag rule ID (e.g., 'AwsSolutions-IAM4')
Returns: Dictionary with detailed explanation and remediation steps
Check if CDK code contains Nag suppressions that require human review.
Scans TypeScript/JavaScript code for NagSuppressions usage to ensure security suppressions receive proper human oversight and justification.
Args: ctx: MCP context code: CDK code to analyze (TypeScript/JavaScript) file_path: Path to a file containing CDK code to analyze
Returns: Analysis results with suppression details and security guidance
Generate OpenAPI schema for Bedrock Agent Action Groups from a file.
This tool converts a Lambda file with BedrockAgentResolver into a Bedrock-compatible OpenAPI schema. It uses a progressive approach to handle common issues:
Args: ctx: MCP context lambda_code_path: Path to Python file containing BedrockAgentResolver app output_path: Where to save the generated schema
Returns: Dictionary with schema generation results, including status, path to generated schema, and diagnostic information if errors occurred
AWS Solutions Constructs are vetted architecture patterns that combine multiple AWS services to solve common use cases following AWS Well-Architected best practices.
Key benefits:
When to use Solutions Constructs:
This tool provides metadata about patterns. For complete documentation, use the resource URI returned in the 'documentation_uri' field.
Args: ctx: MCP context pattern_name: Optional name of the specific pattern (e.g., 'aws-lambda-dynamodb') services: Optional list of AWS services to search for patterns that use them (e.g., ['lambda', 'dynamodb'])
Returns: Dictionary with pattern metadata including description, services, and documentation URI
The search is flexible and will match any of your search terms (OR logic). It handles common variations like singular/plural forms and terms with/without spaces. Content is fetched dynamically from GitHub to ensure the most up-to-date documentation.
Examples:
The search supports subdirectory content (like knowledge bases and their sections) and will find matches across all available content.
Args: ctx: MCP context query: Search term(s) to find constructs by name or description construct_type: Optional filter by construct type ('bedrock', 'opensearchserverless', etc.)
Returns: Dictionary with matching constructs and resource URIs
This tool returns information about where to find documentation for Lambda layers and instructs the MCP Client to fetch and process this documentation.
Args: ctx: MCP context layer_type: Type of layer ("generic" or "python")
Returns: Dictionary with documentation source information
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-awslabs-cdk
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-awslabs-cdk
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
前往 小笨羊官网 注册并获取 API 密钥。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: development、开发、工具。