GitLab

modelcontextprotocol@modelcontextprotocol92.4Kon modelcontextprotocol/serversMCP server

GitLab MCP Server is a gitlab mcp integration that lets AI assistants search projects, read files, push commits, and open issues, branches, forks and…

MCP configuration 1

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>",
        "GITLAB_API_URL": "https://gitlab.com/api/v4"
      }
    }
  }
}

Use this in your own environment. Copying text here does not run it.

Made forDevelopment
What you needAn MCP client that accepts server configuration
Project links
Sources checked2026-11-02

How to use it

  1. Open the listing page and read the server's documentation.
  2. Copy the configuration or command into your MCP client.
  3. Restart the client and try one of the server's tools.

Other setup options

MCP configuration 2

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "GitLab": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://<gitlab.example.com>/api/v4/mcp"
      ]
    }
  }
}

MCP configuration 3

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "GitLab": {
      "type": "http",
      "url": "https://<gitlab.example.com>/api/v4/mcp"
    }
  }
}

MCP configuration 4

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gitlab"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>",
        "GITLAB_API_URL": "https://gitlab.com/api/v4"
      }
    }
  }
}

Security checks

Automated checks, last run Nov 30, 2026. They can miss problems and do not guarantee a listing is safe. Read the source and what you are asked to run before you use it.

3 of 4 checks passed, 1 note
  • NoteInstall scripts and package statusLayer 2

    The npm package runs code when installed, or is deprecated. See the evidence.

    Evidence (1)
    @modelcontextprotocol/server-gitlab deprecated
    Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

    Source: npm registry

  • PassedSetup commands and descriptionLayer 1

    No blocking patterns. Notes are listed in the evidence.

    Evidence (2)
    note: unpinned-package
    gitlab: npx runs "@modelcontextprotocol/server-gitlab" without a pinned version, so whoever owns that package name can change what runs
    note: unpinned-package
    GitLab: npx runs "mcp-remote" without a pinned version, so whoever owns that package name can change what runs

    Source: AIWantsThis screening rules

  • PassedKnown vulnerabilities in the packageLayer 2

    OSV.dev lists no advisories for this package.

    Evidence (2)
    @modelcontextprotocol/[email protected]
    No advisories listed in OSV.dev.
    [email protected]
    No advisories listed in OSV.dev.

    Source: OSV.dev

  • PassedSource repositoryLayer 2

    The repository is public, not archived and has recent activity.

    Evidence (3)
    Last push
    2026-11-30
    Archived
    no
    License
    none declared

    Source: GitHub