GitLab MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
GITLAB_API_URL | No | The URL of the GitLab API endpoint | https://gitlab.com/api/v4 |
GITLAB_API_TOKEN | Yes | Your GitLab API token used to authenticate with the GitLab API |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
GitLab Projects | List of GitLab projects accessible to the authenticated user |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
gitlab_list_projects | List GitLab projects accessible to the user |
gitlab_get_project | Get details of a specific GitLab project |
gitlab_list_branches | List branches of a GitLab project |
gitlab_list_merge_requests | List merge requests in a GitLab project |
gitlab_get_merge_request | Get details of a specific merge request |
gitlab_get_merge_request_changes | Get changes (diff) of a specific merge request |
gitlab_create_merge_request_note | Add a comment to a merge request |
gitlab_create_merge_request_note_internal | Add a comment to a merge request with option to make it an internal note |
gitlab_update_merge_request | Update a merge request title and description |
gitlab_list_issues | List issues in a GitLab project |
gitlab_get_repository_file | Get content of a file in a repository |
gitlab_compare_branches | Compare branches, tags or commits |
gitlab_list_integrations | List all available project integrations/services |
gitlab_get_integration | Get integration details for a project |
gitlab_update_slack_integration | Update Slack integration settings for a project |
gitlab_disable_slack_integration | Disable Slack integration for a project |
gitlab_list_webhooks | List webhooks for a project |
gitlab_get_webhook | Get details of a specific webhook |
gitlab_add_webhook | Add a new webhook to a project |
gitlab_update_webhook | Update an existing webhook |
gitlab_delete_webhook | Delete a webhook |
gitlab_test_webhook | Test a webhook |
gitlab_list_trigger_tokens | List pipeline trigger tokens |
gitlab_get_trigger_token | Get details of a pipeline trigger token |
gitlab_create_trigger_token | Create a new pipeline trigger token |
gitlab_update_trigger_token | Update a pipeline trigger token |
gitlab_delete_trigger_token | Delete a pipeline trigger token |
gitlab_trigger_pipeline | Trigger a pipeline run |
gitlab_list_cicd_variables | List CI/CD variables for a project |
gitlab_get_cicd_variable | Get a specific CI/CD variable |
gitlab_create_cicd_variable | Create a new CI/CD variable |
gitlab_update_cicd_variable | Update a CI/CD variable |
gitlab_delete_cicd_variable | Delete a CI/CD variable |
gitlab_list_users | List GitLab users |
gitlab_get_user | Get details of a specific user |
gitlab_list_groups | List GitLab groups |
gitlab_get_group | Get details of a specific group |
gitlab_list_group_members | List members of a group |
gitlab_add_group_member | Add a user to a group |
gitlab_list_project_members | List members of a project |
gitlab_add_project_member | Add a user to a project |