Repository navigation
Changes in v3.1.1
Patch release on top of v3.1.0. No tools were added, removed, or renamed, no input parameter became required, and no environment variable or CLI flag was added. The tools/list schemas are identical to v3.1.0, except for the upload_markdown file_path description.
Fixed
list_issue_linksnow followsGITLAB_MCP_LIST_SUMMARY_DEFAULTlike the other list tools (#1107). The setting is still off by default, so default replies are unchanged. With it on, an omittedsummaryreturns a summary that keepsissue_link_idandlink_type. Passsummary: falsefor the full GitLab JSON.- Merge request responses keep
source_project_idandtarget_project_id, including through JMESPath projections, so clients can tell same-project and fork merge requests apart (#1126, thanks @mandreev-dev). The values are strings; missing and null IDs stay missing and null. upload_markdowntells the model wherefile_pathis resolved: relative to the server's working directory, with absolute paths and..rejected. Path errors (absolute path,.., symlink, file not found) now come back as tool results with aNext:hint instead of internal errors. An absolute path is now reported as "absolute paths are not allowed", including for the download tools'local_path(#1081, thanks @igorsaevets).- A
404 Project Not Foundnow tells the model to checkproject_idand that the token can read the project, instead of asking for the resource iid (#1106).
Security
- Snippet tools called without
project_idnow apply the managed masking policy bound to the server's default project (GITLAB_PROJECT_ID, or the single allowed project). Before, that policy was skipped, so its keywords could reach the client unmasked, or the call failed with "does not cover this project-less tool" (#1122, #1112). If your policy file usesunboundProjectBehavior: "builtin"and the default project is not bound to a policy group, such snippet calls now fail instead of returning unmasked text; bind the project in the policy file. - Cached remote-authorization session credentials are compared in constant time with
timingSafeEqualin Streamable HTTP mode (#1125, thanks @Fangwenky). - Updated the locked
cross-spawnto 7.1.2, which fixes a command injection on Windows when spawning batch files (GHSA-ghv9-86vm-4v8m) (#1130). Only the lockfile changed, so it reaches the Docker image and source checkouts;npm installusers resolve dependencies fresh.
Documentation
- The
helptool, the bundled skill, and the docs now recommendwait_for_pipeline/wait_for_jobover polling list tools, and the opt-inGITLAB_MCP_LIST_SUMMARY_DEFAULT=trueandGITLAB_MCP_COMPACT_TOOLSsettings for smaller replies. Both settings stay off by default (#1103).
Internal (no behavior change)
- Continued the
index.tssplit (#516): release, orbit, vulnerability, and code search tools, the permission-mode gate, and startup validation moved into their own modules (#1104, #1105, #1109, #1110, #1111, #1113). Import cycles were broken and checked in CI (#1108), and default-project masking scope is now a per-tool declaration (#1112). Tool names, schemas, and messages are unchanged. - Live tests back off on GitLab 429 responses (#1102, #1123). Dependency and CI updates:
express-rate-limit8.7.5 andpkce-challenge5.0.2 (lockfile), Docker base image digest, and pinnedcosign-installer,scorecard-action, andcodeql-actionversions (#1116 to #1120, #1128, #1129, #1131, #1132).
Full changelog: v3.1.0...v3.1.1