@zereight/mcp-gitlab 1.0.1 → 1.0.3
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 +52 -7
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -1,22 +1,67 @@
|
|
|
1
1
|
# @zereight/mcp-gitlab
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://smithery.ai/server/@zereight/gitlab-mcp)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GitLab MCP(Model Context Protocol) Server.
|
|
6
|
+
|
|
7
|
+
<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>
|
|
8
|
+
|
|
9
|
+
## Installation and Execution
|
|
10
|
+
|
|
11
|
+
### Installing via Smithery
|
|
12
|
+
|
|
13
|
+
To install GitLab MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@zereight/gitlab-mcp):
|
|
6
14
|
|
|
15
|
+
```bash
|
|
16
|
+
npx -y @smithery/cli install @zereight/gitlab-mcp --client claude
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Manual Installation
|
|
7
20
|
```bash
|
|
8
21
|
npx @zereight/mcp-gitlab
|
|
9
22
|
```
|
|
10
23
|
|
|
11
|
-
##
|
|
24
|
+
## Environment Variable Configuration
|
|
12
25
|
|
|
13
|
-
|
|
26
|
+
Before running the server, you need to set the following environment variables:
|
|
14
27
|
|
|
15
28
|
```bash
|
|
16
|
-
|
|
17
|
-
GITLAB_API_URL=your_gitlab_api_url #
|
|
29
|
+
GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token
|
|
30
|
+
GITLAB_API_URL=your_gitlab_api_url # Default: https://gitlab.com/api/v4
|
|
18
31
|
```
|
|
19
32
|
|
|
20
|
-
##
|
|
33
|
+
## License
|
|
21
34
|
|
|
22
35
|
MIT License
|
|
36
|
+
|
|
37
|
+
## How to use
|
|
38
|
+
|
|
39
|
+
## Using with Claude App, Cline, Roo Code
|
|
40
|
+
|
|
41
|
+
When using with the Claude App, you need to set up your API key and URLs directly.
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"mcpServers": {
|
|
46
|
+
"GitLab communication server": {
|
|
47
|
+
"command": "npx",
|
|
48
|
+
"args": ["-y", "@zereight/mcp-gitlab"],
|
|
49
|
+
"env": {
|
|
50
|
+
"GITLAB_PERSONAL_ACCESS_TOKEN": "your_gitlab_token",
|
|
51
|
+
"GITLAB_API_URL": "your_gitlab_api_url"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Using with Cursor
|
|
59
|
+
|
|
60
|
+
When using with Cursor, you can set up environment variables and run the server as follows:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
env GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token GITLAB_API_URL=your_gitlab_api_url npx @zereight/mcp-gitlab
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
- `GITLAB_PERSONAL_ACCESS_TOKEN`: Your GitLab personal access token.
|
|
67
|
+
- `GITLAB_API_URL`: Your GitLab API URL. (Default: `https://gitlab.com/api/v4`)
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zereight/mcp-gitlab",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "MCP server for using the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "zereight",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"bin":
|
|
9
|
-
"mcp-gitlab": "./build/index.js"
|
|
10
|
-
},
|
|
8
|
+
"bin": "./build/index.js",
|
|
11
9
|
"files": [
|
|
12
10
|
"build"
|
|
13
11
|
],
|