Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITLAB_URLNoYour GitLab instance URLhttps://gitlab.com
GITLAB_PROJECT_IDYesYour GitLab project ID (numeric identifier)
GITLAB_ACCESS_TOKENYesYour GitLab access token with read_api scope

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_merge_requests

List merge requests for the GitLab project

get_merge_request_reviews

Get reviews and discussions for a specific merge request

get_merge_request_details

Get detailed information about a specific merge request

get_merge_request_pipeline

Get the last pipeline data for a specific merge request, including all jobs and their statuses. Returns job IDs that can be used with get_job_log to fetch detailed output.

get_merge_request_test_report

Get structured test report for a merge request with specific test failures, error messages, and stack traces. Shows the same test data visible on the GitLab MR page. Best for debugging test failures.

get_pipeline_test_summary

Get test summary for a merge request - a lightweight overview showing pass/fail counts per test suite. Faster than full test report. Great for quick status checks.

get_job_log

Get the trace/log output for a specific pipeline job. Perfect for debugging failed tests and understanding CI/CD failures.

get_branch_merge_requests

Get all merge requests for a specific branch

reply_to_review_comment

Reply to a specific discussion thread in a merge request review

create_review_comment

Create a new discussion thread in a merge request review

resolve_review_discussion

Resolve or unresolve a discussion thread in a merge request review

get_commit_discussions

Get discussions and comments on commits within a specific merge request

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/amirsina-mandegari/gitlab-mcp-server'

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