Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-jmrplens-gitlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.jmrp.io/gitlab"
]
}
}
}
Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-jmrplens-gitlab-mcp-server": {
"url": "https://mcp.jmrp.io/gitlab"
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-jmrplens-gitlab-mcp-server": {
"type": "http",
"url": "https://mcp.jmrp.io/gitlab"
}
}
}
The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-jmrplens-gitlab-mcp-server": {
"type": "http",
"url": "https://mcp.jmrp.io/gitlab"
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-jmrplens-gitlab-mcp-server": {
"serverUrl": "https://mcp.jmrp.io/gitlab"
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-jmrplens-gitlab-mcp-server": {
"type": "streamableHttp",
"url": "https://mcp.jmrp.io/gitlab"
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| GITLAB_URL | No | GitLab instance URL (default: https://gitlab.com; set for self-managed instances) Default: https://gitlab.com |
| GITLAB_TOKEN secret | Yes | GitLab Personal Access Token (glpat-...) |
| GITLAB_MCP_SKIP_TLS_VERIFY | No | Skip TLS certificate verification for self-signed certs (default: false) Default: false |
| GITLAB_MCP_TOOL_SURFACE | No | Tool catalog selector: dynamic, meta, or individual (default: dynamic) Default: dynamic |
| GITLAB_MCP_TIER | No | GitLab tier: free/ce, premium or ultimate, used as given. When unset, detected from the instance license, then from the plans of the namespaces the token administers, falling back to free. Gates Premium and Ultimate actions; GitLab.com Ultimate also serves the Orbit Knowledge Graph tools |
| GITLAB_MCP_READ_ONLY | No | Read-only mode: removes every mutating action from the served surface; reads keep working (default: false) Default: false |
| GITLAB_MCP_SAFE_MODE | No | Safe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false) Default: false |
| GITLAB_MCP_LOG_LEVEL | No | Logging verbosity (default: info) Default: info |
| GITLAB_MCP_EXCLUDE_TOOLS | No | Comma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner) |
| GITLAB_MCP_IGNORE_SCOPES | No | Skip the scope filter and the read_api narrowing and register all tools regardless of token permissions; a token carrying neither read_api nor api is still refused (default: false) Default: false |
| GITLAB_MCP_RATE_LIMIT_RPS | No | Rate limit per credential, in requests per second, on every call that reaches GitLab, with tools/list charged to a bucket of its own; 0, the default on stdio, disables it (default: 0) Default: 0 |
| GITLAB_MCP_RATE_LIMIT_BURST | No | Token-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40) Default: 40 |
| GITLAB_MCP_META_PARAM_SCHEMA | No | Meta-tool input schema detail: opaque, compact, or full (default: opaque) Default: opaque |
| GITLAB_MCP_CAPABILITY_SURFACE | No | Resource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full Default: full |
| GITLAB_MCP_EMBEDDED_RESOURCES | No | Append EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true) Default: true |
| GITLAB_MCP_ALLOWED_IMPORT_DIRS | No | Extra OS path-list-separated directories a project or group import archive may be read from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
| GITLAB_MCP_ALLOWED_UPLOAD_DIRS | No | Extra OS path-list-separated directories an action may read a local file from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
| GITLAB_MCP_UPLOAD_MAX_FILE_SIZE | No | Largest local file an upload or file-reading action accepts, in bytes or with a KB, MB or GB suffix (e.g. 2GB); at most 1 TB (default: 2147483648, 2 GB) Default: 2147483648 |
| GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS | No | Extra OS path-list-separated directories an action may write a downloaded file into; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
Remote headers
HTTP headers the remote endpoint expects.
| Name | Required | Description |
|---|---|---|
| Authorization secret | No | Bearer <token>. The endpoint runs in OAuth mode: a client that speaks the OAuth flow needs no header at all and discovers the authorization server from the 401 challenge. A GitLab personal access token also works here, sent as 'Bearer glpat-...', which keeps clients with no OAuth flow working. It travels per request and is never stored server-side. |