Developer-ready GitLab MCP server for CE and EE instances.
Connect Runs on your machine
claude mcp add mcp-gitlab -e GITLAB_PERSONAL_ACCESS_TOKEN=<GITLAB_PERSONAL_ACCESS_TOKEN> -e GITLAB_API_URL=<GITLAB_API_URL> -e GITLAB_READ_ONLY=<GITLAB_READ_ONLY> -e GITLAB_EXPOSE_ALL_TOOLS=<GITLAB_EXPOSE_ALL_TOOLS> -e MCP_OUTPUT_FORMAT=<MCP_OUTPUT_FORMAT> -- npx -y @sumirati/[email protected]
{
"mcpServers": {
"mcp-gitlab": {
"command": "npx",
"args": [
"-y",
"@sumirati/[email protected]"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
"GITLAB_API_URL": "<GITLAB_API_URL>",
"GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
"GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
"MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
}
}
}
}
{
"mcpServers": {
"mcp-gitlab": {
"command": "npx",
"args": [
"-y",
"@sumirati/[email protected]"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
"GITLAB_API_URL": "<GITLAB_API_URL>",
"GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
"GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
"MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
}
}
}
}
{
"servers": {
"mcp-gitlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sumirati/[email protected]"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_PERSONAL_ACCESS_TOKEN>",
"GITLAB_API_URL": "<GITLAB_API_URL>",
"GITLAB_READ_ONLY": "<GITLAB_READ_ONLY>",
"GITLAB_EXPOSE_ALL_TOOLS": "<GITLAB_EXPOSE_ALL_TOOLS>",
"MCP_OUTPUT_FORMAT": "<MCP_OUTPUT_FORMAT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
GITLAB_PERSONAL_ACCESS_TOKENRequired, secret | GitLab Personal Access Token with api scope |
GITLAB_API_URLOptional | GitLab instance API URL (defaults to https://gitlab.com/api/v4) |
GITLAB_READ_ONLYOptional | Enable read-only safety mode (true/false, default: false) |
GITLAB_EXPOSE_ALL_TOOLSOptional | Set to true to expose all 90 catalog actions directly on ListTools instead of the 5-tool hybrid surface |
MCP_OUTPUT_FORMATOptional | Default output format: 'markdown' (default, compact tables) or 'json' |
Details
| Package | @sumirati/[email protected] (NPM, stdio) |
| First published | 16 Oct 2026 |
| Last updated | 16 Oct 2026 |
| Registry name | io.github.sumirati/mcp-gitlab |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
