zereight/gitlab-mcp
MCP server for GitLab: 288 tools for projects, MRs, issues, pipelines, wikis and more via the GitLab REST/GraphQL API
eb4676e4062d@zereight/mcp-gitlab2.3.31 in package.jsonio.github.zereight/gitlab-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 813 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 file reached by the taint walk exceeded the 524288 byte size limit and were read and parsed only up to it
- 1 file exceeded the 524288 byte size limit and were parsed only up to it
- 1 source file could be read only in part
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- CRITICAL5 security advisories have been published for this server itself (worst: critical). 1 of them lists no fixed version.
- MEDIUMTool
omg_write_statereads or writes any file path by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
omg_write_statecan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
omg_write_state, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Read its open advisories before installing
GHSA-5383-j2p9-qfg3 (critical) lists no fixed version. Check whether the version you install is affected.
- Use a fixed version
Versions before
@zereight/mcp-gitlab2.1.30 have a published vulnerability that is fixed in 2.1.30. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 16 tools, 1 prompt, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
(name computed at run time), omg_check_completion, omg_create_prd, omg_delete_memory, omg_list_active, omg_next_phase and 7 more(name computed at run time)(name computed at run time), omg_check_completion, omg_clear_state, omg_create_prd, omg_delete_memory, omg_list_active and 8 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
getEffectiveApiUrl· (name computed at run time)
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
146 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files12 tools · (name computed at run time), omg_check_completion, omg_delete_memory +9
- web or API responses1 tool · (name computed at run time)
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (18: 16 tools, 1 prompt, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
omg_write_statetool Write or update state for a given OMG mode. Merges with existing state.FilesEnv varsoutside textReads/writes files
Write or update state for a given OMG mode. Merges with existing state.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)tool FilesNetworkEnv varsoutside text
No description.
omg_check_completiontool Check if the current workflow has incomplete tasks. Returns whether the agent should continue or can stop.FilesEnv varsoutside text
Check if the current workflow has incomplete tasks. Returns whether the agent should continue or can stop.
omg_clear_statetool Clear state for a given OMG mode or all modesEnv vars
Clear state for a given OMG mode or all modes
omg_create_prdtool Create a new PRD with title, description, and storiesFilesEnv vars
Create a new PRD with title, description, and stories
omg_delete_memorytool Delete a project memory entry by keyFilesEnv varsoutside text
Delete a project memory entry by key
omg_get_phase_infotool Get information about omg-autopilot phases
Get information about omg-autopilot phases
omg_list_activetool List all currently active OMG modesFilesEnv varsoutside text
List all currently active OMG modes
omg_next_phasetool Advance the omg-autopilot workflow to the next phase. Returns the new phase details.FilesEnv varsoutside text
Advance the omg-autopilot workflow to the next phase. Returns the new phase details.
omg_read_memorytool Read project memory entries. Optionally filter by category or key.FilesEnv varsoutside text
Read project memory entries. Optionally filter by category or key.
omg_read_prdtool Read the current PRD (Product Requirements Document) with all stories and their statusFilesEnv varsoutside text
Read the current PRD (Product Requirements Document) with all stories and their status
omg_read_statetool Read the current state for a given OMG mode (omg-autopilot, ralph, ultrawork, ultraqa, team, self-improve)FilesEnv varsoutside text
Read the current state for a given OMG mode (omg-autopilot, ralph, ultrawork, ultraqa, team, self-improve)
omg_select_modeltool Recommend the best model for a task based on complexity analysis. Maps OMC model tiers (HIGH/MEDIUM/LOW) to available VS Code Copilot models.
Recommend the best model for a task based on complexity analysis. Maps OMC model tiers (HIGH/MEDIUM/LOW) to available VS Code Copilot models.
omg_update_storytool Update a story's status (passes: true/false) and optionally add verification evidenceFilesEnv varsoutside text
Update a story's status (passes: true/false) and optionally add verification evidence
omg_verify_storytool Get the next unverified story and its acceptance criteria for verificationFilesEnv varsoutside text
Get the next unverified story and its acceptance criteria for verification
omg_write_memorytool Write or update a project memory entryFilesEnv varsoutside text
Write or update a project memory entry
Text the model reads (18)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
omg_read_memory tool
Read project memory entries. Optionally filter by category or key.
omg_write_memory tool
Write or update a project memory entry
omg_delete_memory tool
Delete a project memory entry by key
omg_select_model tool
Recommend the best model for a task based on complexity analysis. Maps OMC model tiers (HIGH/MEDIUM/LOW) to available VS Code Copilot models.
omg_read_prd tool
Read the current PRD (Product Requirements Document) with all stories and their status
omg_create_prd tool
Create a new PRD with title, description, and stories
omg_update_story tool
Update a story's status (passes: true/false) and optionally add verification evidence
omg_verify_story tool
Get the next unverified story and its acceptance criteria for verification
omg_read_state tool
Read the current state for a given OMG mode (omg-autopilot, ralph, ultrawork, ultraqa, team, self-improve)
omg_write_state tool
Write or update state for a given OMG mode. Merges with existing state.
omg_clear_state tool
Clear state for a given OMG mode or all modes
omg_list_active tool
List all currently active OMG modes
omg_next_phase tool
Advance the omg-autopilot workflow to the next phase. Returns the new phase details.
omg_check_completion tool
Check if the current workflow has incomplete tasks. Returns whether the agent should continue or can stop.
omg_get_phase_info tool
Get information about omg-autopilot phases
(name computed at run time) prompt
(name computed at run time) resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path MEDIUM1 finding in omg_write_state
- Requests any addressNo tool sends a request to an address the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
- Tools that touch files13 of 18 capabilities touch files; 5 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 18 capabilities call the network; 17 more call code the scanner could not follow, where it may happen
Where the code is: 18 handlers in 6 files at commit eb4676e4062d
index.ts(name computed at run time), (name computed at run time), (name computed at run time)mcp-server/src/memory-tools.tsomg_read_memory, omg_write_memory, omg_delete_memorymcp-server/src/model-router.tsomg_select_modelmcp-server/src/prd-tools.tsomg_read_prd, omg_create_prd, omg_update_story, omg_verify_storymcp-server/src/state-tools.tsomg_read_state, omg_write_state, omg_clear_state, omg_list_activemcp-server/src/workflow-tools.tsomg_next_phase, omg_check_completion, omg_get_phase_info
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: mcp-server/package.json, package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.29.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
- Environment variables14 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (3 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- CRITICAL GHSA-cv3r-c5h8-f4g5CVE-2026-61560@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover
- CRITICAL GHSA-2h44-8472-frjjCVE-2026-61559@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery
- CRITICAL GHSA-vmp7-252j-cwp7CVE-2026-61568@zereight/mcp-gitlab: DNS rebinding reaches local Streamable HTTP MCP transport
- HIGH @zereight/mcp-gitlab has multiple safety-control bypasses: execute_graphql read-only + allow-list bypass, unauthenticated transports, session-exhaustion DoS
- CRITICAL GHSA-5383-j2p9-qfg3CVE-2026-61462mcp-gitlab contains a path traversal vulnerability in the job_id parameter of build/index.js that...
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.0, @modelcontextprotocol/sdk ^1.29.0 |
| Servers in the code | 1 (omg-workflow) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | 5 · 4 with a fixed version released |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Install it
For the server's own npm package @zereight/mcp-gitlab. Pin a version (@zereight/[email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"gitlab-mcp": {
"command": "npx",
"args": [
"-y",
"@zereight/mcp-gitlab"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"gitlab-mcp": {
"command": "npx",
"args": [
"-y",
"@zereight/mcp-gitlab"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"gitlab-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zereight/mcp-gitlab"
]
}
}
}Claude Code terminal
claude mcp add gitlab-mcp -- npx -y @zereight/mcp-gitlabWhere it is published
| npm package | @zereight/mcp-gitlab |
|---|---|
| Downloads | 827 439 a month on npm |
| MCP Registry | io.github.zereight/gitlab-mcp |
| Listed in | 7 catalogs (awesome_tensorblock, github_search, glama, mcp_registry, mcp_toplist, mcpservers_org, npm) |
| License | MIT |
| Created | 2025-02-11 |
| Topics | ai claude cursor devtools gitlab gitlab-api llm mcp mcp-server model-context-protocol |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.