Back to Home
ozanmutlu icon

Gitlab-Docs-MCP

Verified Safe

by ozanmutlu

Overview

Provides AI assistants instant access to GitLab's official documentation for intelligent search and content retrieval via the Model Context Protocol.

Installation

Run Command
npx -y gitlab-docs-mcp

Environment 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

Stats

Interest Score30
Security Score8
Cost ClassHigh
Avg Tokens20000
Stars1
Forks0
Last Update2026-01-19

Tags

gitlabmcpai-assistantdocumentationsearch