GitLab
Integrates with the GitLab REST API to manage repositories, issues, and merge requests.
GitLab MCP Server
A fully typed TypeScript Model Context Protocol (MCP) server for comprehensive GitLab integration.
Quick Start
1. Get a GitLab Token
Create a GitLab Personal Access Token with api, read_user, and read_repository scopes.
2. Add to Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@alosies/gitlab-mcp-server"],
"env": {
"NPM_CONFIG_TOKEN": "your-gitlab-token-here"
}
}
}
}
3. Start Using
Ask Claude things like:
- "List my GitLab projects"
- "Show me open issues in myproject"
- "Create a merge request from feature-branch to main"
- "Get the logs for job #123"
Features
- Projects: List, get details
- Issues: List, get, create
- Merge Requests: List, get, create, update
- Pipelines: List, get, create, retry, cancel, delete
- Jobs: List jobs, get logs with advanced trace options
- Repository: List branches, get commits
- User: Get current user info
- TypeScript: Fully typed with comprehensive type definitions
Documentation
- Installation Guide - Detailed installation options and setup
- Available Tools - Complete list of tools and parameters
- Configuration - Optional configuration file setup
- Usage Examples - Real-world usage examples and workflows
- TypeScript Guide - TypeScript usage and type definitions
- Development - Contributing and development setup
Self-Hosted GitLab
For self-hosted GitLab instances, add your base URL:
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@alosies/gitlab-mcp-server"],
"env": {
"NPM_CONFIG_TOKEN": "your-token",
"GITLAB_BASE_URL": "https://gitlab.mycompany.com"
}
}
}
}
Support
- Issues: GitHub Issues
- GitLab API: GitLab API Documentation
- MCP Protocol: Model Context Protocol
License
MIT License
Related Servers
Feather Code
A lightweight MCP server for interacting with GitHub repositories, requiring authentication.
Radicle + GitHub
Interact with Radicle (peer-to-peer code collaboration) and GitHub through a unified interface.
Git File Forensics
Performs deep, file-level forensics on Git repositories to analyze file histories, changes, and patterns.
Jenkins MCP Server
MCP Jenkins is a Go-based integration layer designed to connect Model Context Protocol (MCP) tools with Jenkins CI/CD pipelines. This project provides a lightweight, high-performance bridge that enables automated pipeline execution, job management, and status retrieval through MCP-driven workflows.
Memoria
Prevents your AI from breaking code by revealing hidden file dependencies through git forensics.
GitLab Kanban
A server for managing GitLab Kanban board operations.
GitHub
Interact with the GitHub API for repository management, file operations, and search.
GitHub
Interact with GitHub repositories, including file operations, repository management, and search.
GitHub MCP Server
Seamlessly integrate with GitHub APIs for development automation and interaction.
GitHub MCP Server
Integrate with GitHub APIs for automation and interaction.