GitLab MCP Server
Enhanced MCP server for GitLab: group projects listing and activity tracking
Overview
GitLab MCP Server is an enhanced Model Context Protocol (MCP) server designed for interacting with the GitLab API, providing features for group projects listing and activity tracking.
To use the GitLab MCP Server, install the dependencies, build the server, and start it. You can then integrate it with MCP-enabled applications by adding it to your MCP configuration.
- Create or update files in GitLab repositories - Search for GitLab projects using keywords - Create new GitLab repositories - Retrieve file contents from repositories - Push multiple files in a single commit - Create issues and merge requests - List group projects and track project activities
- Organization-wide project discovery and management
- CI/CD integration across multiple repositories
- Activity monitoring for commits, issues, and merge requests
- Code review and analysis of commit history
- Issue tracking and management
Add to your AI client
Use these steps to connect GitLab MCP 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": {
"mcp-gitlab-server-yoda-digital": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}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": {
"mcp-gitlab-server-yoda-digital": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-gitlab-server-yoda-digital": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-gitlab-server-yoda-digital": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-gitlab-server-yoda-digital": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-gitlab-server-yoda-digital": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gitlab-server-yoda-digital"
]
}
}
}FAQ
Can I use this server for all GitLab projects?
Yes! It supports all GitLab projects as long as you have the necessary permissions.
Is there a cost to use GitLab MCP Server?
No! It is free to use and open-source.
What programming language is used for this server?
The server is built using JavaScript.