gitlab-mcp
2
The GitLab MCP Server is a Model Context Protocol server designed to interact with the GitLab API. It provides tools for managing repositories, issues, and more, supporting both sync and async operations. The project is aimed at extending GitLab functionalities for AI clients through a structured, domain-driven architecture.
GitLab MCP Server
A MCP (Model Context Protocol) server for interacting with GitLab API. This server provides tools for AI clients to perform operations on GitLab repositories, issues, and merge requests. It supports synchronous and asynchronous execution patterns.
Features
- Repository, branch, file, issue, and merge request management.
- Job, group, and search operations.
- Modular domain-driven architecture ensuring separation of concerns and maintainability.
- Configuration through environment variables or MCP JSON configuration file.
Project Structure
- Source Code: Organized into API, schemas, services, and tools directories.
- Main Entry Point: server.py
Troubleshooting
- API Authentication Errors: Check your GitLab personal access token permissions and environment variables.