# Emfirge

Emfirge is an MCP server for Claude Code that tests AWS changes on a separate branch and checks their effects before they are applied. An agent can use it before infrastructure changes.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: theanshsonkar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/theanshsonkar/emfirge
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/emfirge

## What it does

Emfirge builds a model of an AWS account, creates a branch for a proposed change, then returns findings across six areas: data, exposure, cost, availability, access control, and effects outside the cloud. The agent applies an approved change and produces a report. Emfirge itself never writes to AWS.

It requires Node.js 20 or later and an AWS account with a read-only role. Sign-in uses a browser with GitHub or Google; cloud and CI setups use an API key instead. Changes the server cannot model cannot receive a `pass` verdict. The `check --policy` and `check --evidence` checks cost money.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `EMFIRGE_PRIVACY`, `EMFIRGE_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env EMFIRGE_PRIVACY=<EMFIRGE_PRIVACY> --env EMFIRGE_BASE_URL=<EMFIRGE_BASE_URL> --transport stdio emfirge -- npx -y @emfirge/mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add emfirge --env EMFIRGE_PRIVACY=<EMFIRGE_PRIVACY> --env EMFIRGE_BASE_URL=<EMFIRGE_BASE_URL> -- npx -y @emfirge/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "emfirge": {
            "command": "npx",
            "args": [
                "-y",
                "@emfirge/mcp"
            ],
            "env": {
                "EMFIRGE_PRIVACY": "<EMFIRGE_PRIVACY>",
                "EMFIRGE_BASE_URL": "<EMFIRGE_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "emfirge": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@emfirge/mcp"
            ],
            "env": {
                "EMFIRGE_PRIVACY": "<EMFIRGE_PRIVACY>",
                "EMFIRGE_BASE_URL": "<EMFIRGE_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e EMFIRGE_PRIVACY=<EMFIRGE_PRIVACY> -e EMFIRGE_BASE_URL=<EMFIRGE_BASE_URL> emfirge npx -y @emfirge/mcp
```
Replace <…> with your own values

## When to use it
- check the effects of an AWS change before applying it
- spot data deletion without a recovery point
- see which services rely on a resource being changed
- compare infrastructure proposals on separate branches
- report what an applied AWS change altered

## Example prompts
- Check what would happen if I removed unused databases in `us-east-1`.
- Open a branch and assess this Terraform change before applying it.
- Write a report on the AWS change that was just applied.

## Similar
- [InsideOut](https://affpapa.org/en/nevibecode/mcp/insideout.md) — MCP server · 317 installs
- [terraform-search-import](https://affpapa.org/en/nevibecode/skills/terraform-search-import.md) — skill · 5200 installs
- [eraser-diagrams](https://affpapa.org/en/nevibecode/skills/eraser-diagrams.md) — skill · 2800 installs
- [terraform-module-builder](https://affpapa.org/en/nevibecode/skills/terraform-module-builder.md) — skill · 229 installs
- [dd-aws-integration](https://affpapa.org/en/nevibecode/skills/dd-aws-integration.md) — skill · 105 installs
- [AWS Pricing](https://affpapa.org/en/nevibecode/mcp/aws-pricing.md) — MCP server · ★ 9948 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
