Home / Market / GitLab

GitLab

GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only

mcp★ 08891 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-mcp-gitlab-7f0ad861ce635db9ae18": { "command": "uvx", "args": [ "--from", "mcp-gitlab==0.26.0", "mcp-gitlab" ], "env": { "GITLAB_TOKEN": "${ENV_GITLAB_TOKEN}", "GITLAB_URL": "${ENV_GITLAB_URL}", "GITLAB_READ_ONLY": "${ENV_GITLAB_READ_ONLY}", "MCP_READ_ONLY": "${ENV_MCP_READ_ONLY}", "MCP_TOOLSETS": "${ENV_MCP_TOOLSETS}", "MCP_TOOLS": "${ENV_MCP_TOOLS}", "MCP_EXCLUDE_TOOLS": "${ENV_MCP_EXCLUDE_TOOLS}", "GITLAB_AUTH": "${ENV_GITLAB_AUTH}", "GITLAB_OAUTH_CLIENT_ID": "${ENV_GITLAB_OAUTH_CLIENT_ID}", "GITLAB_OAUTH_CLIENT_SECRET": "${ENV_GITLAB_OAUTH_CLIENT_SECRET}", "GITLAB_OAUTH_BASE_URL": "${ENV_GITLAB_OAUTH_BASE_URL}", "GITLAB_OAUTH_SCOPES": "${ENV_GITLAB_OAUTH_SCOPES}", "GITLAB_OAUTH_JWT_KEY": "${ENV_GITLAB_OAUTH_JWT_KEY}", "GITLAB_HTTP_BEARER_TOKEN": "${ENV_GITLAB_HTTP_BEARER_TOKEN}" } } }, "setup": { "fields": [ { "id": "ENV_GITLAB_TOKEN", "label": "GITLAB_TOKEN", "description": "GitLab personal access token (token mode). Optional after mcp-gitlab auth login; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN", "required": false, "secret": true, "default": "" }, { "id": "ENV_GITLAB_URL", "label": "GITLAB_URL", "description": "GitLab instance URL (e.g. https://gitlab.com)", "required": true, "secret": false, "default": "" }, { "id": "ENV_GITLAB_READ_ONLY", "label": "GITLAB_READ_ONLY", "description": "Alias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_READ_ONLY", "label": "MCP_READ_ONLY", "description": "Locks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_TOOLSETS", "label": "MCP_TOOLSETS", "description": "Comma list of tool groups to expose (code, review, ci, issues, release, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selection", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_TOOLS", "label": "MCP_TOOLS", "description": "Comma list of tool names to expose, exactly as in tools/list (e.g. gitlab_get_mr,gitlab_list_mrs); unset lists every tool the toolsets allow. Applied after MCP_TOOLSETS; unknown names exit 2", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_EXCLUDE_TOOLS", "label": "MCP_EXCLUDE_TOOLS", "description": "Comma list of tool names to hide, exactly as in tools/list; applied after MCP_TOOLSETS and MCP_TOOLS. Unknown names, or a selection that leaves no tools, exit 2", "required": false, "secret": false, "default": "" }, { "id": "ENV_GITLAB_AUTH", "label": "GITLAB_AUTH", "description": "Authentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GITLAB_OAUTH_CLIENT_ID", "label": "GITLAB_OAUTH_CLIENT_ID", "description": "Application ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GITLAB_OAUTH_CLIENT_SECRET", "label": "GITLAB_OAUTH_CLIENT_SECRET", "description": "Secret of the GitLab OAuth app (oauth mode)", "required": false, "secret": true, "default": "" }, { "id": "ENV_GITLAB_OAUTH_BASE_URL", "label": "GITLAB_OAUTH_BASE_URL", "description": "Public URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback", "required": false, "secret": false, "default": "" }, { "id": "ENV_GITLAB_OAUTH_SCOPES", "label": "GITLAB_OAUTH_SCOPES", "description": "Space-separated GitLab scopes required on every request (oauth mode; default api)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GITLAB_OAUTH_JWT_KEY", "label": "GITLAB_OAUTH_JWT_KEY", "description": "FastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)", "required": false, "secret": true, "default": "" }, { "id": "ENV_GITLAB_HTTP_BEARER_TOKEN", "label": "GITLAB_HTTP_BEARER_TOKEN", "description": "Bearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>' (token mode; --auth oauth has its own sign-in)", "required": false, "secret": true, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.vish288/mcp-gitlab", "registryVersion": "0.26.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.vish288%2Fmcp-gitlab/versions/0.26.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "mcp-gitlab", "version": "0.26.0", "wheelSha256": "dda92a71694f6da9e05f20a2ed555d28a47a7f0fdcc54f8eca4f0ebac2e84c72", "registryNameMatched": "io.github.vish288/mcp-gitlab", "checkedAt": "2026-12-02T03:24:49.288Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }