gitlab-issue-creator-mcp 1.0.0 → 1.0.2
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/LICENSE +21 -0
- package/README.md +41 -28
- package/package.json +16 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -18,46 +18,28 @@ Set env vars (recommended):
|
|
|
18
18
|
|
|
19
19
|
See [.env.example](.env.example).
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Install (from npm)
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
1. Clone this repo
|
|
26
|
-
2. Install + build: `npm install && npm run build`
|
|
27
|
-
3. Open the repo folder in VS Code
|
|
28
|
-
4. Start the MCP server (Chat tool picker or `MCP: List Servers`)
|
|
29
|
-
|
|
30
|
-
VS Code will prompt for:
|
|
31
|
-
|
|
32
|
-
- GitLab base URL (defaults to `https://gitlab.org`)
|
|
33
|
-
- GitLab access token (stored securely by VS Code)
|
|
23
|
+
Prerequisites:
|
|
34
24
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- Install: `npm install`
|
|
38
|
-
- Build: `npm run build`
|
|
39
|
-
- Run: `GITLAB_TOKEN=... npm start`
|
|
40
|
-
|
|
41
|
-
## MCP client config (example)
|
|
25
|
+
- Node.js >= 18
|
|
42
26
|
|
|
43
|
-
|
|
27
|
+
Install into an existing project:
|
|
44
28
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
2. In VS Code, run `MCP: List Servers` (or open the Chat view tool picker)
|
|
49
|
-
3. Start/trust the `gitlabIssueCreator` server when prompted
|
|
29
|
+
```sh
|
|
30
|
+
npm install gitlab-issue-creator-mcp
|
|
31
|
+
```
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
## MCP client setup (npm install)
|
|
52
34
|
|
|
53
|
-
Most MCP clients expect a stdio server
|
|
35
|
+
Most MCP clients expect a stdio server. If you installed this package into a project, point your MCP client at the installed `dist/index.js`:
|
|
54
36
|
|
|
55
37
|
```json
|
|
56
38
|
{
|
|
57
39
|
"mcpServers": {
|
|
58
40
|
"gitlab-issue-creator": {
|
|
59
41
|
"command": "node",
|
|
60
|
-
"args": ["/
|
|
42
|
+
"args": ["./node_modules/gitlab-issue-creator-mcp/dist/index.js"],
|
|
61
43
|
"env": {
|
|
62
44
|
"GITLAB_URL": "https://gitlab.org",
|
|
63
45
|
"GITLAB_TOKEN": "<your_token>"
|
|
@@ -67,7 +49,38 @@ Most MCP clients expect a stdio server:
|
|
|
67
49
|
}
|
|
68
50
|
```
|
|
69
51
|
|
|
52
|
+
Notes:
|
|
53
|
+
|
|
54
|
+
- Some clients require an absolute path for `args[0]`. In that case, replace the relative `./node_modules/...` path with an absolute path on your machine.
|
|
55
|
+
- `GITLAB_TOKEN` is required; `GITLAB_URL` defaults to `https://gitlab.org`.
|
|
56
|
+
|
|
57
|
+
## Develop (from source)
|
|
58
|
+
|
|
59
|
+
Recommended flow for teammates:
|
|
60
|
+
|
|
61
|
+
1. Clone this repo
|
|
62
|
+
2. Install + build: `npm install && npm run build`
|
|
63
|
+
3. Open the repo folder in VS Code
|
|
64
|
+
4. Start the MCP server (Chat tool picker or `MCP: List Servers`)
|
|
65
|
+
|
|
66
|
+
VS Code will prompt for:
|
|
67
|
+
|
|
68
|
+
- GitLab base URL (defaults to `https://gitlab.org`)
|
|
69
|
+
- GitLab access token (stored securely by VS Code)
|
|
70
|
+
|
|
71
|
+
## Develop / Build
|
|
72
|
+
|
|
73
|
+
- Install: `npm install`
|
|
74
|
+
- Build: `npm run build`
|
|
75
|
+
- Run: `GITLAB_TOKEN=... npm start`
|
|
76
|
+
|
|
77
|
+
If you want to run the server from a local clone (instead of installing from npm), build it and point your MCP client at `dist/index.js`.
|
|
78
|
+
|
|
70
79
|
## Notes
|
|
71
80
|
|
|
72
81
|
- Prefer a Project Access Token or a PAT scoped as narrowly as possible.
|
|
73
82
|
- This server prints no secrets, but your MCP client should keep tokens out of logs.
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT. See [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gitlab-issue-creator-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server for creating GitLab issues (self-hosted compatible).",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"mcp",
|
|
8
|
+
"model-context-protocol",
|
|
9
|
+
"gitlab",
|
|
10
|
+
"gitlab-api",
|
|
11
|
+
"issues",
|
|
12
|
+
"issue-tracker",
|
|
13
|
+
"issue-creator",
|
|
14
|
+
"automation",
|
|
15
|
+
"developer-tools",
|
|
16
|
+
"cli",
|
|
17
|
+
"node",
|
|
18
|
+
"typescript"
|
|
19
|
+
],
|
|
6
20
|
"main": "./dist/index.js",
|
|
7
21
|
"exports": {
|
|
8
22
|
".": "./dist/index.js"
|
|
@@ -11,7 +25,7 @@
|
|
|
11
25
|
"dist",
|
|
12
26
|
"README.md"
|
|
13
27
|
],
|
|
14
|
-
"license": "
|
|
28
|
+
"license": "MIT",
|
|
15
29
|
"engines": {
|
|
16
30
|
"node": ">=18"
|
|
17
31
|
},
|