Skip to content
VS Code

efficient gitlab for VS Code

io.github.detailobsessed/efficient-gitlab

Token-efficient GitLab MCP: 167 tools via 3 meta-tools, field projection, keyset pagination

client:VS Code transport:stdio runtime:npm

Install efficient gitlab in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gitlab-personal-access-token",
      "description": "GITLAB_PERSONAL_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gitlab-api-url",
      "description": "GITLAB_API_URL",
      "password": true
    }
  ],
  "servers": {
    "efficient-gitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "efficient-gitlab-mcp-server"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "${input:gitlab-personal-access-token}",
        "GITLAB_API_URL": "${input:gitlab-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

efficient gitlab in other clients