Skip to main content
Glama

Claude Code Review MCP

review-branch.md1.18 kB
# Branch Diff Review Perform a code review comparing the current HEAD with a specified base branch. ## Step 1 Ask the user which branch to compare against: "Which branch would you like to use as the base for comparison? (e.g., main, develop)" ## Step 2 Use the perform_code_review tool from the code-reviewer MCP server with the following parameters: ``` { "target": "branch_diff", "diffBase": "${user_response}", "llmProvider": "google", "modelName": "gemini-2.5-pro-preview-05-06", "taskDescription": "The task I am currently working on in this codebase", "reviewFocus": "General code quality, security best practices, and performance considerations", "projectContext": "This project is being developed in Windsurf. Please review the code changes between branches carefully for any issues." } ``` <!-- Notes: 1. Consider updating the model name to the latest available model from Google 2. Customize the taskDescription with specific context for better review results 3. IMPORTANT: The MCP server sanitizes the diffBase parameter to prevent command injection attacks, but you should still avoid using branch names containing special characters -->

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/praneybehl/claude-code-review-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server