Emfirge

v0.2.1
io.github.theanshsonkar/emfirge Checked 56 minutes ago Published 4 months ago

Git 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.

ParameterTypeDescription
region *stringAWS 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 *stringAWS 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.

ParameterTypeDescription
analysis_id *stringAnalysis ID returned by emfirge_scan
severitystringFilter 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.

ParameterTypeDescription
analysis_id *stringAnalysis 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.

ParameterTypeDescription
analysis_id *stringAnalysis ID returned by emfirge_scan
resource_id *stringAWS resource ID (sg-..., i-..., arn:...) OR a token from a previous response (SG_001). Tokens are auto-expanded.
rule_id *stringRule 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.

ParameterTypeDescription
analysis_id *stringAnalysis ID returned by emfirge_scan
frameworkstringFramework 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.

ParameterTypeDescription
analysis_id *stringAnalysis ID returned by emfirge_scan
query *stringNatural-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.