
GitLab MCP Server
GitLab MCP Server
GitLab MCP Server is GitLab's official Model Context Protocol server that connects AI tools to your GitLab instance for secure, real-time interaction with projects, issues, merge requests, and CI/CD pipelines. It supports both HTTP and stdio transport types and works with Claude Desktop, Claude Code, Cursor, VS Code, and other MCP-compatible clients. The server provides tools for creating and retrieving issues with full metadata (assignees, milestones, labels), managing merge requests including commit history and file diffs, controlling CI/CD pipelines (create, retry, cancel, delete), and performing cross-scope search across issues, merge requests, and projects. A semantic code search tool uses natural language to find relevant code snippets. Work item collaboration tools let AI assistants add and retrieve comments with internal visibility options. Authentication uses OAuth 2.0 Dynamic Client Registration, allowing AI tools to register themselves automatically when connecting for the first time. The server respects all existing GitLab permission controls and supports both GitLab.com and self-managed instances. It implements the 2025-03-26 and 2025-06-18 MCP protocol specifications starting from GitLab 18.7.






