Gitlab-Docs
MCP Server for Gitlab Documentation
claude mcp add --transport stdio ozanmutlu-gitlab-docs-mcp npx -y gitlab-docs-mcp \ --env NODE_OPTIONS="Optional: set Node.js runtime options if needed"
How to use
GitLab Docs MCP Server provides AI-assisted access to GitLab's official documentation. It exposes tools that let your MCP-enabled assistant search across GitLab docs, filter by sections like CI/CD, API, Admin, and more, and retrieve full documentation pages. The primary capabilities you can leverage are searchGitLabDocs for intelligent, ranked search results, getDocPage to fetch a complete documentation page by path, and listDocSections to explore the structure of the documentation. Configure the server in your MCP client, then start the server and point your AI assistant to the gitlab-docs MCP entry. Once connected, your assistant can answer questions by querying the latest GitLab docs and returning relevant sections or pages.
How to install
Prerequisites:
- Node.js 22+ and npm installed on your system
- Access to a compatible MCP client (e.g., Claude Desktop, Cursor IDE, VS Code MCP integration)
Installation steps:
- Verify Node.js is installed: node --version npm --version
- Install or run the MCP server using NPX (recommended): npx -y gitlab-docs-mcp This will start the GitLab Docs MCP server using the published package.
- If you prefer a global install (optional): npm install -g gitlab-docs-mcp Then run: gitlab-docs-mcp
- In your MCP client, add the server reference: Example config (in mcp.json or equivalent): { "servers": { "gitlab-docs": { "command": "npx", "args": ["-y", "gitlab-docs-mcp"] } } }
- Restart your MCP client or IDE extension to load the new server configuration.
Additional notes
Tips and notes:
- The server automatically stays up-to-date with GitLab docs, so restart your MCP client to fetch the latest content.
- Available tools include: searchGitLabDocs, getDocPage, listDocSections. Use section filters like ci, api, user, admin, development when searching.
- If you encounter connectivity issues, ensure your Node.js runtime is accessible and your MCP client is configured to connect to the local or configured MCP endpoint.
- Environment variables are optional; you can pin Node runtime options via NODE_OPTIONS if you need to debug or optimize performance.
Related MCP Servers
mcp -tree-sitter
MCP Server for Tree-sitter
agentql
Model Context Protocol server that integrates AgentQL's data extraction capabilities.
rtfmbro
rtfmbro provides always-up-to-date, version-specific package documentation as context for coding agents. An alternative to context7
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
cursor-feedback-extension
Save your Cursor monthly quota! Unlimited AI interactions in one conversation via MCP feedback loop.
ConferenceHaven-Community
Community feedback, documentation, and discussions for ConferenceHaven MCP - Your AI conference assistant