GitLab API MCP Server
Manage repositories, CI/CD pipelines, and merge requests through your AI agent.
Quick Answer
- 1. The GitLab API MCP server lets Claude, Cursor, and VS Code interact with the GitLab API API through natural language.
- 2. Setup: Add the config to
claude_desktop_config.json, set your OAuth2 variables, and restart. - 3. 3 operations available including List projects, List merge requests, List pipelines.
- 4. Quality score: 58/99 — fair source quality and documentation coverage.
Overview
Category: Developer Tools
Auth: OAuth2
Endpoints: 3
Transport: STDIO
Command: npx -y @gitlab/mcp-server
Spec: v4.0
Setup time: ~2 min (auth required)
Environment Variables
GITLAB_TOKENExample: your_gitlab_token
One-Click Install
Copy the snippet for your MCP client and paste it in — zero editing required.
Claude Desktop
Add to claude_desktop_config.json
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@gitlab/mcp-server"
],
"env": {
"GITLAB_TOKEN": "your_gitlab_token"
}
}
}
}Cursor
Settings → MCP Servers → Add
{
"mcpServers": {
"gitlab": {
"url": "https://mcpbridge.org/config/gitlab.json"
}
}
}Saves as .cursor/mcp.json in the download. Move it to your project root.
VS Code
Use with MCP extension
{
"mcpServers": {
"gitlab": {
"url": "https://mcpbridge.org/config/gitlab.json"
}
}
}MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y","@gitlab/mcp-server"],
"env": {
"GITLAB_TOKEN": "your_gitlab_token"
}
}
}
}What You Can Build
With the GitLab API MCP server, your AI assistant can:
- Access 3 API operations through natural language
- Read, create, and modify developer tools resources without writing HTTP requests
- Chain multiple operations in a single conversation for complex workflows
- Combine with other MCP servers for cross-tool automation
Endpoints
/projectsList projects
/projects/{id}/merge_requestsList merge requests
/projects/{id}/pipelinesList pipelines
Authentication
This API requires OAuth2 authentication.
Set the required environment variables in your MCP client before using this server. Refer to the GitLab API API documentation to obtain credentials.
Required environment variables:
GITLAB_TOKEN
Spec Version
Version: 4.0
Spec version published with the OpenAPI document. Config auto-updates when the spec changes.
Page last updated: June 13, 2026
Quality Score
- +Community source (+22)
- +Has documentation (+12)
- +Auth type defined (+8)
- +OpenAPI spec available (+8)
- +3 endpoints (+8)
Own this API?
Claim your listing to update description, links, and category — and get a verified badge.
Claim this listing →Similar APIs
Other APIs in the Developer Tools category.
GitHub API
Access GitHub repositories, issues, pull requests, and more. Integrate GitHub workflows directly into your AI agent.
OAuth2Asana
This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml).
Box Platform API
[Box Platform](https://box.dev) provides functionality to provide access to content stored within [Box](https://box.com). It provides endpoints for basic manipulation of files and folders, management of users within an enterprise, as well as more complex topics such as legal holds and retention poli
clickup20
Polls is a simple API allowing consumers to view polls and vote in them.