aws-security-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region to scope scans (defaults to configured region) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scan_allB | Run all security scanners in parallel (including service detection). Read-only. Does not modify any AWS resources. Supports multi-account org scanning. |
| detect_servicesC | Run Security Service Detection security scanner only. Read-only. Does not modify any AWS resources. |
| scan_secret_exposureB | Run Secret Exposure security scanner only. Read-only. Does not modify any AWS resources. |
| scan_ssl_certificateB | Run SSL Certificate security scanner only. Read-only. Does not modify any AWS resources. |
| scan_dns_danglingA | Run Dangling DNS security scanner only. Read-only. Does not modify any AWS resources. |
| scan_network_reachabilityB | Run Network Reachability security scanner only. Read-only. Does not modify any AWS resources. |
| scan_iam_privilege_escalationB | Run IAM Privilege Escalation security scanner only. Read-only. Does not modify any AWS resources. |
| scan_public_access_verifyC | Run Public Access Verify security scanner only. Read-only. Does not modify any AWS resources. |
| scan_tag_complianceA | Run Tag Compliance security scanner only. Read-only. Does not modify any AWS resources. |
| scan_idle_resourcesA | Run Idle Resources security scanner only. Read-only. Does not modify any AWS resources. |
| scan_disaster_recoveryB | Run Disaster Recovery security scanner only. Read-only. Does not modify any AWS resources. |
| scan_security_hub_findingsA | Run Security Hub Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_guardduty_findingsB | Run GuardDuty Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_inspector_findingsB | Run Inspector Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_trusted_advisor_findingsB | Run Trusted Advisor Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_config_rules_findingsB | Run Config Rules Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_access_analyzer_findingsB | Run Access Analyzer Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_patch_compliance_findingsB | Run Patch Compliance Findings security scanner only. Read-only. Does not modify any AWS resources. |
| scan_imdsv2_enforcementA | Run IMDSv2 Enforcement security scanner only. Read-only. Does not modify any AWS resources. |
| scan_waf_coverageA | Run WAF Coverage security scanner only. Read-only. Does not modify any AWS resources. |
| scan_rms_compliance_findingsB | Run RMS Compliance Findings (Huawei Cloud) security scanner only. Read-only. Does not modify any AWS resources. |
| scan_config_compliance_findingsC | Run Config Compliance Findings (Alibaba Cloud, experimental) security scanner only. Read-only. Does not modify any AWS resources. |
| scan_defender_assessment_findingsB | Run Defender for Cloud Assessment Findings (Azure, experimental) security scanner only. Read-only. Does not modify any AWS resources. |
| scan_ecr_image_cveA | Deep-scan ECR image layers for critical/high CVEs missed by ECR Basic/Inspector Enhanced scanning (unmanaged binaries, distro secdb gaps). Reports gap/confirmed/reverse-gap classification against official scan results. Read-only. |
| prioritize_vulnerabilitiesA | List CVE vulnerabilities ordered by exploitability priority (P0 first) using threat intel (public exploit, EPSS, CISA KEV) and configured exposure (public IP, security groups, NACLs, running state). Pulls Inspector2 findings directly, falling back to the Security Hub Inspector subset. Prioritization only — not penetration testing; read-only, no active probing. AWS only. |
| scan_groupB | Run a predefined group of security scanners for a specific scenario (e.g., MLPS compliance, network defense). Read-only. Supports multi-account org scanning. |
| list_groupsA | List available scan groups with descriptions. Read-only. |
| generate_reportA | Generate a Markdown security report from scan results. Read-only. Does not modify any AWS resources. |
| generate_mlps3_reportA | Generate a GB/T 22239-2019 等保三级 compliance pre-check report from scan results. Best used with scan_group mlps3_precheck results. Read-only. |
| generate_html_reportC | Generate a professional HTML security report. Save the output as an .html file. |
| generate_mlps3_html_reportC | Generate a professional HTML MLPS Level 3 compliance report (等保三级). Save as .html file. |
| get_ai_summary_promptA | Return a report-type-tailored prompt (with a grounded findings digest) that the CALLING AI should run to produce an AI security summary. Then pass the generated text back via the |
| generate_hw_defense_reportB | Generate an HTML report organized by HW Defense (护网) SOP checklist categories. Save as .html file. |
| generate_maturity_reportB | Generate a security maturity assessment report from scan_all results. Requires service_detection module output. Read-only. |
| save_resultsA | Saves scan results to local disk or S3 for dashboard display. Does not modify any AWS resources. |
| list_modulesA | List available security scan modules with descriptions. Read-only. Does not modify any AWS resources. |
| list_org_accountsA | List all accounts in the AWS Organization. Useful for discovering accounts before multi-account scanning. Read-only. |
| get_setup_templateA | Returns the CloudFormation StackSet template for deploying the cross-account security audit IAM role. Read-only. |
| scan_and_reportB | Run a full security scan AND generate reports in one step. Avoids large data transfer between tools. Reports are saved to ~/.aws-security/reports/ |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| security-scan | Run a full AWS security scan workflow: scan all modules, generate a report, and summarize findings. |
| analyze-finding | Deep analysis of a specific security finding. |
| hw_defense_checklist | 护网行动完整检查清单 — 包含自动化扫描项和人工检查项 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| security-rules | Describes all 20 scan modules and their check rules |
| risk-scoring | Describes the risk scoring model and severity/priority mapping |
TDQS
Scored across 39 tools
Most tools are clearly separated by scanner domain (GuardDuty vs Inspector vs Security Hub) or by output format. The main risk is the report matrix — generate_report / generate_html_report / generate_mlps3_report / generate_mlps3_html_report / generate_hw_defense_report / generate_maturity_report — plus three similarly named cloud compliance scanners (config_rules vs config_compliance vs rms_compliance) that could be misselected. Descriptions do disambiguate in each case, so confusion is possible but recoverable.
Strong snake_case verb_noun convention throughout: scan_*, list_*, generate_*_report, get_*, save_results. Minor deviations break the pattern: detect_services is a scanner but lacks the scan_ prefix, and save_results / prioritize_vulnerabilities omit the resource object implied elsewhere. Overall predictable and readable.
39 tools is heavy for a single server, inflated by ~22 single-scanner wrappers that duplicate what scan_all and scan_group already provide. Each scanner is arguably useful for targeted runs, and the aggregate tools mitigate the surface, but the count sits above a comfortable ceiling and pushes agents toward scanning everything by default.
Covers the full read-only audit lifecycle: discovery (list_modules, list_groups, list_org_accounts), scanning (scan_all, scan_group, per-service scanners), triage (prioritize_vulnerabilities, scan_ecr_image_cve), and reporting (Markdown/HTML/MLPS3/HW-def/report-saving). Minor gaps: no tool to list or retrieve previously saved scan results/reports, and no scan history or scheduling, so follow-up sessions must re-scan.