gitlab

Installation
SKILL.md

Connection selection

Use authenticated GitLab MCP tools first when they are available in the agent's environment. Detect this by tool availability, without depending on a particular MCP server name. Use the token and direct API instructions below only when GitLab MCP tools are unavailable or when raw API or curl access is explicitly needed.

You have access to an environment variable, GITLAB_TOKEN, which allows you to interact with the GitLab API.

If you encounter authentication issues when pushing to GitLab (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: git remote set-url origin https://oauth2:${GITLAB_TOKEN}@gitlab.com/username/repo.git

Installs
89
GitHub Stars
171
First Seen
Jan 23, 2026