@zereight/mcp-gitlab 1.0.38 → 1.0.39

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
@@ -14,6 +14,8 @@ GitLab MCP(Model Context Protocol) Server. **Includes bug fixes and improvements
14
14
 
15
15
  When using with the Claude App, you need to set up your API key and URLs directly.
16
16
 
17
+ #### npx
18
+
17
19
  ```json
18
20
  {
19
21
  "mcpServers": {
@@ -24,15 +26,46 @@ When using with the Claude App, you need to set up your API key and URLs directl
24
26
  "GITLAB_PERSONAL_ACCESS_TOKEN": "your_gitlab_token",
25
27
  "GITLAB_API_URL": "your_gitlab_api_url",
26
28
  "GITLAB_READ_ONLY_MODE": "false",
27
- "USE_GITLAB_WIKI":"true"
29
+ "USE_GITLAB_WIKI": "true"
28
30
  }
29
31
  }
30
32
  }
31
33
  }
32
34
  ```
33
35
 
34
- ### Environment Variables
36
+ #### Docker
37
+
38
+ ```json
39
+ {
40
+ "mcpServers": {
41
+ "GitLab communication server": {
42
+ "command": "docker",
43
+ "args": [
44
+ "run",
45
+ "-i",
46
+ "--rm",
47
+ "-e",
48
+ "GITLAB_PERSONAL_ACCESS_TOKEN",
49
+ "-e",
50
+ "GITLAB_API_URL",
51
+ "-e",
52
+ "GITLAB_READ_ONLY_MODE",
53
+ "-e",
54
+ "USE_GITLAB_WIKI",
55
+ "nkwd/mcp-gitlab"
56
+ ],
57
+ "env": {
58
+ "GITLAB_PERSONAL_ACCESS": "your_gitlab_token",
59
+ "GITLAB_API_URL": "https://gitlab.com/api/v4", // Optional, for self-hosted GitLab
60
+ "GITLAB_READ_ONLY_MODE": "false",
61
+ "USE_GITLAB_WIKI": "true"
62
+ }
63
+ }
64
+ }
65
+ }
66
+ ```
35
67
 
68
+ ### Environment Variables
36
69
 
37
70
  - `GITLAB_PERSONAL_ACCESS_TOKEN`: Your GitLab personal access token.
38
71
  - `GITLAB_API_URL`: Your GitLab API URL. (Default: `https://gitlab.com/api/v4`)
@@ -42,6 +75,7 @@ When using with the Claude App, you need to set up your API key and URLs directl
42
75
  ## Tools 🛠️
43
76
 
44
77
  +<!-- TOOLS-START -->
78
+
45
79
  1. `create_or_update_file` - Create or update a single file in a GitLab project
46
80
  2. `search_repositories` - Search for GitLab projects
47
81
  3. `create_repository` - Create a new GitLab project
package/build/schemas.js CHANGED
@@ -101,7 +101,7 @@ export const GitLabRepositorySchema = z.object({
101
101
  jobs_enabled: z.boolean().optional(),
102
102
  snippets_enabled: z.boolean().optional(),
103
103
  can_create_merge_request_in: z.boolean().optional(),
104
- resolve_outdated_diff_discussions: z.boolean().optional(),
104
+ resolve_outdated_diff_discussions: z.boolean().nullable().optional(),
105
105
  shared_runners_enabled: z.boolean().optional(),
106
106
  shared_with_groups: z
107
107
  .array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zereight/mcp-gitlab",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "MCP server for using the GitLab API",
5
5
  "license": "MIT",
6
6
  "author": "zereight",