Skills/npm/gitlab-mcp

gitlab-mcp@1.7.0

VERIFIED· not started

Publisher claims: "A MCP server for GitLab" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher mcpland · publishing for 599 daysInstalls 3,190Last detonated 1 h ago
$claude mcp add gitlab-mcp -- npx -y gitlab-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
GITLAB_AUTH_COOKIE_PATHGITLAB_DOWNLOAD_TOKEN_SECRETGITLAB_DOWNLOAD_TOKEN_TTL_SECONDSGITLAB_JOB_TOKENGITLAB_MCP_OAUTHGITLAB_OAUTH_CLIENT_IDGITLAB_PERSONAL_ACCESS_TOKENGITLAB_TOKEN_FILEGITLAB_TOKEN_SCRIPTGITLAB_USE_OAUTHNODE_TLS_REJECT_UNAUTHORIZEDREMOTE_AUTHORIZATIONConfiguration, not credentials: ENABLE_DYNAMIC_API_URL, GITLAB_ALLOW_CI_VARIABLE_VALUES, GITLAB_ALLOWED_PROJECT_IDS, GITLAB_ALLOWED_TOOLS, GITLAB_API_URL, GITLAB_API_URLS, GITLAB_CA_CERT_PATH, GITLAB_DENIED_TOOLS_REGEX, GITLAB_DISABLED_CAPABILITIES, GITLAB_ENABLE_CI_VARIABLE_TOOLS, GITLAB_ENABLE_COMPATIBILITY_ALIASES, GITLAB_ENABLE_DEPENDENCY_PROXY_TOOLS, GITLAB_ENABLE_JMESPATH, GITLAB_ENABLE_ORBIT_TOOLS, GITLAB_ENABLE_RAW_API, GITLAB_ERROR_DETAIL_MODE, GITLAB_HTTP_MAX_RETRIES, GITLAB_HTTP_RETRY_BASE_MS, GITLAB_HTTP_RETRY_MAX_DELAY_MS, GITLAB_HTTP_TIMEOUT_MS, GITLAB_LOCAL_FILE_ROOTS, GITLAB_MAX_LOCAL_FILE_BYTES, GITLAB_MAX_RESPONSE_BYTES, GITLAB_PERMISSION_MODE, GITLAB_RESPONSE_MASKING_FILE, GITLAB_RESPONSE_MODE, GITLAB_TOOLSETS, HTTP_HOST
Where it talks to
gitlab.invalid (its own)
What the honeypot saw
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard. It asks for GITLAB_AUTH_COOKIE_PATH, GITLAB_DOWNLOAD_TOKEN_SECRET, GITLAB_DOWNLOAD_TOKEN_TTL_SECONDS, GITLAB_JOB_TOKEN, GITLAB_MCP_OAUTH, GITLAB_OAUTH_CLIENT_ID, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_TOKEN_FILE, GITLAB_TOKEN_SCRIPT, GITLAB_USE_OAUTH, NODE_TLS_REJECT_UNAUTHORIZED, REMOTE_AUTHORIZATION and talks to gitlab.invalid. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.

$vet-skills run --secrets GITLAB_AUTH_COOKIE_PATH=gitlab.invalid,GITLAB_DOWNLOAD_TOKEN_SECRET=gitlab.invalid,GITLAB_DOWNLOAD_TOKEN_TTL_SECONDS=gitlab.invalid,GITLAB_JOB_TOKEN=gitlab.invalid,GITLAB_MCP_OAUTH=gitlab.invalid,GITLAB_OAUTH_CLIENT_ID=gitlab.invalid,GITLAB_PERSONAL_ACCESS_TOKEN=gitlab.invalid,GITLAB_TOKEN_FILE=gitlab.invalid,GITLAB_TOKEN_SCRIPT=gitlab.invalid,GITLAB_USE_OAUTH=gitlab.invalid,NODE_TLS_REJECT_UNAUTHORIZED=gitlab.invalid,REMOTE_AUTHORIZATION=gitlab.invalid -- npx -y gitlab-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 1.6.1

vet-skills diff gitlab-mcp 1.6.1 1.7.0

In the sandbox, this version reached for nothing 1.6.1 did not. Compared from the two recorded runs, not from source.

1.6.1 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-15 and scored it 83/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 21 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
21sprocessdependency install exit 1 · (Use `node --trace-warnings ...` to show where the warning was created) npm error Cannot read properties of null (reading 'edgesOut') npm error A complete log of this run can be found in: /tmp/ks-detonate-JuOSes/task/home/.npm/_logs/2026-11-15T20_40_22_337Z-debug-0.log
21sclaimednot started: dependency install failed (exit 1); the server itself was not observed
21sprocessscript backend runs setup only
21sprocessno install scripts to re-run

Static findings

MEDIUM
MCP server using network transport (SSE/HTTP)dist/tools/gitlab.js:4760 · MCP server using network transport (SSE/HTTP) — data sent over networkconst baseUrl = new URL(context.env.MCP_SERVER_URL ?? `http://${context.env.HTTP_HOST}:${String(context.env.HTTP_PORT)}`);Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
HIGH
Access to sensitive file pathsdist/tools/gitlab.js:6596 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesremoteCredentials: Boolean(context?.env.REMOTE_AUTHORIZATION || context?.env.GITLAB_MCP_OAUTH)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdist/tools/gitlab.js:6587 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst detailMode = context?.env.GITLAB_ERROR_DETAIL_MODE ?? "full";Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsdist/lib/gitlab-client.js:1954 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files".env",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)dist/http-app.js:305 · MCP server using network transport (SSE/HTTP) — data sent over network? new URL(appEnv.MCP_SERVER_URL ?? `http://${appEnv.HTTP_HOST}:${String(appEnv.HTTP_PORT)}`)Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
HIGH
URL with embedded credentialsdist/config/env.js:255 · URL with embedded credentials — may be phishing or credential leaking* embed credentials (https://user:token@host), and startup errors end up inFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07

Cost to the agent

Instructions loaded
≈41 tok
1 file · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.