GitLab MCP Server

José M. Requena Plens·jmrplens.gitlab-mcp-server

GitLab MCP server exposing the REST v4 and GraphQL APIs as tools for AI assistants.

A Model Context Protocol (MCP) server that connects AI assistants (Claude, Cursor, VS Code + Copilot, and any MCP client) to GitLab.com or self-managed GitLab instances. Covers the full REST API v4 and GraphQL with automatic edition gating, roughly 850 to 1080 tools depending on the GitLab tier, plus 45 MCP resources, 37 prompts, argument completions, progress notifications and resource subscriptions. Single static binary, stdio and HTTP transports, read-only and safe (mutation-preview) modes, and per-client configuration examples in the documentation.

winget install --id jmrplens.gitlab-mcp-server --exact --source winget

Latest 3.8.0·November 22, 2026

Release Notes

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_token takes granular_scopes in place of scopes, 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_get publishes the instance's plan, and server.status and server.health_check publish it as gitlab_plan, from GitLab 19.6, which sends it on GET /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's status, the too_large of the three group activity counts, nine plan limits, three member role permissions, an attestation's signing_method, and the granular_scopes and 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 timeout once that wait passed 30 seconds, as the first build can on GitLab.com, and under --json-response the 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 asks GET /personal_access_tokens/:id for 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_configure asks before auth_user re-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 with auth_user in place of the URL's own login, so sending auth_user alone pointed the overwrite at another account's repository unasked. Such a call is now asked, an empty auth_user included, and every question about a home-relative SSH source names auth_user as its login, the account whose home GitLab pulls from. Over HTTPS, and over SSH with an absolute path, auth_user stays 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.create and project.create_for_user say that GitLab deprecated them on those routes and name project.pull_mirror_configure, and mirror_user_id says it is the only way to run the mirror as another user. Every one of them keeps working (#1873).
  • project.list_user_contributed offers 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 a false sent 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 takes scopes or granular_scopes or any other action that asks for one of several parameters, was refused before the action ran with the schema validator's oneOf: did not validate against any of [ ] or its anyOf twin, which names none. As under opaque and compact, 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.md appended, which the site serves to a request that asks for text/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-url cautions 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-docs runs 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 command cmd/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_contributed no 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_attributes and the rest), and a call that sends one is refused as a field the input does not have. GitLab's route declares only order_by, sort, simple, page and per_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 takes user_id, order_by, sort, simple, page, per_page and the four the route reads without declaring them, statistics, imported, with_programming_language and with_custom_attributes (#1874).
  • On project.list_user_contributed, statistics, imported and with_custom_attributes are sent only when true. GitLab reads them there as the text sent, so false read as true: statistics: false returned the statistics and imported: false returned only the projects the caller imported. Sent false, they now leave the list as it is without them (#1874).
  • project.list_user_contributed no longer offers similarity as an order_by value, which GitLab's route declares but answers alone with a 500 Internal Server Error, since it orders by similarity only beside a search it does not read. The other project lists keep it (#1874).

Installer type: portable

x64—80E4EA1F52EBB10D9B5AF0DE7572337CB4810390906F6D510F0B3B64126ACA51
arm64—FD507D91848FFC5F3A2E41C2A84E70E4D746DA74F79224AD001B17EEB7CB0B99

Details

Homepage
https://github.com/jmrplens/gitlab-mcp-server
License
MIT
Publisher
José M. Requena Plens
Support
https://github.com/jmrplens/gitlab-mcp-server/issues
Privacy Policy
https://github.com/jmrplens/gitlab-mcp-server/blob/main/PRIVACY.md
Moniker
gitlab-mcp-server

Tags

aici-cdclaudedevopsgitlabgraphqlllmmcpmodel-context-protocolrest-api

Older versions (21)

3.7.0
x64—D31A7F9E74DF00092116484062413AA10A781BDDD2F53452C13771902C08F495
arm64—A37F2962E1A03B42050B43FED551B24EF28E88DCAFDFBA8472E3435227238C49
3.6.0
x64—B9796C17C6A91743F52F782E6BC4F9F4C9E566DA3BF18C0F2A3D5887E9F05F33
arm64—520DA0362843D6E5D15F35470D7C63357AEC9BB43A5E1254DE2D448F1B71B79E
3.5.0
x64—0D614938141FB1EA45EE9EBD30A0C3E63CCBDFF9DCE814F991E4EFE3F7C9ED33
arm64—E8445F173865A3509AFBD05451A52C3D92C6B0F5F8D04CEC76B6279EFC7784E1
3.4.0
x64—7BAB865C36DB7A38C01F113CD5000CC041269040CD7F5732A3D5B47B5BA337FB
arm64—8851D09D04FCD030DAACC4D54CD47C8E529CDF5251EEF79CA610E15520BA8E60
3.3.0
x64—1E9500EECC782052862B4C365B73A9C7256927FA0144CE6EB6E612031ECBC807
arm64—A214452961C94A74F438D8C924FF60C272C28EDF06C4231C4492F3121907A7F9
3.2.0
x64—08711180CDD39BE9F5C37E008B7AAB0473BE51639920A8033BEC8257CD939770
arm64—3D3B525196459252C5631B005CD96AA19B03F589B79A6604C5EB71CFF3F0EBEA
3.1.0
x64—336B54BC95D193CF261E5B22DE8E9ED4A18D9D213ED545147C217DEE8F8E2922
arm64—2F6D4C954A9A08095D7D4FE6824B41392F6F2156141A62B330D21E93FF03D9B5
3.0.0
x64—61C512E7E6EB386660DBD546AD47A54C2FA2441040C1D7BBCFAFF605EE548E98
arm64—4B9FC194A780ACBF93D2839CE2D9E82C318F1A81D712C0B359B1E440A9B09CFA
2.7.5
x64—0E8B5E5AC1343CB68AC565A56538654EE59541A827BB3F20A25C04AD525B4814
arm64—7EB27DD48CC55911D8E30CC4D633157AE850B1805496EE73648232A645547C2A
2.7.4
x64—7097CDE23FEEA6C81961EB71CA7FD957522A61AF5116006BCBC277FD8A7DC8EB
arm64—06633810A809C7144680F3D8FBA9F2598383E42A8091F05D2D9C91D8F5A43E08
2.7.3
x64—07734C2578924CE407CCB72996CBE58534A106C2427FDE08E049E86AEB964AE8
arm64—2CC6BE9F5C8E429C1181BC5931E4E2C2D7F62EE3D5A4E8E24BE082E9659F7BF5
2.7.1
x64—75FE9602437DF6CA7F029D1ABBF33F6035E3E9FA806748AFFE7CF835F2410C62
arm64—C753537E2420AD164E6C1D3A6D601D72BE431D7964C63DE8E2BE51D678EA7286
2.7.0
x64—6F1715E8EA5B3E96A5896F5A8A340242704218B777711C8E42DC7797ACAD6B28
arm64—4A03D2B91824FAF07519CC97243B7371AADB994E036FF4EE2BBF8518BB8DE425
2.6.6
x64—444B6ED7C159BC4CC6AF0007F1A96C4BF254BBBF5CCCCE4E56421FBCC6F447D7
arm64—AF74ACC8164A8D60834A323E3A7F2870063FCDFD51D2E237F8A330E312BB01BE
2.6.5
x64—8FCB712A93C04948F87C6CBFC73F1BE70117CC38D34B18E4866B4C27DBD60989
arm64—FEF73AC3532CEE3A6D2DE6F0409620DDBC480BD79F2A404F5A794FCB62FDFB5D
2.6.4
x64—339B0EC72A4AB48FAF0899757846345BCFDD695610BEA6D9CFEC5D886F7B808B
arm64—8D1DE3C10631113F555E6F6AF81775D0D235A364704B228C420AFD2D528F57EA
2.6.1
x64—C45CE18FF81ECD7D71AFF1B63CDF27FBA9628EEBEB9D31E74B257F470A1C4025
arm64—6651FCADFCAC14681FD360B930D6FD06C53157EE810A59C81D9867517632B095
2.6.0
x64—95E04E5CCCE5A8577164275AB0FA08C97FB402CFB18939A69B8A824917F1A9D7
arm64—75CEF96419383DE22DC6FA8534DA220E96334F0F20E4562C58B5D062A59F8C0A
2.5.3
x64—0B05DD3DB77380039EDB10D02F6A7F890E656EB2EF2897F1473DD1477BC3DDF3
arm64—CE028B412ACEFD29A7BB340B1130DB099CBE7531A98C5153CF402D9CB1E3E8C6
2.5.2
x64—64795B71C4749F40CAA513DC1D040CFF97119C55592FBF4C12AA484050D808AF
arm64—301A75FADDE1D63EF2837E97FB769C51EA31B3EE0BC94D0A5FC52E2A533C0832
2.5.0
x64—F802F8197535782F1A7357F5DF42117766ADCFF29EC94973D3E9B70389ECB042
arm64—6DA31DA26F9BD95A42B0AFA2C214903342447794A1226F5F77133A18C8FB12A2