https://github.com/nguyenvanduocit/gitlab-mcp
https://github.com/nguyenvanduocit/gitlab-mcp
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nguyenvanduocit/gitlab-mcp
- Owner: nguyenvanduocit
- Created: 2025-03-25T14:22:45.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T14:57:13.000Z (6 months ago)
- Last Synced: 2025-03-25T15:33:54.906Z (6 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-mcp-servers - gitlab-mcp - An MCP server providing a standardized bridge to the GitLab API for project listing, merge request management, file retrieval, and pipeline analysis, tailored for MCP Server use cases. ([Read more](/details/gitlab-mcp.md)) `mcp` `gitlab` `repository-management` `ci/cd` (Repository & Code Analysis MCP Servers)
README
# GitLab MCP
A tool for interacting with GitLab API through MCP.
## Features
- List projects and their details
- List and manage merge requests
- Get file content from GitLab repositories
- List and analyze pipelines
- Search and list commits
- View user events and group members## Installation
There are several ways to install the GitLab Tool:
### Option 1: Download from GitHub Releases
1. Visit the [GitHub Releases](https://github.com/yourusername/gitlab-mcp/releases) page
2. Download the binary for your platform:
- `gitlab-mcp_linux_amd64` for Linux
- `gitlab-mcp_darwin_amd64` for macOS
- `gitlab-mcp_windows_amd64.exe` for Windows
3. Make the binary executable (Linux/macOS):
```bash
chmod +x gitlab-mcp_*
```
4. Move it to your PATH (Linux/macOS):
```bash
sudo mv gitlab-mcp_* /usr/local/bin/gitlab-mcp
```### Option 2: Go install
```
go install github.com/yourusername/gitlab-mcp
```## Config
### Environment
1. Set up environment variables in `.env` file:
```
GITLAB_TOKEN=your_gitlab_token
GITLAB_HOST=your_gitlab_host_url
```### Claude, cursor
```
{
"mcpServers": {
"gitlab": {
"command": "/path-to/gitlab-mcp",
"args": ["-env", "path-to-env-file"]
}
}
}
```## Development
Run the tool in SSE mode:
```
just dev
```Or build and install:
```
just build
just install
```## Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request## License
This project is licensed under the MIT License - see the LICENSE file for details.