Does GitLab have an MCP server?
GitLab maintains an official MCP server.
Built into the product: every GitLab instance serves MCP at /api/v4/mcp (beta since 18.6, Free tier since 19.2).
- Access
- Built into the product
- Endpoint
- <your-instance>/api/v4/mcp — built into GitLab
- Category
- Developer Tools
Ships inside GitLab's own product rather than as a standalone server. Documented at docs.gitlab.com.
First gitlab mcp for you, building together
Ships inside the vendor's own app or CLI rather than as a standalone download.
Add it from the terminal, then restart your session:
claude mcp add gitlab -- npx -y <package-from-readme>Swap in the exact package and flags from the package page — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"gitlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does GitLab have an official MCP server?
Yes. GitLab maintains an official MCP server.
How do I connect GitLab to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
GitLab's MCP server ships inside the product at <instance>/api/v4/mcp, documented at docs.gitlab.com; code lives in the GitLab monorepo. Strongest community server: zereight/gitlab-mcp (~1.9k stars). GitHub metadata is refreshed every six hours.
GitLab's MCP server ships inside the product at <instance>/api/v4/mcp, documented at docs.gitlab.com; code lives in the GitLab monorepo. Strongest community server: zereight/gitlab-mcp (~1.9k stars).
- github data refreshed 2026-08-11, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.