GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
An LLM-based code review MCP server with AST-powered smart context extraction
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"selvage": {
"command": "uvx",
"args": [
"selvage"
]
}
}
}ターミナルでこれを実行します
claude mcp add selvage -- uvx selvageプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"selvage": {
"command": "uvx",
"args": [
"selvage"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"selvage": {
"type": "stdio",
"command": "uvx",
"args": [
"selvage"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント selvage-lab で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.4.1)がレジストリに届いたのは9 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Selvage: AI-Powered Code Review Automation Tool
🌐 한국어
A modern CLI tool that helps AI analyze Git diffs to improve code quality, find bugs, and identify security vulnerabilities.
🤖 AI Agents : Read our documentation at https://selvage.ai/llms.txt
▶ Watch Demo Video
Selvage: Code reviews with an edge!
No more waiting for reviews! AI instantly analyzes your code changes to provide quality improvements and bug prevention. With smart context analysis (AST-based) that's accurate and cost-effective, plus multi-turn processing for large codebases - seamlessly integrated with all Git workflows.
Table of Contents
/review skill and selvage-reviewer agent for seamless integrationRecommended Method (using uv)
# Install uv (run once)
curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install selvage
Alternative Method (using pipx)
# Install pipx (macOS)
brew install pipx
pipx install selvage
Traditional Method (pip)
# ⚠️ May cause externally-managed-environment error on some systems
pip install selvage
macOS/Linux users: If you encounter errors with pip install, please use the uv or pipx methods above.
Get an API key from OpenRouter and set it up:
export OPENROUTER_API_KEY="your_openrouter_api_key_here"
Register as MCP mode in Cursor, Claude Code, etc., to request code reviews through natural language.
Register in Cursor's MCP configuration file (path may vary depending on user environment):
Common path: ~/.cursor/mcp.json
// Method 1: Using environment variables (if already set)
{ "mcpServers": { "selvage": { "command": "uvx", "args": ["selvage", "mcp"] } } }
// Method 2: Direct specification { "mcpServers": { "selvage": { "command": "uvx", "args": ["selvage", "mcp"], "env": { "OPENROUTER_API_KEY": "your_openrouter_api_key_here" } } } }
Install the Selvage plugin from the marketplace to get the dedicated /review skill and selvage-reviewer agent:
# Step 1: Add Selvage marketplace
/plugin marketplace add selvage-lab/selvage
/plugin install selvage@selvage-lab-selvage
After installation, use the /review skill directly:
/review # Review unstaged changes
/review staged # Review staged changes /review branch main # Review against main branch /review commit abc1234 # Review from specific commit
💡 No API key required! The plugin uses
get_review_contextto leverage Claude Code's own LLM for code review, so no external API key is needed.
# Method 1: Using environment variables (if already set)
claude mcp add selvage -- uvx selvage mcp
claude mcp add selvage -e OPENROUTER_API_KEY=your_openrouter_api_key_here -- uvx selvage mcp
After restarting your IDE, request reviews from your Coding Assistant:
Please review current changes using selvage mcp
Review changes between current branch and main branch using claude-sonnet-4-thinking with selvage mcp
🎉 Done! Selvage will analyze the code, review it, and deliver results through your Coding Assistant.
For direct terminal usage:
selvage review --model claude-sonnet-4-thinking
💡 More Options: CLI Usage | Practical Usage Guide
# Basic review request
Please review current changes using selvage mcp
Review staged work using gpt-5-high with selvage mcp
Review current branch against main branch using selvage mcp
Review current branch against main branch using selvage mcp, automatically selecting appropriate model
The get_review_context tool returns structured review context so host agents can perform code reviews with their own LLM — no Selvage API key needed.
# Request agent-delegated review context
Get review context for current changes using selvage mcp, then review the code
Get review context for staged changes using selvage mcp
Get review context comparing current branch to main using selvage mcp
💡 How it works: Selvage extracts diff + AST-based Smart Context + system prompt and returns it as structured context. The host agent (Claude Code, Cursor, Antigravity, etc.) then performs the review directly with its own LLM, without needing an external API key.
Multi-model Comparison Review
Review staged work using both gpt-5-high and claude-sonnet-4-thinking with selvage mcp, then compare the results
Stepwise Code Improvement Workflow
1. Review current changes using claude-sonnet-4-thinking with selvage mcp
CI/CD Integration Scenarios
# Code quality verification before PR creation
Review changes against main branch using selvage mcp for code quality verification before PR creation
Perform comprehensive review of staged changes using selvage mcp for final check before deployment
Direct terminal usage method. While MCP mode is recommended, CLI is useful for scripts and CI/CD.
# View all settings
selvage config list
selvage config model
selvage config language
selvage review [OPTIONS]
--repo-path : Git repository path (default: current directory)--staged: Review only staged changes--target-commit : Review changes from specific commit to HEAD (e.g., abc1234)--target-branch : Review changes between current branch and specified branch (e.g., main)--model : AI model to use (e.g., claude-sonnet-4-thinking)--open-ui: Automatically launch UI after review completion--no-print: Don't output review results to terminal (terminal output enabled by default)--skip-cache: Perform new review without using cache# Review current working directory changes
selvage review
selvage review --staged
git add specific_files.py && selvage review --staged
selvage review --target-branch develop
selvage review --model gemini-2.5-flash
selvage review --target-branch main --open-ui
# Code quality verification before Pull Request creation
selvage review --target-branch main --model claude-sonnet-4-thinking
selvage review --target-branch develop --model claude-sonnet-4-thinking
selvage review --target-commit a1b2c3d --model claude-sonnet-4-thinking
# Quick feedback during development (before WIP commit)
selvage review --model gemini-2.5-flash
selvage review --staged --model claude-sonnet-4-thinking
selvage review --target-branch main --model claude-sonnet-4-thinking
# Large codebases are automatically handled
selvage review --model claude-sonnet-4 # Usage is the same, multi-turn processing automatically applied after detection
Selvage automatically handles large code changes that exceed LLM model context limits. Once usage reaches roughly 200k tokens (tiktoken basis), Large Context Mode starts automatically, so just wait for it to complete.
# Use economical models for small changes
selvage review --model gemini-2.5-flash
Review results are output directly to the terminal and automatically saved to files simultaneously.
For additional review management and re-examination, you can use the web UI:
# Manage all saved review results in web UI
selvage view
冒頭だけを表示しています。続きはリポジトリで読めます