# Concord Engine

> Concord Engine is an open-source MCP server for developer tools. MCP server that blocks parallel coding agents from contradicting each other's decisions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/harsh-chandak/concord-engine
- **MCP Registry name:** io.github.harsh-chandak/concord-engine
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

The problem it targets is parallel agents each settling the same question differently, such as the shape of an error body, and producing green tests and a broken product. Concord Engine keeps a typed decision log (convention, api-contract, enum, schema, naming) and refuses a new decision that conflicts with one already in force, telling the agent who decided it, why, and how to supersede it deliberately.

The README stresses that agreement is decided by comparing same subject against different value, never by a model call, and says tests fail if any file in the decision path reaches outside the process. Around that gate sits a loop: write a contract, bind its decisions, brief each unit of work, fan out, run acceptance commands, generate a design doc and report cost.

It works as a skill, a CLI whose check command exits non-zero on contradictions, or this stdio MCP server. The decision log lives in a directory set by CONCORD_ENGINE_DIR, and the README suggests committing it.

## Features

- **Contradiction gate:** Refuses a decision that conflicts with one already in force.
- **Typed decisions:** Decisions are conventions, API contracts, enums, schemas or naming.
- **Contract and briefs:** Binds a contract and produces one brief per work unit.
- **Acceptance runs:** Each criterion carries a command; the run is done when all exit 0.
- **Generated design doc:** Builds documentation from the decision log.
- **CI check:** The CLI check exits non-zero on any contradiction.

## Good for

- Keep several coding agents consistent on one feature
- Fail a CI step when decisions disagree
- Brief parallel workers with the decisions they must honour
- Generate a design doc of who decided what and why

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add concord-engine -- npx -y concord-engine
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add concord-engine -- npx -y concord-engine
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.concord-engine]
command = "npx"
args = ["-y", "concord-engine"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user concord-engine npx -- -y concord-engine

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "concord-engine": {
      "command": "npx",
      "args": [
        "-y",
        "concord-engine"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 12 tools change data; 9 names don't say. From the server's own tool labels and tool names; not verified by us.

- `write_contract` (name suggests: changes): Store a validated contract.
- `bind_contract`: Bind a contract's decisions into the log.
- `brief_unit`: Produce one worker's brief.
- `fleet_plan`: Produce every brief as JSON.
- `run_acceptance` (name suggests: changes): Run each acceptance command.
- `generate_docs`: Generate a design doc from the decision log.
- `cost_report`: Report what the fan-out sent, in bytes.
- `record_decision`: Record a decision, refusing contradictions.
- `binding_decisions`: List decisions in force.
- `open_conflicts`: List open conflicts.
- `record_attempt`: Record an attempt.
- `status` (name suggests: reads): Show status.

## FAQ

### Does Concord Engine use a model to detect conflicts?

No. The README says conflicts are found by comparison and no model is called in the decision path.

### Where is the decision log stored?

In .concord-engine by default, or the directory in CONCORD_ENGINE_DIR; committing it is suggested.

### How many MCP tools are there?

Twelve, covering contracts, decisions, acceptance, docs and cost.

### How can I run Concord Engine besides MCP?

As a skill or as a CLI.

### Is Concord Engine free?

Yes. Concord Engine is open source, so you can use and self-host it for free.

### How do I add Concord Engine to Claude Code?

Run this command in your terminal: claude mcp add concord-engine -- npx -y concord-engine

### What are the best alternatives to Concord Engine?

The closest alternatives to Concord Engine are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/concord-engine
