GitLab MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
GITLAB_API_URL | No | Base URL for GitLab API | https://gitlab.com/api/v4 |
GITLAB_PERSONAL_ACCESS_TOKEN | Yes | Your GitLab personal access token |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
create_or_update_file | Create or update a single file in a GitLab project |
search_repositories | Search for GitLab projects |
create_repository | Create a new GitLab project |
get_file_contents | Get the contents of a file or directory from a GitLab project |
push_files | Push multiple files to a GitLab project in a single commit |
create_issue | Create a new issue in a GitLab project |
create_merge_request | Create a new merge request in a GitLab project |
fork_repository | Fork a GitLab project to your account or specified namespace |
create_branch | Create a new branch in a GitLab project |