CodeReview

v0.13.5
io.github.PHPatch/codereview Checked 3 days ago Published 12 days ago

Multi-model review gate for AI-written code: independent reviewers, one deterministic verdict.

Values you need

VariableWhat it is
OPENAI_API_KEYoptional secret Provider API key. Bring any two providers (OpenAI, Gemini, Anthropic, DeepSeek) and assign models per role in `codereview setup`.
GEMINI_API_KEYoptional secret Provider API key. Bring any two providers (OpenAI, Gemini, Anthropic, DeepSeek) and assign models per role in `codereview setup`.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add codereview -- uvx --from codereview-loop==0.13.5 codereview mcp serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "codereview": {
      "args": [
        "--from",
        "codereview-loop==0.13.5",
        "codereview",
        "mcp",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "codereview": {
      "args": [
        "--from",
        "codereview-loop==0.13.5",
        "codereview",
        "mcp",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "codereview": {
      "args": [
        "--from",
        "codereview-loop==0.13.5",
        "codereview",
        "mcp",
        "serve"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.codereview]
command = "uvx"
args = ["--from", "codereview-loop==0.13.5", "codereview", "mcp", "serve"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: run_gate, get_verdict.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json