Repository navigation
Summary
3.8.0 is recorded against GitLab 19.6.1, so on a GitLab 19.6 instance a fine-grained token's grant decides 41 more actions (#1892 to #1896), and HTTP mode no longer fails a first request whose body arrives while the server waits on GitLab (#1868). Two changes refuse calls that worked, as the Breaking changes below say: project.list_user_contributed no longer offers the 23 filters its GitLab route never read (#1874), and project.pull_mirror_configure asks before auth_user re-aims a mirror that overwrites diverged branches from an SSH path that starts with ~ (#1872).
- The REST record, the fine-grained permission table and the release GraphQL schema are recorded from GitLab 19.6.1, and the gitlab.com GraphQL schema is pinned at 19.7.0-pre (#1892, #1893, #1896). On a GitLab 19.6 instance a fine-grained token's grant now decides 41 actions that GitLab 19.5 refused or emptied for every fine-grained token, the epic, work item, saved view and achievement actions and the target branch rules among them, since 19.6 declares the types they go through; 14 actions of 1106 remain out of every fine-grained token's reach, the CI/CD catalog, branch rule, security attribute and category, security finding, scan profile and two vulnerability summary actions.
user.create_personal_access_tokentakesgranular_scopesin place ofscopes, exactly one of the two, so an administrator creates a fine-grained personal access token for another user on GitLab 19.6 and later (#1895). An older instance requires classic scopes on that route, and its refusal of a grant now says so.admin.metadata_getpublishes the instance'splan, andserver.statusandserver.health_checkpublish it asgitlab_plan, from GitLab 19.6, which sends it onGET /metadata(#1894).- The keys GitLab 19.6 added to its answers are published where an action reads them: the Code Review Flow depth settings of groups and projects, a project's Duo scheduled automations, a group's Duo remote flows setting and lock and its ancestors' two-factor requirement, a runner's
uuid, a board list'sstatus, thetoo_largeof the three group activity counts, nine plan limits, three member role permissions, an attestation'ssigning_method, and thegranular_scopesand warnings an application create answers with and the warnings of a release create (#1892). - A fine-grained session whose epic note, thread or reply creation GitLab answers without the note is told the note was probably created, rather than that none came back, since from GitLab 19.6 such a grant can create the note without being granted its read (#1896).
- In HTTP mode, the 30-second read deadline and the 60-second write deadline of a request to the MCP endpoint are held while the server verifies a new credential and builds its entry on GitLab, and start again, each counted from that moment, when the request's body is first read or its answer written (#1868). A first POST whose body was still arriving failed with
failed to read body: i/o timeoutonce that wait passed 30 seconds, as the first build can on GitLab.com, and under--json-responsethe server cut its own first answer. It holds over HTTP/1.1 and over HTTP/2. - From GitLab 19.5, a fine-grained token's grant is read from the answer of
GET /personal_access_tokens/self, the request every session already makes, and the server no longer asksGET /personal_access_tokens/:idfor it; an instance whose answer does not carry the grant keeps the read by id (#1857, #1861). In HTTP mode that self read is made under the slot the credential probe took, so builds for distinct credentials read and decode at most 16 token answers at once, and no build waits longer than before (#1887). - Every GitLab client the server builds sends no body for a write client-go makes without options, where client-go sent
null. No action sends such a write today; the option keeps the next one from doing so (#1859). - Four lines the server writes about a pooled credential in HTTP mode outside the pool (a configuration shape that failed to register, a refused
subscriptions/listen, a failed server creation and an unavailable token verification) name it by its keyed handle,credential_hash, as the pool's own lines do. Exported telemetry carries neither the field nor the handle (#1869). project.pull_mirror_configureasks beforeauth_userre-aims a mirror that overwrites diverged branches (#1872). Over SSH, a path that starts with~is resolved in the home of the account GitLab logs in as, and GitLab logs in withauth_userin place of the URL's own login, so sendingauth_useralone pointed the overwrite at another account's repository unasked. Such a call is now asked, an emptyauth_userincluded, and every question about a home-relative SSH source namesauth_useras its login, the account whose home GitLab pulls from. Over HTTPS, and over SSH with an absolute path,auth_userstays an ordinary credential and asks nothing where the token can read the mirror; where it cannot, the call is asked, as the Breaking changes say.- The pull mirror params of
project.update,project.createandproject.create_for_usersay that GitLab deprecated them on those routes and nameproject.pull_mirror_configure, andmirror_user_idsays it is the only way to run the mirror as another user. Every one of them keeps working (#1873). project.list_user_contributedoffers the params GitLab's route reads, and no others (#1874, #1875). The route builds its finder without params, so 23 of the project filters it offered never filtered anything; it reads four more without declaring them, which the action keeps, and reads afalsesent to them as true, so it sends them only when true.- With
GITLAB_MCP_META_PARAM_SCHEMA=full, a meta call that gives none of the parameters an action asks one of, or two that exclude each other, is refused by the action in words that name them (#1886). Such a call, to a snippet create, an LDAP group link, a token create that takesscopesorgranular_scopesor any other action that asks for one of several parameters, was refused before the action ran with the schema validator'soneOf: did not validate against any of [<anonymous schema> <anonymous schema>]or itsanyOftwin, which names none. As underopaqueandcompact, a destructive one of them is asked for confirmation before that refusal. - The documentation site publishes a markdown twin of every page, at the page's path with
index.mdappended, which the site serves to a request that asks fortext/markdown; each page announces its twin, and a page's date follows the data it prints (#1890, #1898). Six page titles render the code they name, among them the--public-urlcautions of the HTTP server page, which named the flag with a dash (#1899). The getting started page starts the server under the name its own install steps give it (#1866), and the meta-tools page's counts are held to the catalog and corrected to it (#1854). - For contributors:
make test-e2e-docsruns the shell blocks the documentation marks as runnable against an ephemeral GitLab (#1865, #1866); the Orbit fixture setup and the indexer wait are the Go commandcmd/orbit_fixtures, which merges the fixture merge request the shell script never merged and reads its settings from the command line, then the environment, then.env(#1877, #1878, #1879); ten request bounds are declared in the tenant policy register, with no value changed (#1858); the keep-alive test is timed on a synctest clock (#1856); and the Codex compatibility profile's comment names Codex 0.163.0 as the first release built on the fix (#1860).
Breaking changes
client-go stays on its v3 major, so the server's major stays at 3. The withdrawals from project.list_user_contributed below are the versioning policy's withdrawal row: params its GitLab route never read, which a call sent and got the unfiltered list back for. The project.pull_mirror_configure question (#1872) closes the unasked overwrite the Security section describes.
project.list_user_contributedno longer offers 23 of the 27 project filters it accepted before (search,visibility,archived,topic,topic_id,min_access_level,owned,starred,membership,last_activity_after,last_activity_before,updated_after,updated_before,id_after,id_before,custom_attributesand the rest), and a call that sends one is refused as a field the input does not have. GitLab's route declares onlyorder_by,sort,simple,pageandper_page, and builds its finder without params, so it never read any of them: a call that sent one got the whole list back, unfiltered, with no error. The action takesuser_id,order_by,sort,simple,page,per_pageand the four the route reads without declaring them,statistics,imported,with_programming_languageandwith_custom_attributes(#1874).- On
project.list_user_contributed,statistics,importedandwith_custom_attributesare sent only when true. GitLab reads them there as the text sent, sofalseread as true:statistics: falsereturned the statistics andimported: falsereturned only the projects the caller imported. Sent false, they now leave the list as it is without them (#1874). project.list_user_contributedno longer offerssimilarityas anorder_byvalue, which GitLab's route declares but answers alone with a 500 Internal Server Error, since it orders by similarity only beside asearchit does not read. The other project lists keep it (#1874).- The fine-grained permission table is recorded from GitLab 19.6.1, and a fine-grained token's grant is judged only on an instance that reports a 19.6 release, or for the listing on GitLab.com's 19.7.0-pre (#1896). A self-managed GitLab 19.5 instance falls back, as an instance on any other release does: its fine-grained sessions are withheld only what no fine-grained token reaches at 19.6.1, every other call is passed to GitLab, and GitLab's own refusal is quoted. The epic, work item, saved view and achievement actions are among those passed there, and GitLab 19.5 answers them empty or null for every fine-grained token. Until this release they were withheld there with a reason; now a read emptied that way carries no note that empty may not mean there is nothing, since the note reads the 19.6.1 table, and a write answered without its object is still reported as probably committed. GitLab.com sessions are listed by their grant while GitLab.com reports 19.7.0-pre, where they were while it reported 19.6.0-pre.
project.pull_mirror_configurewithauth_user, an empty one included, on a mirror that overwrites diverged branches and pulls an SSH path that starts with~, is refused withoutconfirm: truefrom a client that cannot elicit, and asked through elicitation otherwise. It went out unasked before (#1872).- The question about a home-relative SSH source names
auth_useras the URL's login where the call sends it, and no login for an empty one, where it named the login written in the URL. A call that sendsauth_userwithout a URL is asked about the source the mirror has, with that login, where it was asked about "its configured mirror source". The question's key,project_pull_mirror_overwrite, does not change (#1872). - One more read on some calls, made only when neither
confirm: truenor YOLO mode is set: aproject.pull_mirror_configurethat sendsauth_userreads the mirror (GET /projects/:id/mirror/pull) to tell whether the login picks the repository, also when it sends no other mirror setting, where it read nothing before. A read that fails for any reason but a project that is not mirrored, a 403 included, is answered by asking, so a token that cannot read the mirror is now asked about such a call even on an HTTPS mirror, which went straight through before. A fine-grained token needs Pull Mirror: Read for it (#1872).
Upgrading
- A client or script that sends
project.list_user_contributeda filter it no longer offers drops it and filters the list it gets back, since GitLab answered the same unfiltered list with the filter as without it.project.list_user_projectsandproject.list_user_starredtake the project filters and apply them.statistics,imported,with_programming_languageandwith_custom_attributesstay, and work as they did, but for thefalseabove. A call that ordered bysimilaritypicks anotherorder_byvalue. - A fine-grained token used against a self-managed GitLab 19.5 instance is judged by GitLab rather than by its grant from this release on, as the fine-grained tokens page describes; upgrading the instance to GitLab 19.6 restores the grant check, and a classic token reaches the epic and work item actions there in the meantime.
- A client or script that sends
auth_usertoproject.pull_mirror_configurewithout a person to answer sendsconfirm: trueonce the call is approved when the mirror overwrites diverged branches and pulls an SSH path that starts with~, or runs withGITLAB_MCP_YOLO_MODE=truewhere nothing should ask. - A token used for
project.pull_mirror_configurewithauth_userholds read access to the pull mirror (Pull Mirror: Read for a fine-grained token), or such a call is asked unless it sendsconfirm: trueor YOLO mode is set.
Security
- Before this release,
project.pull_mirror_configuresent withauth_useralone could point a mirror that overwrites diverged branches at another account's repository without asking, where the mirror pulls an SSH path that starts with~, and a question about such a source named the URL's own login rather than the one GitLab uses. Such a call now asks for confirmation through elicitation orconfirm: true, and the question namesauth_useras the login (#1872). - In HTTP mode, the token description a pool build reads, which carries a fine-grained grant of up to 1 MiB from GitLab 19.5, is read under one of the 16 credential probe slots, so concurrent builds for distinct credentials no longer each decode one without a bound across builds. Only a credential GitLab had already accepted reached that read (#1887). No advisory was published for it.
- Dependencies: no Go module changes, and the image's
Dockerfiledoes not change. In the documentation site's build tooling, which ships in no artifact, the picomatch advisory GHSA-fc5q-39xc-vjpf, which named no fixed release, was set aside as not exploitable there (#1871), and the entry was removed once GitHub withdrew the advisory (#1888).
Changelog
✨ Features
- 7d6e7fb: feat(gitlab): read a fine-grained token's grant from the self answer (#1857) (@jmrplens)
- 080426b: feat(orbit_fixtures): port the Orbit fixture setup and the indexer wait to Go (#1879) (@jmrplens)
- aa186a4: feat(server): name a pooled credential by its handle on cmd/server's lines (#1869) (@jmrplens)
- d6f069c: feat(site): publish a markdown twin of every documentation page (#1890) (@jmrplens)
🐛 Bug Fixes
- 25fd608: fix(gitlab): send no body for a write without options (#1859) (@jmrplens)
- 82dd283: fix(make): read the Orbit fixture settings from the command line, then the environment, then .env (#1877) (@jmrplens)
- ee657f4: fix(projects)!: offer the contributed list only the params its route reads (#1874) (@jmrplens)
- b9a2a08: fix(projects): ask before auth_user re-aims a home-relative SSH mirror (#1872) (@jmrplens)
- 35b9e2a: fix(scripts): merge the Orbit fixture merge request, and repair one left unmerged (#1878) (@jmrplens)
- b0483f8: fix(server): hold the HTTP deadlines while the server waits on GitLab (#1868) (@jmrplens)
- 40ed6b3: fix(serverpool): read the token's description under the probe's slot (#1887) (@jmrplens)
- 3c7d3b7: fix(site): markdown twins the edge can date, one page date, smaller and cleaner twins (#1898) (@jmrplens)
- 1c26b3b: fix(site): render code in six titles and refuse directive attributes by name (#1899) (@jmrplens)
- 0e701bc: fix(tenancy): declare the request bounds check-tenancy could not see (#1858) (@jmrplens)
- 9ff3bb1: fix(toolutil): leave root alternatives to the handler in the meta params check (#1886) (@jmrplens)
📚 Documentation
- 6083d0f: docs(clientcompat): name Codex 0.163.0 as fixed and ChatGPT.app as the wait (#1860) (@jmrplens)
- a88caff: docs(projects): mark the pull-mirror params GitLab deprecated on the project routes (#1873) (@jmrplens)
- 278dceb: docs(site): hold the meta-tools count tables to the catalog (#1854) (@jmrplens)
- 229158a: docs: mark the runnable shell blocks of paths 1, 3 and 5 and telemetry (#1866) (@jmrplens)
- b82d6b1: docs: regenerate the tool reference and records for the project fixes (#1875) (@jmrplens)
- 9d94d47: docs: say a fine-grained grant is read from the self answer from GitLab 19.5 (#1861) (@jmrplens)
🚧 Maintenance
- 6113711: Offer granular_scopes on the administrator personal access token create (#1895) (@jmrplens)
- f8f6d97: Publish the instance plan GET /metadata sends from GitLab 19.6 (#1894) (@jmrplens)
- d740655: Re-pin the REST record on GitLab 19.6.1 and answer what it moved (#1892) (@jmrplens)
- a19d760: Re-pin the gitlab.com GraphQL schema on 19.7.0-pre (#1893) (@jmrplens)
- 740d91f: Regenerate the records and the fine-grained table on GitLab 19.6.1 (#1896) (@jmrplens)
- 8482a75: chore(deps): drop the picomatch advisory set aside, now that it is withdrawn (#1888) (@jmrplens)
- 06c5848: chore(deps): set aside the picomatch extglob ReDoS that no release fixes (#1871) (@jmrplens)
- 8ac498b: chore(release): move VERSION to 3.8.0, with its release notes (#1900) (@jmrplens)
- c419ec1: chore: update manifests for v3.7.0 (@jmrplens)
- 68bc6bb: test(e2e/docs): run the documentation's marked shell blocks against the e2e GitLab (#1865) (@jmrplens)
- bba5118: test(server): time the keep-alive schedule on a synctest clock so a loaded runner cannot fail it (#1856) (@jmrplens)
Full changelog: v3.7.0...v3.8.0
Verify the assets
All binaries, and the OpenVEX document gitlab-mcp-server.openvex.json, are listed in checksums.txt, signed keylessly with cosign:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity "https://github.com/jmrplens/gitlab-mcp-server/.github/workflows/release.yml@refs/tags/v3.8.0" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum --check --ignore-missing checksums.txtEvery file in checksums.txt and every Claude Desktop bundle also carries SLSA build provenance, attached as gitlab-mcp-server.intoto.jsonl. Verify a file against it, without signing in to GitHub:
gh attestation verify gitlab-mcp-server-linux-amd64 \
--bundle gitlab-mcp-server.intoto.jsonl \
--repo jmrplens/gitlab-mcp-server \
--cert-identity "https://github.com/jmrplens/gitlab-mcp-server/.github/workflows/release.yml@refs/tags/v3.8.0"