Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NPM_CONFIG_TOKEN | Yes | Your GitLab personal access token used to authenticate with the GitLab API. Required with scopes: api, read_user, read_repository |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_projects | List GitLab projects with minimal info by default (to reduce token usage from 40k+ to much less). Use simple=false for full project details when needed. |
| get_project | Get details of a specific project |
| list_issues | List issues in a project |
| get_issue | Get details of a specific issue |
| create_issue | Create a new issue |
| list_merge_requests | List merge requests in a project |
| get_merge_request | Get details of a merge request. Either merge_request_iid or source_branch must be provided. |
| get_merge_request_diffs | Get the changes/diffs of a merge request. Either merge_request_iid or source_branch must be provided. |
| list_merge_request_diffs | List merge request diffs with pagination support. Either merge_request_iid or source_branch must be provided. |
| get_branch_diffs | Get the changes/diffs between two branches or commits in a GitLab project |
| create_merge_request | Create a new merge request |
| update_merge_request | Update an existing merge request. Either merge_request_iid or source_branch must be provided. |
| list_mr_notes | List all notes (comments) on a merge request |
| list_mr_discussions | List discussions (threaded comments including inline code comments) on a merge request. Use unresolved_only=true to fetch only unresolved discussions (saves tokens). |
| create_mr_note | Add a new top-level comment to a merge request |
| create_mr_discussion | Create a new discussion on a merge request. Can be a general discussion or an inline comment on the diff |
| reply_to_mr_discussion | Reply to an existing discussion thread on a merge request |
| resolve_mr_discussion | Mark a discussion on a merge request as resolved |
| unresolve_mr_discussion | Mark a discussion on a merge request as unresolved |
| update_mr_discussion_note | Modify an existing merge request discussion note |
| create_mr_discussion_note | Add a new note to an existing merge request discussion thread |
| delete_mr_discussion_note | Delete a note from a merge request discussion |
| mark_mr_as_draft | Mark a merge request as draft (work in progress, not ready for review) |
| mark_mr_as_ready | Mark a merge request as ready (remove draft status, ready for review) |
| list_mr_templates | List available merge request description templates in a project |
| get_mr_template | Get a specific merge request description template by name |
| list_project_branches | List branches in a project |
| get_project_commits | List repository commits with filtering options |
| get_commit | Get details of a specific commit |
| get_commit_diff | Get changes/diffs of a specific commit |
| list_pipelines | List pipelines in a project |
| get_pipeline | Get details of a specific pipeline |
| create_pipeline | Create a new pipeline |
| retry_pipeline | Retry a failed pipeline |
| cancel_pipeline | Cancel a running pipeline |
| delete_pipeline | Delete a pipeline |
| get_pipeline_variables | Get variables of a pipeline |
| list_pipeline_jobs | List jobs in a pipeline |
| get_job_logs | Get the log (trace) file of a specific job |
| get_job_trace | Get job trace with options for partial logs, tail mode, and line limits |
| get_user | Get current user information |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |