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.7.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.7.0
File Actions
jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_arm64.whl
jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_amd64.whl
jmrplens_gitlab_mcp_server-3.7.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.7.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
jmrplens_gitlab_mcp_server-3.7.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.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
jmrplens_gitlab_mcp_server-3.7.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for jmrplens_gitlab_mcp_server-3.7.0-py3-none-macosx_11_0_x86_64.whl
jmrplens_gitlab_mcp_server-3.7.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for jmrplens_gitlab_mcp_server-3.7.0-py3-none-macosx_11_0_arm64.whl

Total release size: 95.9 MB

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

Download URL jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_arm64.whl
Size 14.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
42148a6be15cd4334127cbd9891bc1a23e15a5657395b63d89357a09d3e2244f
BLAKE2b-256 checksum
How to use checksums
a955150a388df18d3157e77b350f35a6f618e408acef6bd7f3686ca5ac44f184
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 17, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.7.0-py3-none-win_amd64.whl
Size 16.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4cea064b52b78b15c8fea95b14afc7a4423dd57bc91377ab574aac9d68744c92
BLAKE2b-256 checksum
How to use checksums
c96d5863a056a960fcf35ffcf9734a764878dc131c0405b014880732fc7ff899
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 17, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.7.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
7cdd6e90d25a8b6854b2161ad6d37361760c48b06ab3a0f0a725f0cebdc13812
BLAKE2b-256 checksum
How to use checksums
630bfa0f425900a601ba242376361482f985a129eb296468f98719f1a382de9c
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 17, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 15.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9b9f71053df7b4eddfad064b7bc552941153e2436c74dfbca6af591f986e5150
BLAKE2b-256 checksum
How to use checksums
62309077085f4989b76f35bb4a18327d26456663413f79b5cb06dcbbf02ec2cc
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 17, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.7.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
df7f1b857ab2bda8c6d426aff037da42d8da185cb1688d047a9f3777bd4fafd6
BLAKE2b-256 checksum
How to use checksums
0be2cd9863d743a4e323043f2d9b585837c42849a3f65ecccf7e5cd74905b0c8
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 17, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.7.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
447ed0fc2deb3b4f72bc3bfc7789ebeb55ecc996e6f9bb2c983d561f14343f6f
BLAKE2b-256 checksum
How to use checksums
083725692af72dcbcd94122e6b04d0485ee3a8eac91d74ca339eba5fe4a078ca
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 17, 2026.

Transparency log

Security for jmrplens-gitlab-mcp-server 3.7.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.7.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 17, 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