io.github.dubuqingfeng/gitlab-mcp-server
GitLab MCP (Model Context Protocol) server for AI agents
- Repository
- github.com/dubuqingfeng/gitlab-mcp-server
- Version
- 1.0.1
- Author
- dubuqingfeng (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 11, 2025)
How to install it
Variables to fill in: GITLAB_TOKEN, GITLAB_URL, LARK_WEBHOOK_URL, LARK_SECRET_KEY, LARK_ENABLE_NOTIFICATION, GITLAB_NOTE_MODE.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add gitlab-mcp-server -e GITLAB_TOKEN=YOUR_GITLAB_TOKEN -e GITLAB_URL=YOUR_GITLAB_URL -e LARK_WEBHOOK_URL=YOUR_LARK_WEBHOOK_URL -e LARK_SECRET_KEY=YOUR_LARK_SECRET_KEY -e LARK_ENABLE_NOTIFICATION=YOUR_LARK_ENABLE_NOTIFICATION -e GITLAB_NOTE_MODE=YOUR_GITLAB_NOTE_MODE -- npx -y @dubuqingfeng/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"gitlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"@dubuqingfeng/[email protected]"
],
"env": {
"GITLAB_TOKEN": "YOUR_GITLAB_TOKEN",
"GITLAB_URL": "YOUR_GITLAB_URL",
"LARK_WEBHOOK_URL": "YOUR_LARK_WEBHOOK_URL",
"LARK_SECRET_KEY": "YOUR_LARK_SECRET_KEY",
"LARK_ENABLE_NOTIFICATION": "YOUR_LARK_ENABLE_NOTIFICATION",
"GITLAB_NOTE_MODE": "YOUR_GITLAB_NOTE_MODE"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"gitlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"@dubuqingfeng/[email protected]"
],
"env": {
"GITLAB_TOKEN": "YOUR_GITLAB_TOKEN",
"GITLAB_URL": "YOUR_GITLAB_URL",
"LARK_WEBHOOK_URL": "YOUR_LARK_WEBHOOK_URL",
"LARK_SECRET_KEY": "YOUR_LARK_SECRET_KEY",
"LARK_ENABLE_NOTIFICATION": "YOUR_LARK_ENABLE_NOTIFICATION",
"GITLAB_NOTE_MODE": "YOUR_GITLAB_NOTE_MODE"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"gitlab-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dubuqingfeng/[email protected]"
],
"env": {
"GITLAB_TOKEN": "YOUR_GITLAB_TOKEN",
"GITLAB_URL": "YOUR_GITLAB_URL",
"LARK_WEBHOOK_URL": "YOUR_LARK_WEBHOOK_URL",
"LARK_SECRET_KEY": "YOUR_LARK_SECRET_KEY",
"LARK_ENABLE_NOTIFICATION": "YOUR_LARK_ENABLE_NOTIFICATION",
"GITLAB_NOTE_MODE": "YOUR_GITLAB_NOTE_MODE"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.dubuqingfeng/gitlab-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.dubuqingfeng/gitlab-mcp-server"><img src="https://lagora.dev/badge/io.github.dubuqingfeng/gitlab-mcp-server.svg?lang=en" alt="io.github.dubuqingfeng/gitlab-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.