
GitLab Documentation MCP Server
Indexes GitLab documentation from six core repositories (main, Runner, Omnibus, Gitaly, Pages, Agent) into a searchable SQLite FTS5 database. Exposes three tools: search_docs for full-text queries across all docs, get_doc for retrieving specific files by path, and list_repositories to see what's indexed. Ships as a Docker image tagged to specific GitLab versions, so you can match your deployment's docs exactly. Reach for this when you're working with GitLab APIs or configurations and need quick access to official documentation without context switching to a browser. The sparse checkout approach keeps the container small despite pulling from multiple repos.
- GitHub stars
- 1
- tools
- 3
- transport
- STDIO
- last updated
- Feb 1, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
search_docsFull-text search across all GitLab documentation (returns paths, titles, repos)
Full-text search across all GitLab documentation (returns paths, titles, repos)
No parameter schema in public metadata yet.
get_docRetrieve a specific document by exact path from search results
Retrieve a specific document by exact path from search results
No parameter schema in public metadata yet.
search_and_fetchSearch and return full markdown for each hit in one call
Search and return full markdown for each hit in one call
No parameter schema in public metadata yet.
Sponsors
Readme
GitLab Documentation MCP Server
A Model Context Protocol (MCP) server that provides searchable access to GitLab's official documentation. This server indexes markdown documentation from multiple GitLab OSS repositories and makes it available for AI assistants and other MCP clients.
Features
- Full-text search across GitLab documentation using SQLite FTS5
- Version-specific docs - Build for any GitLab version (e.g., 18.7.2) or latest
- Multiple repositories indexed:
- GitLab CE/EE (main application)
- GitLab Runner (CI/CD runner)
- Omnibus GitLab (installation packages)
- Gitaly (Git RPC service)
- GitLab Pages (static sites)
- GitLab Agent (Kubernetes integration, includes KAS)
- Optimized Docker image - Uses sparse checkout and filters to minimize size
Building the Docker Image
Find the GitLab Version
Details
- Repository
- github.com/nunolima/gitlab-docs-mcp
- Categories
- Developer Tools, Search & Web Crawling
- Package
docker.io/nunolima/gitlab-docs-mcp:18.7- Transport
- STDIO
- Registry
- MCP registry, active