Overview
MCP GitLab Review Server is an extension for GitLab that enhances the merge request review process by allowing users to post review comments and retrieve merge request information.
To use the MCP GitLab Review Server, configure environment variables for your GitLab personal access token and API URL, then utilize the provided API endpoints to interact with merge requests.
- Fetch merge request information - Retrieve the latest version of a merge request - Post review comments on merge requests
- Enabling collaborative code reviews in GitLab projects.
- Automating the process of fetching merge request updates.
- Streamlining feedback on code through structured comments.
Add to your AI client
Use these steps to connect MCP GitLab Review Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"gitlab-review-photosynth-inc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"gitlab-review-photosynth-inc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"gitlab-review-photosynth-inc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"gitlab-review-photosynth-inc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gitlab-review-photosynth-inc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"gitlab-review-photosynth-inc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gitlab-review-photosynth-inc"
]
}
}
}FAQ
What is the required setup for using MCP GitLab Review Server?
You need to set environment variables for your GitLab personal access token and API URL.
Can I use this server with any GitLab project?
Yes, as long as you have the proper permissions and access token for the GitLab project.
What programming languages is the API available in?
The API can be utilized with any programming language that supports HTTP requests, like JavaScript, Python, or Ruby.