Skip to content

Commit 0f53fe2

Browse files
Mohammod Al Amin Ashikits-mash
authored andcommitted
Replace GitLab definition with zereight/gitlab-mcp + official HTTP
- Remove community.gitlab-npx.json (archived @modelcontextprotocol/server-gitlab, 9 tools) - Add zereight.gitlab-mcp-npx.json (@zereight/mcp-gitlab, 107+ tools, PAT auth) - Add zereight.gitlab-mcp-docker.json (zereight050/gitlab-mcp image) - Add com.gitlab-mcp.json (official GitLab HTTP endpoint, OAuth, 15 tools) Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 493c2f3 commit 0f53fe2

3 files changed

Lines changed: 177 additions & 15 deletions

File tree

servers/com.gitlab-mcp.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.gitlab-mcp",
4+
"name": "GitLab",
5+
"alias": "gitlab-http",
6+
"description": "GitLab's built-in MCP server for managing issues, merge requests, pipelines, and semantic code search. Requires GitLab 18.6+ with Duo enabled. Connects directly to any GitLab instance via OAuth.",
7+
"icon": "https://avatars.githubusercontent.com/u/1086321?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"version-control",
11+
"developer-tools"
12+
],
13+
"tags": [
14+
"gitlab",
15+
"git",
16+
"version-control",
17+
"merge-requests",
18+
"issues",
19+
"ci-cd",
20+
"pipelines",
21+
"code-search"
22+
],
23+
24+
"transport": {
25+
"type": "http",
26+
"url": "https://gitlab.com/api/v4/mcp",
27+
"metadata": {
28+
"inputs": []
29+
}
30+
},
31+
32+
"auth": {
33+
"type": "oauth",
34+
"instructions": "Connect via OAuth when prompted. Your browser will open to authorize access to your GitLab account. Requires GitLab 18.6+ with Duo enabled."
35+
},
36+
37+
"contributor": {
38+
"name": "GitLab",
39+
"github": "gitlabhq",
40+
"url": "https://about.gitlab.com"
41+
},
42+
43+
"links": {
44+
"repository": "https://gitlab.com/gitlab-org/gitlab",
45+
"homepage": "https://about.gitlab.com",
46+
"documentation": "https://docs.gitlab.com/user/gitlab_duo/model_context_protocol/mcp_server"
47+
},
48+
49+
"platforms": [
50+
"all"
51+
],
52+
53+
"capabilities": {
54+
"tools": true,
55+
"resources": false,
56+
"prompts": false,
57+
"read_only_mode": false
58+
}
59+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "zereight.gitlab-mcp-docker",
4+
"name": "GitLab (Docker)",
5+
"alias": "gitlab-docker",
6+
"description": "Manage GitLab repositories, issues, merge requests, pipelines, wikis, milestones, and releases via Docker. 107+ tools with configurable toolsets, read-only mode, and project scoping.",
7+
"icon": "https://avatars.githubusercontent.com/u/42544600?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"version-control",
11+
"developer-tools"
12+
],
13+
"tags": [
14+
"gitlab",
15+
"git",
16+
"version-control",
17+
"merge-requests",
18+
"issues",
19+
"ci-cd",
20+
"docker"
21+
],
22+
23+
"transport": {
24+
"type": "stdio",
25+
"command": "docker",
26+
"args": [
27+
"run", "-i", "--rm",
28+
"-e", "GITLAB_PERSONAL_ACCESS_TOKEN",
29+
"-e", "GITLAB_API_URL",
30+
"zereight050/gitlab-mcp"
31+
],
32+
"env": {
33+
"GITLAB_PERSONAL_ACCESS_TOKEN": "${input:GITLAB_PERSONAL_ACCESS_TOKEN}",
34+
"GITLAB_API_URL": "${input:GITLAB_API_URL}"
35+
},
36+
"metadata": {
37+
"inputs": [
38+
{
39+
"id": "GITLAB_PERSONAL_ACCESS_TOKEN",
40+
"label": "GitLab Personal Access Token",
41+
"description": "Personal Access Token for the GitLab API. Requires 'api' scope for full access, or 'read_api' for read-only mode.",
42+
"type": "text",
43+
"required": true,
44+
"secret": true,
45+
"placeholder": "glpat-xxxxxxxxxxxxxxxxxxxx",
46+
"obtain": {
47+
"url": "https://gitlab.com/-/user_settings/personal_access_tokens",
48+
"instructions": "1. Go to GitLab > User Settings > Access Tokens\n2. Click 'Add new token'\n3. Select the 'api' scope (or 'read_api' for read-only)\n4. Click 'Create personal access token' and copy it",
49+
"button_label": "Create Token"
50+
}
51+
},
52+
{
53+
"id": "GITLAB_API_URL",
54+
"label": "GitLab API URL",
55+
"description": "GitLab API base URL. Defaults to https://gitlab.com/api/v4 for gitlab.com. Change for self-hosted instances.",
56+
"type": "url",
57+
"required": false,
58+
"secret": false,
59+
"default": "https://gitlab.com/api/v4",
60+
"placeholder": "https://gitlab.example.com/api/v4"
61+
}
62+
]
63+
}
64+
},
65+
66+
"auth": {
67+
"type": "api_key",
68+
"instructions": "Create a Personal Access Token with 'api' scope at https://gitlab.com/-/user_settings/personal_access_tokens"
69+
},
70+
71+
"contributor": {
72+
"name": "zereight",
73+
"github": "zereight",
74+
"url": "https://github.com/zereight/gitlab-mcp"
75+
},
76+
77+
"links": {
78+
"repository": "https://github.com/zereight/gitlab-mcp",
79+
"homepage": "https://gitlab.com",
80+
"documentation": "https://github.com/zereight/gitlab-mcp#readme"
81+
},
82+
83+
"platforms": [
84+
"all"
85+
],
86+
87+
"capabilities": {
88+
"tools": true,
89+
"resources": false,
90+
"prompts": false,
91+
"read_only_mode": true
92+
}
93+
}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"$schema": "../schemas/server-definition.schema.json",
3-
"id": "community.gitlab-npx",
3+
"id": "zereight.gitlab-mcp-npx",
44
"name": "GitLab (npx)",
55
"alias": "gitlab",
6-
"description": "Manage GitLab repositories, issues, merge requests, and files. Search projects, create branches, push files, and manage code reviews.",
7-
"icon": "https://avatars.githubusercontent.com/u/1086321?v=4",
6+
"description": "Manage GitLab repositories, issues, merge requests, pipelines, wikis, milestones, and releases. 107+ tools with configurable toolsets, read-only mode, and project scoping.",
7+
"icon": "https://avatars.githubusercontent.com/u/42544600?v=4",
88
"schema_version": "2.1",
99
"categories": [
1010
"version-control",
@@ -16,14 +16,16 @@
1616
"version-control",
1717
"merge-requests",
1818
"issues",
19-
"ci-cd"
19+
"ci-cd",
20+
"pipelines"
2021
],
22+
2123
"transport": {
2224
"type": "stdio",
2325
"command": "npx",
2426
"args": [
2527
"-y",
26-
"@modelcontextprotocol/server-gitlab"
28+
"@zereight/mcp-gitlab"
2729
],
2830
"env": {
2931
"GITLAB_PERSONAL_ACCESS_TOKEN": "${input:GITLAB_PERSONAL_ACCESS_TOKEN}",
@@ -34,14 +36,14 @@
3436
{
3537
"id": "GITLAB_PERSONAL_ACCESS_TOKEN",
3638
"label": "GitLab Personal Access Token",
37-
"description": "Personal Access Token for the GitLab API. Requires 'api' scope.",
39+
"description": "Personal Access Token for the GitLab API. Requires 'api' scope for full access, or 'read_api' for read-only mode.",
3840
"type": "text",
3941
"required": true,
4042
"secret": true,
4143
"placeholder": "glpat-xxxxxxxxxxxxxxxxxxxx",
4244
"obtain": {
4345
"url": "https://gitlab.com/-/user_settings/personal_access_tokens",
44-
"instructions": "1. Go to GitLab > User Settings > Access Tokens\n2. Click 'Add new token'\n3. Select the 'api' scope\n4. Click 'Create personal access token' and copy it",
46+
"instructions": "1. Go to GitLab > User Settings > Access Tokens\n2. Click 'Add new token'\n3. Select the 'api' scope (or 'read_api' for read-only)\n4. Click 'Create personal access token' and copy it",
4547
"button_label": "Create Token"
4648
}
4749
},
@@ -52,32 +54,40 @@
5254
"type": "url",
5355
"required": false,
5456
"secret": false,
55-
"placeholder": "https://gitlab.com/api/v4"
57+
"default": "https://gitlab.com/api/v4",
58+
"placeholder": "https://gitlab.example.com/api/v4"
5659
}
5760
]
5861
}
5962
},
63+
6064
"auth": {
6165
"type": "api_key",
6266
"instructions": "Create a Personal Access Token with 'api' scope at https://gitlab.com/-/user_settings/personal_access_tokens"
6367
},
68+
6469
"contributor": {
65-
"name": "Model Context Protocol",
66-
"github": "modelcontextprotocol",
67-
"url": "https://modelcontextprotocol.io"
70+
"name": "zereight",
71+
"github": "zereight",
72+
"url": "https://github.com/zereight/gitlab-mcp"
6873
},
74+
6975
"links": {
70-
"repository": "https://github.com/modelcontextprotocol/servers",
76+
"repository": "https://github.com/zereight/gitlab-mcp",
7177
"homepage": "https://gitlab.com",
72-
"documentation": "https://github.com/modelcontextprotocol/servers-archived/tree/main/src/gitlab"
78+
"documentation": "https://github.com/zereight/gitlab-mcp#readme"
7379
},
80+
7481
"platforms": [
7582
"all"
7683
],
84+
7785
"capabilities": {
7886
"tools": true,
7987
"resources": false,
8088
"prompts": false,
81-
"read_only_mode": false
82-
}
89+
"read_only_mode": true
90+
},
91+
92+
"changelog_url": "https://github.com/zereight/gitlab-mcp/releases"
8393
}

0 commit comments

Comments
 (0)