GitLab MCP Server

Enables interaction with GitLab accounts to manage repositories, merge requests, CI/CD, and project settings.

Local serverstdio★ 21

What is the GitLab MCP Server?

Enables interaction with GitLab accounts to manage repositories, merge requests, CI/CD, and project settings.

What the server does

A Model Context Protocol (MCP) server that enables you to interact with your GitLab account. Get diffs, analyze merge requests, review code, cherry-pick changes, and more. This is an extended version of the MCP GitLab Server from the Model Context Protocol project.

Credentials and setup notes

  • Node.js (v16 or higher) - npm - A GitLab account with an API token

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js (v16 or higher) - npm - A GitLab account with an API token
VariableDescriptionRequired
GITLAB_API_TOKENCredential the server authenticates with.Yes
GITLAB_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use GitLab to Prerequisites.”
  • “Use GitLab to Setup.”
  • “Use GitLab to Capabilities.”

Frequently asked questions

You can use it to manage GitLab projects, branches, merge requests, issues, CI/CD pipelines, users, groups, webhooks, and integrations, all through natural language commands to an AI assistant.