Gitlab-Docs-MCP
Verified Safeby ozanmutlu
Overview
Provides AI assistants instant access to GitLab's official documentation for intelligent search and content retrieval via the Model Context Protocol.
Installation
npx -y gitlab-docs-mcpEnvironment Variables
- GITLAB_DOCS_INDEX_PATH
- GITLAB_DOCS_MIN_SCORE
- GITLAB_DOCS_CACHE_SIZE_MB
- GITLAB_DOCS_CACHE_ENTRIES
- GITLAB_DOCS_CACHE_TTL_MIN
- LOG_LEVEL
Security Notes
The server uses `zod` for input validation on tool arguments, which helps prevent injection attacks. File system operations are scoped to a pre-built search index directory, limiting arbitrary file access. No direct `eval` or arbitrary command execution is visible within the server's core logic. Communication is via standard I/O (stdio). The primary risk lies with the client's execution of the `npx` command and the potential for large content retrieval (`getDocPage`) to incur high token costs, which needs to be managed by the AI assistant/user.
Similar Servers
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
gitlab-mr-mcp
Enables AI agents to programmatically interact with GitLab merge requests and issues via the Model Context Protocol.
gitlab-api
This project provides a Python wrapper for GitLab, serving as an MCP (Model Context Protocol) server to expose GitLab APIs as tools for LLMs, and an A2A (Agent-to-Agent) multi-agent system for delegated GitLab task management with a knowledge graph.
tanuki-mcp
A high-performance GitLab Model Context Protocol (MCP) server for AI agents to interact with GitLab resources, with fine-grained access control.