aio-gitlablisted
Install: claude install-skill aiocean/claude-plugins
# GitLab Skill
GitLab operations via [nguyenvanduocit/gitlab-mcp](https://github.com/nguyenvanduocit/gitlab-mcp).
## Environment
- Go: !`which go 2>/dev/null || echo "NOT INSTALLED"`
- gitlab-mcp: !`which gitlab-mcp 2>/dev/null || echo "NOT INSTALLED"`
- gitlab-cli: !`which gitlab-cli 2>/dev/null || echo "NOT INSTALLED"`
- GITLAB_TOKEN: !`[ -n "$GITLAB_TOKEN" ] && echo "SET" || echo "NOT SET"`
- GITLAB_URL: !`echo ${GITLAB_URL:-NOT SET}`
- MCP configured: !`cat .mcp.json 2>/dev/null | grep -q gitlab && echo "YES" || echo "NO"`
## Install (skip if already installed above)
```bash
go install github.com/nguyenvanduocit/gitlab-mcp@latest
go install github.com/nguyenvanduocit/gitlab-mcp/cmd/gitlab-cli@latest
```
Add to `.mcp.json`:
```json
{
"mcpServers": {
"gitlab": {
"command": "gitlab-mcp",
"env": {
"GITLAB_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx",
"GITLAB_URL": "https://gitlab.com"
}
}
}
}
```
Values needed: `GITLAB_TOKEN` from GitLab > Settings > Access Tokens, `GITLAB_URL` (e.g. `https://gitlab.com`). Restart Claude Code after configuring.
## MCP Tools (prefix: `gitlab_`)
### Project Operations
```
gitlab_list_projects()
gitlab_get_project(project_id: "group/project")
```
### Merge Request Management
| Tool | Usage |
|------|-------|
| `gitlab_list_mrs` | `(project_id, state: "opened")` |
| `gitlab_get_mr` | `(project_id, mr_iid: 42)` |
| `gitlab_create_mr` | `(project_id, title, source_branch, target_branch, description