Integrate

MCP tool reference

The typed interface your agent uses to fork infrastructure, explore changes, and inspect their consequences across the documented lenses.

Using the tools

Emfirge runs as an MCP server that your agent invokes over the local stdio connection. Each tool below is a registered operation; select its linked page for the full parameter and response details.

Persist the analysis_id and branch_id returned by your own calls. Do not substitute IDs from screenshots or examples. A compatible engine is required for branch operations.

Setup

ToolWhat it does
emfirge_setup_helpReturn the CloudFormation setup link and read-only role instructions.
emfirge_scanCollect an AWS account and region and return an analysis_id.

Scan and inspect

ToolWhat it does
emfirge_get_findingsRetrieve findings from a scan, optionally filtered by severity.
emfirge_attack_pathsRead modeled internet-to-internal paths, critical resources, orphans, and graph statistics.
emfirge_simulate_breachEvaluate a graph-based scenario without executing a real exploit.

Branch lifecycle

ToolWhat it does
emfirge_create_branchCreate an isolated branch from a completed analysis.
emfirge_apply_changeAppend an add, modify, or delete mutation to the branch model.
emfirge_branch_diffCompare a branch against its base: resources, relationships, findings, and reachability.
emfirge_list_branchesList branches, optionally filtered by their base analysis.
emfirge_rollback_branchRemove the most recent change from a branch in the current backend.
emfirge_discard_branchMark a branch as discarded without changing AWS.

Analysis and verdict

ToolWhat it does
emfirge_branch_verdictEvaluate the branch with native findings, optional scanner results, and cost notes.
emfirge_verify_fixSimulate one supported rule remediation against an analysis. Not every rule has a fix mutation.
emfirge_compare_branchesCompare modeled changes and outcomes for one or more branches.

Compliance

ToolWhat it does
emfirge_check_complianceRetrieve mapped CIS AWS Foundations 1.5 or SOC 2 control results. These checks do not constitute certification.
Based on the Emfirge MCP and engine source.View source
Documentation