# confdiff MCP server

> Performs semantic, format-aware diffs of configuration and structured data files to identify meaningful changes while ignoring cosmetic noise.

- Repository: https://github.com/esperanza-volkov/confdiff
- Page: https://hostedmcp.org/servers/esperanza-volkov/confdiff
- Transport: stdio
- Stars: 41
- License: MIT
- Latest version: 0.17.1

## Install

### Claude Code

```sh
claude mcp add confdiff -- npx -y confdiff-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "confdiff": {
      "command": "npx",
      "args": [
        "-y",
        "confdiff-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "confdiff": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "confdiff-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"confdiff","type":"stdio","command":"npx","args":["-y","confdiff-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "confdiff": {
      "command": "npx",
      "args": [
        "-y",
        "confdiff-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add confdiff -- npx -y confdiff-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.confdiff]
command = "npx"
args = ["-y", "confdiff-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user confdiff npx -- -y confdiff-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "confdiff": {
      "command": "npx",
      "args": [
        "-y",
        "confdiff-mcp"
      ]
    }
  }
}
```

## FAQ

### Can I compare different file formats?

Yes, the tool supports cross-format comparison, such as diffing a JSON file against a YAML file to ensure they are equivalent.

### Does it ignore reordered keys or comments?

Yes, it is a semantic diff tool that ignores reordered keys, changed indentation, and added comments, reporting only actual data changes.
