NestDaddy

GitLab MCP Server

io.github.sumirati/mcp-gitlab ยท v3.2.0

Developer-ready GitLab MCP server for CE and EE instances.

Connect Runs on your machine

Terminal
claude mcp add mcp-gitlab -e GITLAB_PERSONAL_ACCESS_TOKEN=<GITLAB_PERSONAL_ACCESS_TOKEN> -e GITLAB_API_URL=<GITLAB_API_URL> -e GITLAB_READ_ONLY=<GITLAB_READ_ONLY> -e GITLAB_EXPOSE_ALL_TOOLS=<GITLAB_EXPOSE_ALL_TOOLS> -e MCP_OUTPUT_FORMAT=<MCP_OUTPUT_FORMAT> -- npx -y @sumirati/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@sumirati/[email protected]"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
        "GITLAB_API_URL": "<GITLAB_API_URL>",
        "GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
        "GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
        "MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@sumirati/[email protected]"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
        "GITLAB_API_URL": "<GITLAB_API_URL>",
        "GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
        "GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
        "MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-gitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sumirati/[email protected]"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
        "GITLAB_API_URL": "<GITLAB_API_URL>",
        "GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
        "GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
        "MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
GITLAB_PERSONAL_ACCESS_TOKEN
Required, secret
GitLab Personal Access Token with api scope
GITLAB_API_URL
Optional
GitLab instance API URL (defaults to https://gitlab.com/api/v4)
GITLAB_READ_ONLY
Optional
Enable read-only safety mode (true/false, default: false)
GITLAB_EXPOSE_ALL_TOOLS
Optional
Set to true to expose all 90 catalog actions directly on ListTools instead of the 5-tool hybrid surface
MCP_OUTPUT_FORMAT
Optional
Default output format: 'markdown' (default, compact tables) or 'json'

Details

Package@sumirati/[email protected] (NPM, stdio)
First published16 Oct 2026
Last updated16 Oct 2026
Registry nameio.github.sumirati/mcp-gitlab

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.