GitLab Documentation MCP Server logo

GitLab Documentation MCP Server

Searches versioned GitLab documentation across several open-source repositories and retrieves matching Markdown through MCP tools.

Install GitLab Documentation MCP Server

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://127.0.0.1:8000/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

GitLab Documentation MCP Server MCP server indexes GitLab's official Markdown documentation from multiple open-source repositories for local MCP access. It builds a SQLite FTS5 index during the Docker image build, then exposes search and document retrieval tools over stdio or streamable HTTP. Use it when an AI client needs repository-specific or version-specific GitLab guidance without relying on general web search.

Use cases

  • Search GitLab CI/CD pipeline documentation
  • Retrieve GitLab Runner setup instructions
  • Compare documentation for a specific GitLab release
  • Find GitLab backup and restore guidance
  • Look up GitLab Pages configuration details

Key features

  • SQLite FTS5 full-text search
  • Version-specific documentation images
  • Indexes six GitLab repositories
  • Exact-path Markdown retrieval
  • Combined search and fetch tool
  • Docker-based MCP deployment

Tools3

What GitLab Documentation MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~9 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

7/7 checks healthy over the last 45d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How GitLab Documentation MCP Server works

What GitLab Documentation MCP Server MCP server does

GitLab Documentation MCP Server MCP server makes GitLab's official documentation available to MCP-compatible AI clients. The indexed material comes from several GitLab open-source repositories, including GitLab CE/EE, GitLab Runner, Omnibus GitLab, Gitaly, GitLab Pages, and GitLab Agent documentation. This coverage supports questions about the main GitLab application, CI/CD runners, installation packages, Git RPC, static sites, and Kubernetes-related tooling.

Documentation is selected when the image is built. You can build an image for a specific GitLab release, such as 18.7.2, or use the latest source. The repository versioning strategy uses the full GitLab version for the main repository and related version conventions for the other repositories.

How it works

The Docker build uses sparse checkout to obtain the relevant documentation folders while limiting the checked-out content. Markdown files are parsed into an SQLite database with an FTS5 full-text search index. At runtime, the MCP server queries that local index rather than fetching documentation for every request.

The server supports stdio for local process-based configurations and can also run with streamable HTTP by setting the transport, host, and port configuration used by the project. Docker examples invoke the server interactively with standard input, while local development can run the Python module directly.

Setup and configuration

Docker must be installed and running, and the client must support MCP. Published image tags include version-specific and latest variants. Select a tag that matches the GitLab deployment being documented; for example, use an 18.7 tag for an 18.7.x environment or the latest tag for current documentation.

Claude Desktop, Cline, and Cursor can launch the container with a configuration that calls docker run -i --rm and supplies the selected image tag. After adding the configuration, restart or reload the client as appropriate. To verify the setup, initialize the container, list its tools, or ask the connected assistant to search for a known GitLab topic. Docker connectivity and valid JSON configuration are the first checks if the server does not appear.

Tools and capabilities

GitLab Documentation MCP Server MCP server exposes three MCP tools:

  • search_docs performs full-text searches across the indexed documentation and returns matching paths, titles, and repository identifiers.
  • get_doc retrieves a document using its exact path, typically obtained from search results.
  • search_and_fetch combines searching with retrieval and returns the full Markdown for each matching document.

The server also provides docs://repos, which lists indexed repository keys, and docs://{+path}, which exposes the full Markdown for an indexed document path. These resources complement the tools when a client supports MCP resource access.

The indexed content can be searched for subjects such as GitLab Runner with Docker, CI/CD pipeline syntax, backup and restore, GitLab Pages custom domains, or release and upgrade notes.

Limitations and notes

The documentation available to the client depends on the image that was built and the version tag selected. A version-specific image may contain documentation from different repository tags: the main GitLab repository uses the requested full version, while several related repositories use the first stable release for the matching major and minor version.

This server indexes documentation from GitLab's open-source repositories; it is not described as a live GitLab API connection. It therefore does not provide current instance state, project data, or authenticated GitLab operations. Documentation repository licenses may differ, even though the server project itself is released under the MIT License.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GitLab Documentation MCP Server

GitLab Documentation MCP Server is an MCP server that connects AI clients to indexed Markdown from GitLab’s official open-source repositories. Its main tools are `search_docs` for full-text queries, `get_doc` for exact-path retrieval, and `search_and_fetch` for returning complete Markdown from search results.

Install Docker, then add a configuration that runs the published `nunolima/gitlab-docs-mcp` image with `docker run -i --rm`. Choose a version tag matching the GitLab release you need, add the command to an MCP client such as Claude Desktop, Cline, or Cursor, and restart or reload the client.

Yes, GitLab Documentation MCP Server works with Cursor through its Model Context Protocol settings. Add an MCP server entry whose command is `docker` and whose arguments run the selected `nunolima/gitlab-docs-mcp` image with interactive input, then reconnect or reload Cursor.

Yes, you can build or run an image tagged for a specific GitLab release, such as 18.7, instead of using `latest`. The selected image contains documentation assembled according to the project’s versioning strategy, so related repositories may use their matching major.minor.0 release.

It indexes documentation from GitLab CE/EE, GitLab Runner, Omnibus GitLab, Gitaly, GitLab Pages, and GitLab Agent repositories. The resulting local index can cover application, CI/CD, installation, Git RPC, static-site, and Kubernetes integration documentation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGitLab Documentation MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gitlab-documentation-mcp-server?style=directory)](https://allmcps.com/mcp/gitlab-documentation-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/gitlab-documentation-mcp-server"><img src="https://allmcps.com/api/badge/gitlab-documentation-mcp-server?style=directory" alt="GitLab Documentation MCP Server on AllMCPs" /></a>