Skip to content
Cursor

GitLab MCP Server for Cursor

io.github.sumirati/mcp-gitlab

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

client:Cursor transport:stdio runtime:npm

Install GitLab MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-gitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sumirati/mcp-gitlab"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
        "GITLAB_API_URL": "<GITLAB_API_URL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

GitLab MCP Server in other clients