Can VS Code & GitHub Copilot use GitLab?

Updated October 27, 2026 · from live checks of 50,180 MCP servers · Methodology

Yes.Add a remote URL in VS Code’s mcp.json ("type": "http"). GitLab runs an official remote MCP server (gitlab.com). Checked live on 2026-10-27.

Official GitLab route

GitLab runs its own MCP server.

  • Endpoint: https://gitlab.com/api/v4/mcp
  • Sign-in: Sign-in required (OAuth)
  • In the official MCP Registry: No. Published through GitLab's own docs or domain.

Checked 2026-10-27. Spotted something out of date? Tell us →

Built a third-party GitLab MCP server? Get the Verified vendor label so buyers can tell yours from the other 30 ($49/mo) Get Verified →

Remote GitLab servers

ServerPublisherStatusSign-inToolsTrust
GitLab hosted MCP server gitlab.comOfficial · GitLab-hostedLive · sign-inOAuth (official)——
GitLab MCP Server
Yours? Claim it
CommunityLive · sign-inOAuth sign-in—B
Gitlab Public
Yours? Claim it
CommunityLiveNo auth—B
Gitlab
Yours? Claim it
CommunityLiveNo auth—B
Gitlab
Yours? Claim it
CommunityLive · sign-inOAuth sign-in—D

Local GitLab servers

ServerPublisherStatusSign-inToolsTrust
GitLab MCP Server
Yours? Claim it
CommunityLocal installAPI key—B
Gk Cli
Yours? Claim it
Registry domainLocal installNo auth—B
Advanced GitLab MCP server
Yours? Claim it
CommunityLocal installAPI key—C
MCP Gitlab
Yours? Claim it
CommunityLocal installAPI key—C
Gitlab Docs
Yours? Claim it
CommunityLocal installNo auth—C
MCP Gitlab
Yours? Claim it
CommunityLocal installNo auth—C
Gitlab
Yours? Claim it
Registry domainLocal installNo auth—C
CICD AIops
Yours? Claim it
CommunityLocal installNo auth—C

How to add GitLab to VS Code & GitHub Copilot

  1. Open the Command Palette and run MCP: Add Server. Choose HTTP for a server URL or Command (stdio) for a local install command.
  2. Or edit .vscode/mcp.json in your workspace: VS Code’s format puts servers under a top-level "servers" object (remote: "type": "http" + "url"; local: "type": "stdio" + "command"). Portable Copilot files (.mcp.json, ~/.copilot/mcp-config.json) use "mcpServers" instead, so don’t copy between them unchecked.
  3. Sign in if the server asks, then use its tools in Copilot agent chat.

Example for GitLab MCP Server (local, from the table above), in .vscode/mcp.json:

{
  "servers": {
    "gitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zereight/mcp-gitlab@2.3.12"
      ],
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<value>",
        "GITLAB_JOB_TOKEN": "<value>"
      }
    }
  }
}

Menus change, so check the VS Code MCP configuration reference. Every server page has a copy-paste config for VS Code & GitHub Copilot.

Is it safe to connect GitLab to VS Code & GitHub Copilot?

Use the official server run by GitLab. Anything a tool returns is sent to the AI vendor, so use a business plan that doesn't train on your data.

Can ChatGPT or Claude connect to GitLab?

See https://canmyaiuse.pages.dev/can/chatgpt/gitlab/ and https://canmyaiuse.pages.dev/can/claude/gitlab/

Does GitLab have an official MCP server?

Yes. GitLab hosts one at gitlab.com. It isn't listed in the official MCP Registry; we found it on GitLab's own domain. Checked 2026-10-27. Full list: https://canmyaiuse.pages.dev/apps/gitlab/

Put your server here

Featured placement on GitLab and other Developer Tools pages, where people check whether their AI can connect.

Feature your server — $149/moCategory Takeover — $399/mo

Featured placements are paid and labelled. They never change rank. How we rank · How to get discovered (free guide)

Built a third-party GitLab MCP server? Get the “Verified vendor ✓” label so buyers can tell yours from the other 30. Get Verified — $49/mo

All GitLab servers: GitLab MCP servers · ChatGPT · Claude · Best MCP servers for VS Code & GitHub Copilot

Try “Notion”, “Stripe”, “create invoice”, “browser”