Emfirge
v0.2.1Git branch for your cloud.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
emfirge_setup_help
Returns the AWS CloudFormation deploy URL for setting up the read-only IAM role. Call this when the user does not have a role ARN yet, or if emfirge_scan returns 403. CRITICAL: After calling this tool, paste the deploy URL verbatim in your reply to the user. Many MCP clients (Claude Code, Codex CLI, Kiro CLI) hide tool output by default, so saying 'click the link above' will leave the user with nothing to click.
emfirge_scan
Scan an AWS account for security risks. Returns risk score (0-100), finding counts, and an analysis_id for the other tools. Resource IDs are tokenized by default.
| Parameter | Type | Description |
|---|---|---|
region * | string | AWS region to scan (e.g., us-east-1, ap-south-1, eu-west-1, eu-central-1, ap-southeast-2). REQUIRED — there is no default. Most AWS resources are region-specific, so scanning the wrong region return… |
role_arn * | string | AWS IAM role ARN to assume. Must trust Emfirge's account with ExternalId 'aws-risk-agent'. If the user doesn't have one, call emfirge_setup_help first. |
emfirge_get_findings
Get the full findings list for a previous scan, optionally filtered by severity (Critical/Moderate/Low). Each finding has rule_id, issue, recommendation, attack_path, blast_radius, MITRE mapping.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | string | Analysis ID returned by emfirge_scan |
severity | string | Filter findings by severity. Omit to get all. |
emfirge_attack_paths
Get attack paths from the internet to internal resources. Shows pivot routes from public-facing resources to crown jewels. Also returns chokepoint and orphaned resources.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | string | Analysis ID returned by emfirge_scan |
emfirge_verify_fix
Simulate fixing a finding without applying changes. Clones the infra, applies the rule's mutation, rebuilds the graph, re-runs all rules, returns score delta + which other findings get resolved.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | string | Analysis ID returned by emfirge_scan |
resource_id * | string | AWS resource ID (sg-..., i-..., arn:...) OR a token from a previous response (SG_001). Tokens are auto-expanded. |
rule_id * | string | Rule ID like EMFIRGE-EC2-002 (or short form EC2-002) |
emfirge_check_compliance
Get CIS AWS Foundations 1.5 or SOC 2 compliance status. Returns per-control pass/fail with the findings that triggered each failure.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | string | Analysis ID returned by emfirge_scan |
framework | string | Framework to filter by. Omit to get all. |
emfirge_simulate_breach
Walk a full kill chain end-to-end against the infrastructure graph. Given a natural-language scenario or 'what if' query, returns verdict + severity + every stage of the attack (entry → pivot → impact) + blast radius + follow-up moves. Read-only — no AWS changes.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | string | Analysis ID returned by emfirge_scan |
query * | string | Natural-language query about the infra. Examples: 'what gets exposed if SG_001 opens port 80', 'show the worst attack path'. Tokens like SG_001 are auto-expanded. |