Installing rag-reviewer for OpenCode
June 14, 2026 · View on GitHub
Prerequisites
Быстрая установка (рекомендуется)
uvx --from rag-reviewer reviewer install opencode
Пропишет MCP-сервер в ~/.config/opencode/opencode.json автоматически (кроссплатформенно,
подставляет абсолютный путь к uvx — обёртка bash -lc не нужна).
Ручная установка (альтернатива)
Добавьте в ~/.config/opencode/opencode.json:
{
"mcp": {
"reviewer": {
"type": "local",
"command": ["/bin/bash", "-lc", "uvx --from rag-reviewer@latest reviewer-mcp"]
}
}
}
Перезапустите OpenCode. MCP-сервер reviewer будет доступен во всех сессиях.
Project-level install
Copy .opencode/opencode.json from this repo into your target project root. The config is
already present here (see opencode.json in this directory).
Verify
Open OpenCode and run:
"List available MCP tools"
You should see prepare_review, publish_review, search_code, etc.
Skills
OpenCode loads file-based skills from ~/.config/opencode/skills/<name>/SKILL.md. Install them:
uvx --from rag-reviewer reviewer install-skills opencode
(or reviewer install opencode, which sets up the MCP server and the skills together).
Then restart OpenCode and run opencode debug skill — the reviewer_* skills should be listed.