jmrplens-gitlab-mcp-server 2.7.5__py3-none-win_arm64.whl
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.
- gitlab_mcp_server/__init__.py +46 -0
- gitlab_mcp_server/__main__.py +4 -0
- jmrplens_gitlab_mcp_server-2.7.5.data/scripts/gitlab-mcp-server.exe +0 -0
- jmrplens_gitlab_mcp_server-2.7.5.dist-info/METADATA +79 -0
- jmrplens_gitlab_mcp_server-2.7.5.dist-info/RECORD +7 -0
- jmrplens_gitlab_mcp_server-2.7.5.dist-info/WHEEL +4 -0
- jmrplens_gitlab_mcp_server-2.7.5.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Locator for the gitlab-mcp-server binary installed by this wheel.
|
|
2
|
+
|
|
3
|
+
The binary itself ships in the wheel's .data/scripts directory, so the
|
|
4
|
+
installer places it on the scripts path (bin/ or Scripts/) with the
|
|
5
|
+
executable bit set and it IS the `gitlab-mcp-server` command; no Python
|
|
6
|
+
runs in that path. This module exists for `python -m gitlab_mcp_server`
|
|
7
|
+
and for programmatic lookup, the same shape uv's find_uv_bin takes.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import os
|
|
11
|
+
import subprocess
|
|
12
|
+
import sys
|
|
13
|
+
import sysconfig
|
|
14
|
+
|
|
15
|
+
__version__ = "2.7.5"
|
|
16
|
+
|
|
17
|
+
_BIN = "gitlab-mcp-server.exe" if os.name == "nt" else "gitlab-mcp-server"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def find_binary():
|
|
21
|
+
"""Return the installed binary's path, searching the scripts
|
|
22
|
+
directories of the running environment."""
|
|
23
|
+
candidates = [
|
|
24
|
+
sysconfig.get_path("scripts"),
|
|
25
|
+
os.path.join(sys.prefix, "Scripts" if os.name == "nt" else "bin"),
|
|
26
|
+
os.path.dirname(sys.executable),
|
|
27
|
+
]
|
|
28
|
+
for scripts_dir in candidates:
|
|
29
|
+
if not scripts_dir:
|
|
30
|
+
continue
|
|
31
|
+
path = os.path.join(scripts_dir, _BIN)
|
|
32
|
+
if os.path.isfile(path):
|
|
33
|
+
return path
|
|
34
|
+
raise FileNotFoundError(
|
|
35
|
+
"gitlab-mcp-server binary not found next to " + sys.executable)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def main():
|
|
39
|
+
path = find_binary()
|
|
40
|
+
argv = [path] + sys.argv[1:]
|
|
41
|
+
if os.name == "nt":
|
|
42
|
+
try:
|
|
43
|
+
raise SystemExit(subprocess.call(argv))
|
|
44
|
+
except KeyboardInterrupt:
|
|
45
|
+
raise SystemExit(130) from None
|
|
46
|
+
os.execv(path, argv)
|
|
Binary file
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: jmrplens-gitlab-mcp-server
|
|
3
|
+
Version: 2.7.5
|
|
4
|
+
Summary: GitLab MCP server: GitLab REST v4 and GraphQL as Model Context Protocol tools (native Go binary)
|
|
5
|
+
Author: jmrplens
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/jmrplens/gitlab-mcp-server
|
|
8
|
+
Project-URL: Documentation, https://jmrp.io/docs/gitlab-mcp-server/
|
|
9
|
+
Project-URL: Repository, https://github.com/jmrplens/gitlab-mcp-server
|
|
10
|
+
Project-URL: Changelog, https://github.com/jmrplens/gitlab-mcp-server/releases
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development
|
|
15
|
+
Classifier: Programming Language :: Go
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# GitLab MCP Server
|
|
20
|
+
|
|
21
|
+
GitLab for your AI assistant: a [Model Context Protocol](https://modelcontextprotocol.io) server exposing GitLab REST API v4 and GraphQL operations as MCP tools. Projects, issues, merge requests, pipelines, CI/CD, wikis, releases, users, groups, search and more, against GitLab.com or any self-managed instance.
|
|
22
|
+
|
|
23
|
+
This package wraps the native `gitlab-mcp-server` binary (written in Go) in a platform wheel, the same distribution model used by `uv`, `ruff` and `ziglang`: `pip` selects the wheel for your OS and architecture, and a tiny launcher hands over to the binary. No Go toolchain, no runtime downloads, no install scripts.
|
|
24
|
+
|
|
25
|
+
mcp-name: io.github.jmrplens/gitlab-mcp-server
|
|
26
|
+
|
|
27
|
+
## Quick start
|
|
28
|
+
|
|
29
|
+
Run it directly with [uv](https://docs.astral.sh/uv/):
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx uvx jmrplens-gitlab-mcp-server
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Or install it on your PATH:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pipx install jmrplens-gitlab-mcp-server # or: pip install jmrplens-gitlab-mcp-server
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Either way the installed command is `gitlab-mcp-server` (the native binary); the `jmrplens-` prefixed command also works, which is what lets `uvx` resolve it by distribution name. About the name: the unprefixed `gitlab-mcp-server` project on PyPI is an empty registration held by an unrelated account and is under a PEP 541 reclamation request; this author-prefixed distribution is the official one meanwhile.
|
|
42
|
+
|
|
43
|
+
Typical MCP client configuration (stdio):
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"mcpServers": {
|
|
48
|
+
"gitlab": {
|
|
49
|
+
"command": "uvx",
|
|
50
|
+
"args": ["jmrplens-gitlab-mcp-server"],
|
|
51
|
+
"env": {
|
|
52
|
+
"GITLAB_URL": "https://gitlab.com",
|
|
53
|
+
"GITLAB_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
`GITLAB_TOKEN` is the only required setting. `GITLAB_URL` defaults to `https://gitlab.com`; point it at your own host for self-managed instances.
|
|
61
|
+
|
|
62
|
+
## Configuration
|
|
63
|
+
|
|
64
|
+
Everything is configured through environment variables: `TOOL_SURFACE` (dynamic, meta or individual tool catalogs), `GITLAB_READ_ONLY`, `GITLAB_SAFE_MODE`, `GITLAB_TIER`, rate limiting, telemetry and more. See the [configuration guide](https://jmrp.io/docs/gitlab-mcp-server/configuration/) for the full reference.
|
|
65
|
+
|
|
66
|
+
## Platform support
|
|
67
|
+
|
|
68
|
+
Wheels are published for Linux (glibc), macOS and Windows on amd64 and arm64. On musl systems such as Alpine, use the container image `ghcr.io/jmrplens/gitlab-mcp-server` instead.
|
|
69
|
+
|
|
70
|
+
## Links
|
|
71
|
+
|
|
72
|
+
- [Documentation](https://jmrp.io/docs/gitlab-mcp-server/)
|
|
73
|
+
- [Source repository](https://github.com/jmrplens/gitlab-mcp-server)
|
|
74
|
+
- [Changelog and releases](https://github.com/jmrplens/gitlab-mcp-server/releases)
|
|
75
|
+
- [Security policy](https://github.com/jmrplens/gitlab-mcp-server/blob/main/SECURITY.md)
|
|
76
|
+
|
|
77
|
+
## License
|
|
78
|
+
|
|
79
|
+
MIT
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
gitlab_mcp_server/__init__.py,sha256=58YcV4Wn17_hbXurC5dOFwz7iJxxy6Jlgzr5Vr5Hr2c,1447
|
|
2
|
+
gitlab_mcp_server/__main__.py,sha256=Qwpod0fCRlreaVnTmPzLc8dm6XiROdaB6pwlyPdEzWc,74
|
|
3
|
+
jmrplens_gitlab_mcp_server-2.7.5.data/scripts/gitlab-mcp-server.exe,sha256=frJ91IzFWRHY4wzE1jMVeuhQsYBUlu5zZIIypkVUfCo,47625728
|
|
4
|
+
jmrplens_gitlab_mcp_server-2.7.5.dist-info/METADATA,sha256=RqyYJkheBJsYfSql5auU-TOcDFBA-Xacsmn_1OAaOHM,3489
|
|
5
|
+
jmrplens_gitlab_mcp_server-2.7.5.dist-info/WHEEL,sha256=vvvSIz3sFZZ_SKhXjgNdtyRQxUDoiuL9ijJH4LPgKAk,109
|
|
6
|
+
jmrplens_gitlab_mcp_server-2.7.5.dist-info/entry_points.txt,sha256=HRAe7zkaTlLoVVm1mCYaEmGoPKvFfUYx-stosKdoavQ,70
|
|
7
|
+
jmrplens_gitlab_mcp_server-2.7.5.dist-info/RECORD,,
|