Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITLAB_API_URLNoYour GitLab API URLhttps://gitlab.com/api/v4
GITLAB_PERSONAL_ACCESS_TOKENYesYour GitLab personal access token

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
add_time_spent

Add time spent on an issue

delete_time_spent

Delete a time spent entry from an issue

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

get_merge_request

Get details of a merge request (Either mergeRequestIid or branchName must be provided)

get_merge_request_diffs

Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)

get_branch_diffs

Get the changes/diffs between two branches or commits in a GitLab project

update_merge_request

Update a merge request (Either mergeRequestIid or branchName must be provided)

create_note

Create a new note (comment) to an issue or merge request

create_merge_request_thread

Create a new thread on a merge request

mr_discussions

List discussion items for a merge request

update_merge_request_note

Modify an existing merge request thread note

create_merge_request_note

Add a new note to an existing merge request thread

update_issue_note

Modify an existing issue thread note

create_issue_note

Add a new note to an existing issue thread

list_issues

List issues in a GitLab project with filtering options

get_issue

Get details of a specific issue in a GitLab project

update_issue

Update an issue in a GitLab project

delete_issue

Delete an issue from a GitLab project

list_issue_links

List all issue links for a specific issue

list_issue_discussions

List discussions for an issue in a GitLab project

get_issue_link

Get a specific issue link

create_issue_link

Create an issue link between two issues

delete_issue_link

Delete an issue link

list_namespaces

List all namespaces available to the current user

get_namespace

Get details of a namespace by ID or path

verify_namespace

Verify if a namespace path exists

get_project

Get details of a specific project

list_projects

List projects accessible by the current user

list_labels

List labels for a project

get_label

Get a single label from a project

create_label

Create a new label in a project

update_label

Update an existing label in a project

delete_label

Delete a label from a project

list_group_projects

List projects in a GitLab group with filtering options

get_repository_tree

Get the repository tree for a GitLab project (list files and directories)

list_merge_requests

List merge requests in a GitLab project with filtering options

get_users

Get GitLab user details by usernames

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/harshmaur/gitlab-mcp'

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