GitLab MCP server
GitLab's MCP server lets AI tools connect to a GitLab instance to access GitLab data and act under the user's own permissions. It is in beta and available on GitLab.com, Self-Managed, and Dedicated.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
OAuth sign-inEndpoint checked 2026-10-05
GitLab account
MCP endpoint (Streamable HTTP)
https://gitlab.com/api/v4/mcpWhat you can do with it
- Access GitLab project information.
- Retrieve issue and merge request data.
- Interact with GitLab APIs through toolsets for merge requests, work items, repository, CI, and wikis.
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http gitlab https://gitlab.com/api/v4/mcpCodex
Codex configuration
codex mcp add gitlab --url https://gitlab.com/api/v4/mcpCursor
Cursor configuration
{
"mcpServers": {
"gitlab": {
"url": "https://gitlab.com/api/v4/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"gitlab": {
"type": "streamableHttp",
"url": "https://gitlab.com/api/v4/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"gitlab": {
"type": "http",
"url": "https://gitlab.com/api/v4/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http gitlab https://gitlab.com/api/v4/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"gitlab": {
"url": "https://gitlab.com/api/v4/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"gitlab": {
"serverUrl": "https://gitlab.com/api/v4/mcp"
}
}
}Other developer tools servers
Do you run GitLab?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.