Skip to main content

GitLab MCP Server

GitLab for your AI assistant: a Model Context Protocol 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.

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.

mcp-name: io.github.jmrplens/gitlab-mcp-server

Quick start

Run it directly with uv:

GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx uvx jmrplens-gitlab-mcp-server

Or install it on your PATH:

pipx install jmrplens-gitlab-mcp-server   # or: pip install jmrplens-gitlab-mcp-server

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.

Typical MCP client configuration (stdio):

{
  "mcpServers": {
    "gitlab": {
      "command": "uvx",
      "args": ["jmrplens-gitlab-mcp-server"],
      "env": {
        "GITLAB_URL": "https://gitlab.com",
        "GITLAB_TOKEN": "glpat-xxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

GITLAB_TOKEN is the only required setting. GITLAB_URL defaults to https://gitlab.com; point it at your own host for self-managed instances.

Verify what you run

The gitlab-mcp-server command a wheel installs is the release binary byte for byte, so the build provenance attestation GitHub holds for that release asset verifies it directly with the GitHub CLI (releases after 2.7.5):

# pip, pipx or uv tool install: the command on your PATH is the binary
gh attestation verify "$(command -v gitlab-mcp-server)" -R jmrplens/gitlab-mcp-server \
  --signer-workflow jmrplens/gitlab-mcp-server/.github/workflows/release.yml

# uvx: the binary sits in uv's cache, and the package says where
gh attestation verify "$(uvx --from jmrplens-gitlab-mcp-server python -c 'import gitlab_mcp_server as m; print(m.find_binary())')" \
  -R jmrplens/gitlab-mcp-server --signer-workflow jmrplens/gitlab-mcp-server/.github/workflows/release.yml

--signer-workflow holds the attestation to the release workflow, since -R alone accepts one any workflow of the repository minted; add --source-ref refs/tags/v<version> to hold it to the release you installed. On Windows, (Get-Command gitlab-mcp-server).Source gives the path for the first form. For a pinned uvx, name the same version in --from (jmrplens-gitlab-mcp-server==<version>). The wheels also carry PyPI's own publish attestation (PEP 740), shown on each file's page on PyPI. The release signature and the other channels are covered in release integrity.

Configuration

Everything is configured through environment variables: GITLAB_MCP_TOOL_SURFACE (dynamic, meta or individual tool catalogs), GITLAB_MCP_READ_ONLY, GITLAB_MCP_SAFE_MODE, GITLAB_MCP_TIER, rate limiting, telemetry and more. See the configuration guide for the full reference.

The binary verifies GitLab's certificate against the host's CA store. On a Linux host with none, such as a minimal container image, every connection fails with x509: certificate signed by unknown authority, gitlab.com's included: install ca-certificates, or set SSL_CERT_FILE to a PEM bundle that holds the instance's CA. GITLAB_MCP_SKIP_TLS_VERIFY=true turns verification off, and is only for a self-signed certificate nothing can be made to trust.

Platform support

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.

License

MIT

Metadata

Release files for jmrplens-gitlab-mcp-server 3.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for jmrplens-gitlab-mcp-server 3.8.0
File Actions
jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_arm64.whl
jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_amd64.whl
jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_x86_64.whl
jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_arm64.whl

Total release size: 96.0 MB

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_arm64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_arm64.whl
Size 14.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
508d9466b4eb49e4f608dafbe78050d4b71fb0814c4193a97279b3c8cabe20c5
BLAKE2b-256 checksum
How to use checksums
17d5850c23cf67590803f45a97bedd398943d60c249655476f5ab8921cb870de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_amd64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_amd64.whl
Size 16.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
078915c7e148edf8aa46d6b49c36810789b95772847a3194228d4572c62ddd07
BLAKE2b-256 checksum
How to use checksums
686c7156bef5a49d468af86c286b97be339858012fb8e8bf43c24961cf2e2896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 17.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d6a7db83e60a0534afefab27fd4ae48e2ca4a3d8d01d06be10794fe06dd65f9b
BLAKE2b-256 checksum
How to use checksums
d086e4114654c6dfb93a114f2a125bf2ba823e1a939416ffd0893fa73220fbbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 15.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
83d5286564cb9b212cad09343e3fbcb15eb5ddcf85e7a219652e33210be22814
BLAKE2b-256 checksum
How to use checksums
0796265a0ee53ff3c0449b636278dfa1f70eedd7bbb45fc53ed4f3bd9f1d0140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_x86_64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_x86_64.whl
Size 16.5 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
2c4913d694345aa35c1c1cd1fd4154f3b1df9030d0fba6cd3ff3bc50e7774a3d
BLAKE2b-256 checksum
How to use checksums
c8cee5737e5cea1e97c7c752f7c20f216edb2ef7b01d0db15502f198eb911f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_arm64.whl

Download URL jmrplens_gitlab_mcp_server-3.8.0-py3-none-macosx_11_0_arm64.whl
Size 15.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
79044c85fa8a907408b8a3da7f2058b4d3819e89ad28f8de1c6b23920b2ff51d
BLAKE2b-256 checksum
How to use checksums
6d185aadaaa8b4788de6f3d68b802ff59fd7eee510971e531cd197fee15b3fc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.14.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for jmrplens-gitlab-mcp-server 3.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for jmrplens_gitlab_mcp_server-3.8.0-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page