GitLab MCP Server for VS Code
io.github.sumirati/mcp-gitlab
Developer-ready GitLab MCP server for CE and EE instances.
client:VS Code
transport:stdio
runtime:npm
Install GitLab MCP Server 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": {
"mcp-gitlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sumirati/mcp-gitlab"
],
"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