# Consensus MCP server

> Coordinates AI coding agents by validating development plans against team memory and existing designs to prevent architectural conflicts.

- Repository: https://github.com/masterblaster14/Consensus
- Page: https://hostedmcp.org/servers/masterblaster14/consensus
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http consensus https://consensus-production-aed6.up.railway.app/mcp
```

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

```json
{
  "mcpServers": {
    "consensus": {
      "url": "https://consensus-production-aed6.up.railway.app/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "consensus": {
      "type": "http",
      "url": "https://consensus-production-aed6.up.railway.app/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"consensus","type":"http","url":"https://consensus-production-aed6.up.railway.app/mcp"}'
```

### Codex

```sh
codex mcp add consensus --url https://consensus-production-aed6.up.railway.app/mcp
```

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

```toml
[mcp_servers.consensus]
url = "https://consensus-production-aed6.up.railway.app/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http consensus https://consensus-production-aed6.up.railway.app/mcp
```

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

```json
{
  "mcpServers": {
    "consensus": {
      "url": "https://consensus-production-aed6.up.railway.app/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CONSENSUS_API_KEY` | no | no |  |

## FAQ

### Does Consensus write or execute code?

No, the server is strictly for coordination and does not interact with the code directly.

### How do I connect my coding agent to Consensus?

You can connect via an API key using the Claude Code plugin or by adding the server URL and Authorization header to the MCP config of clients like Cursor or Windsurf.

### How are design conflicts handled?

The server compares an agent's plan against other active plans and team memory; if a clash is found, it can be resolved by a human, and that ruling is applied to future plans.
