Skip to main content
Glama

GitLab MCP Server

by Alosies

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NPM_CONFIG_TOKENYesYour GitLab personal access token used to authenticate with the GitLab API. Required with scopes: api, read_user, read_repository

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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 specific merge request

create_merge_request

Create a new merge request

update_merge_request

Update an existing merge request

list_project_branches

List branches in a project

get_project_commits

List commits in a project

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alosies/gitlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server