GitLab MCP Server
Allows interaction with GitLab API, providing tools for managing projects, issues, merge requests, repositories, pipelines, and more.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitLab MCP Server
HTTP-based Model Context Protocol (MCP) server for GitLab with HTTP header authentication.
Installation
Use install.bat or run manually:
python -m venv venv
.\venv\Scripts\activate.bat
pip install -r requirements.txt
pip install pip-system-certsRelated MCP server: GitLab MCP Server
Running the Server
.\venv\Scripts\activate.bat
python run_server.py```n
Server will be at: http://127.0.0.1:8000/mcpConfiguration
Required headers:
Authorization: Bearer <gitlab-token>
X-GitLab-Server: https://gitlab.centrala.bzwbk/
Accept: application/json, text/event-streamGitLab Token needs permissions:
read_api- for reading issues, merge requests, and other API resourceswrite_api- for creating issues and other write operationsread_repository- for accessing repository content (files, commits, branches)read_user- for accessing user informationapi- full API access (alternative to read_api + write_api)read_registry- for container registry operations (optional)
Available Tools
get_my_projects - Get list of user's projects
get_user_info - Get current user information
get_my_issues - Get issues assigned to user
get_my_merge_requests - Get user's merge requests
search_projects - Search projects by name
get_project_info - Get project details
get_project_files - List project files and directories
get_file_content - Get file content
get_project_commits - Get recent commits from a branch
create_issue - Create new issue
get_project_merge_requests - Get MRs for specific project
get_project_issues - Get issues for specific project
get_project_pipelines - Get project pipelines (CI/CD)
search_files_in_project - Search files by name
get_project_branches - List all project branches
get_commit_details - Get detailed commit information
get_commit_diff - Get changes in a specific commit
compare_branches - Compare two branches
get_file_history - Get commit history for a file
Docker
See DOCKER.md for Docker instructions.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial GitLab MCP — wraps the GitLab REST API v4 (BYO API key)
Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- -licenseAqualityBmaintenanceMCP Server for the GitLab API, enabling project management, file operations, and more.95,950 npm92,139MIT
- AlicenseCqualityDmaintenanceAn MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.451MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for interacting with GitLab API, supporting both self-hosted instances and gitlab.com. Provides tools for managing issues, merge requests, code review, pipelines, milestones, releases, search, and file access.MIT
- AlicenseAqualityCmaintenanceMCP server for GitLab REST API enabling AI agents to manage pipelines, merge requests, diffs, and local reviews.158 npmMIT