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

Total release size: 95.8 MB

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

Download URL jmrplens_gitlab_mcp_server-3.6.0-py3-none-win_arm64.whl
Size 14.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
2c73dfbd7b69f85dd07cafe5e8dfc42ececc7eba5fdf4ae07631d6ccbe4d2a41
BLAKE2b-256 checksum
How to use checksums
f23fd533b72ce2e788debee1e261690afc6e419a96b3e14286b93e68b1161a6c
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 15, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.6.0-py3-none-win_amd64.whl
Size 16.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7a463f6589bc3c915f8f64c0b47ff395ba403a754fd770eee7259074381e8388
BLAKE2b-256 checksum
How to use checksums
c47fcd29ea0ed27b1d949690e056d385c23d299cb54c7e18d4b4cc18f5cc7bc0
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 15, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 17.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5f0e0abb283d6c170a0a4aeac958c7896ad85a139c56caf797aff3307872e5ec
BLAKE2b-256 checksum
How to use checksums
865f7fbf897261419319e53ea1322452d97b63e951b45309d4b8ca83024d24c3
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 15, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.6.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
c6248a96d91c3fbe77b838d7caa6fa0073e0eb3602259aaed6a68266cf2c39e2
BLAKE2b-256 checksum
How to use checksums
60bbff727410e56579e1169d840666235f8580ff9cc34fb6f9ce15aeb985e199
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 15, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.6.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
f5d76245c4782efeec379b88fb9fbca6b6a5088b1d9a8e2cbd54600e78f7c417
BLAKE2b-256 checksum
How to use checksums
62941e85a415955e1bea3f38553aeb08643d5a7dcbbfe4ff98ef86f3754e1698
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 15, 2026.

Transparency log

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

Download URL jmrplens_gitlab_mcp_server-3.6.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
a90e4f4499fa742be8f0e9c6c04d477b89df2c6ce8482ece9b073cbbd820a6a1
BLAKE2b-256 checksum
How to use checksums
40c7da433455d2d3d686cd3d02e661e952a8d91e8a2d48cb901f6b99e94f082b
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 15, 2026.

Transparency log

Security for jmrplens-gitlab-mcp-server 3.6.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.6.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 15, 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