@zereight/mcp-gitlab 2.0.22 → 2.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,15 +6,11 @@
6
6
 
7
7
  ## @zereight/mcp-gitlab
8
8
 
9
- [![smithery badge](https://smithery.ai/badge/@zereight/gitlab-mcp)](https://smithery.ai/server/@zereight/gitlab-mcp)
10
-
11
9
  GitLab MCP(Model Context Protocol) Server. **Includes bug fixes and improvements over the original GitLab MCP server.**
12
10
 
13
- <a href="https://glama.ai/mcp/servers/7jwbk4r6d7"><img width="380" height="200" src="https://glama.ai/mcp/servers/7jwbk4r6d7/badge" alt="gitlab mcp MCP server" /></a>
14
-
15
11
  ## Usage
16
12
 
17
- ### Using with Claude App, Cline, Roo Code, Cursor, Kilo Code
13
+ ### Using with Claude Code, Codex, Antigravity, OpenCode, Copilot, Cline, Roo Code, Cursor, Kilo Code, Amp Code
18
14
 
19
15
  When using with the Claude App, you need to set up your API key and URLs directly.
20
16
 
@@ -94,6 +90,38 @@ Then configure the MCP server with OAuth:
94
90
  }
95
91
  ```
96
92
 
93
+ #### Using CLI Arguments (for clients with env var issues)
94
+
95
+ Some MCP clients (like GitHub Copilot CLI) have issues with environment variables. Use CLI arguments instead:
96
+
97
+ ```json
98
+ {
99
+ "mcpServers": {
100
+ "gitlab": {
101
+ "command": "npx",
102
+ "args": [
103
+ "-y",
104
+ "@zereight/mcp-gitlab",
105
+ "--token=YOUR_GITLAB_TOKEN",
106
+ "--api-url=https://gitlab.com/api/v4"
107
+ ],
108
+ "tools": ["*"]
109
+ }
110
+ }
111
+ }
112
+ ```
113
+
114
+ **Available CLI arguments:**
115
+
116
+ - `--token` - GitLab Personal Access Token (replaces `GITLAB_PERSONAL_ACCESS_TOKEN`)
117
+ - `--api-url` - GitLab API URL (replaces `GITLAB_API_URL`)
118
+ - `--read-only=true` - Enable read-only mode (replaces `GITLAB_READ_ONLY_MODE`)
119
+ - `--use-wiki=true` - Enable wiki API (replaces `USE_GITLAB_WIKI`)
120
+ - `--use-milestone=true` - Enable milestone API (replaces `USE_MILESTONE`)
121
+ - `--use-pipeline=true` - Enable pipeline API (replaces `USE_PIPELINE`)
122
+
123
+ CLI arguments take precedence over environment variables.
124
+
97
125
  #### vscode .vscode/mcp.json
98
126
 
99
127
  **Using OAuth2 (Non-Confidential - Recommended):**
@@ -517,6 +545,9 @@ The token is stored per session (identified by `mcp-session-id` header) and reus
517
545
  93. `delete_release` - Delete a release from a GitLab project (does not delete the associated tag)
518
546
  94. `create_release_evidence` - Create release evidence for an existing release (GitLab Premium/Ultimate only)
519
547
  95. `download_release_asset` - Download a release asset file by direct asset path
548
+ 96. `approve_merge_request` - Approve a merge request (requires appropriate permissions)
549
+ 97. `unapprove_merge_request` - Unapprove a previously approved merge request
550
+ 98. `get_merge_request_approval_state` - Get the approval state of a merge request including approval rules and who has approved
520
551
  <!-- TOOLS-END -->
521
552
 
522
553
  </details>