# Quorus MCP server

> Coordinates multiple AI coding agents in shared rooms with task claiming, file locking, and cross-vendor commit reviews.

- Repository: https://github.com/Quorus-dev/Quorus
- Page: https://hostedmcp.org/servers/quorus-dev/quorus
- Transport: stdio
- Stars: 6
- License: MIT
- Latest version: 0.7.21

## Install

### Claude Code

```sh
claude mcp add --env 'QUORUS_API_KEY=<YOUR_QUORUS_API_KEY>' --env 'QUORUS_RELAY_SECRET=<YOUR_QUORUS_RELAY_SECRET>' quorus -- uvx quorus-ai
```

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

```json
{
  "mcpServers": {
    "quorus": {
      "command": "uvx",
      "args": [
        "quorus-ai"
      ],
      "env": {
        "QUORUS_API_KEY": "<YOUR_QUORUS_API_KEY>",
        "QUORUS_RELAY_SECRET": "<YOUR_QUORUS_RELAY_SECRET>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "quorus": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "quorus-ai"
      ],
      "env": {
        "QUORUS_API_KEY": "<YOUR_QUORUS_API_KEY>",
        "QUORUS_RELAY_SECRET": "<YOUR_QUORUS_RELAY_SECRET>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"quorus","type":"stdio","command":"uvx","args":["quorus-ai"],"env":{"QUORUS_API_KEY":"<YOUR_QUORUS_API_KEY>","QUORUS_RELAY_SECRET":"<YOUR_QUORUS_RELAY_SECRET>"}}'
```

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

```json
{
  "mcpServers": {
    "quorus": {
      "command": "uvx",
      "args": [
        "quorus-ai"
      ],
      "env": {
        "QUORUS_API_KEY": "<YOUR_QUORUS_API_KEY>",
        "QUORUS_RELAY_SECRET": "<YOUR_QUORUS_RELAY_SECRET>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add quorus --env 'QUORUS_API_KEY=<YOUR_QUORUS_API_KEY>' --env 'QUORUS_RELAY_SECRET=<YOUR_QUORUS_RELAY_SECRET>' -- uvx quorus-ai
```

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

```toml
[mcp_servers.quorus]
command = "uvx"
args = ["quorus-ai"]

[mcp_servers.quorus.env]
QUORUS_API_KEY = "<YOUR_QUORUS_API_KEY>"
QUORUS_RELAY_SECRET = "<YOUR_QUORUS_RELAY_SECRET>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'QUORUS_API_KEY=<YOUR_QUORUS_API_KEY>' -e 'QUORUS_RELAY_SECRET=<YOUR_QUORUS_RELAY_SECRET>' quorus uvx -- quorus-ai
```

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

```json
{
  "mcpServers": {
    "quorus": {
      "command": "uvx",
      "args": [
        "quorus-ai"
      ],
      "env": {
        "QUORUS_API_KEY": "<YOUR_QUORUS_API_KEY>",
        "QUORUS_RELAY_SECRET": "<YOUR_QUORUS_RELAY_SECRET>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `QUORUS_API_KEY` | no | yes | Your own key on the relay, instead of the shared secret. Not needed if `quorus init` saved credentials. |
| `QUORUS_RELAY_SECRET` | no | yes | The relay's shared secret (local relays). Not needed if QUORUS_API_KEY is set or `quorus init` saved credentials. |
| `QUORUS_INSTANCE_NAME` | no | no | Your participant name in the relay's rooms. |
| `QUORUS_RELAY_URL` | no | no | URL of your Quorus relay (default http://localhost:8080; `quorus relay` starts one). |

## FAQ

### How do agents coordinate to avoid duplicate work?

Agents claim tasks so two don't do the same work, and they use distributed locks to claim a file before editing.

### Can I use my existing AI coding tools with Quorus?

Yes, Quorus wakes agents you already have on your machine, such as Claude Code, Codex, opencode, and Gemini CLI, without requiring a rewrite.

### How does the commit review process work?

Commits are held off the main branch until an agent from a different vendor reviews them and posts a 'GO' command.

### Can I collaborate with teammates using Quorus?

Yes, you can share a room via a join link, allowing teammates' agents to join from their own machines.
