
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
gitlab-docs-mcp
Advanced tools
GitLab documentation search for AI assistants via Model Context Protocol (MCP)
A Model Context Protocol server that provides AI assistants instant access to GitLab's official documentation.
This server works with any MCP-compatible AI assistant including GitHub Copilot, Claude Desktop, Docker Desktop, and other MCP clients.
1. Open VS Code Settings (⌘+, or Ctrl+,)
2. Add to settings.json:
{
"github.copilot.chat.mcp.servers": {
"gitlab-docs": {
"command": "npx",
"args": ["-y", "gitlab-docs-mcp"]
}
}
}
3. Restart VS Code
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"gitlab-docs": {
"command": "npx",
"args": ["-y", "gitlab-docs-mcp"]
}
}
}
Restart Claude Desktop.
For other MCP-compatible clients, use:
npx -y gitlab-docs-mcp
Ask your AI assistant about GitLab documentation:
Search GitLab docs for CI/CD pipeline configuration
Show me GitLab Runner installation steps
How do I configure GitLab authentication?
Explain GitLab API rate limits
searchGitLabDocsSearch across 2,494 GitLab documentation pages with intelligent ranking.
Parameters:
query - Search termsmaxResults - Maximum results (default: 10, max: 50)section - Filter by section: ci, api, user, admin, developmentgetDocPageRetrieve the complete content of a specific documentation page.
Parameters:
path - Document path (e.g., "ci/yaml/README.md")listDocSectionsBrowse available documentation sections and their structure.
Server not responding?
node --versionNeed to update documentation? The server uses a pre-built index. For the latest GitLab docs, rebuild from source:
git clone <repository-url>
cd gitlab-docs-mcp
npm install
npm run build-index
npm run build
Then update your MCP client configuration to use the local build:
GitHub Copilot:
{
"github.copilot.chat.mcp.servers": {
"gitlab-docs": {
"command": "node",
"args": ["/absolute/path/to/gitlab-docs-mcp/dist/index.js"]
}
}
}
Claude Desktop:
{
"mcpServers": {
"gitlab-docs": {
"command": "node",
"args": ["/absolute/path/to/gitlab-docs-mcp/dist/index.js"]
}
}
}
MIT
FAQs
GitLab documentation search for AI assistants via Model Context Protocol (MCP)
The npm package gitlab-docs-mcp receives a total of 21 weekly downloads. As such, gitlab-docs-mcp popularity was classified as not popular.
We found that gitlab-docs-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.