GitLab Docs MCP Server
Provides AI assistants instant access to GitLab's official documentation with intelligent search, section filtering, and full content retrieval across 2,494 documentation pages including CI/CD, API, admin, and development guides.
README
GitLab Docs MCP Server
A Model Context Protocol server that provides AI assistants instant access to GitLab's official documentation.
Features
- Intelligent Search - Fast, relevance-ranked search across all docs
- Section Filtering - Target specific areas (CI/CD, API, Admin, etc.)
- Full Content Access - Retrieve complete documentation pages
- Always Up-to-Date - Automatically synced with latest GitLab docs
- Universal Compatibility - Works with any MCP-compatible AI assistant
Installation
This server works with any MCP-compatible AI assistant. The Model Context Protocol allows AI assistants to connect to external tools and data sources through a standardized interface.
GitHub Copilot (VS Code)
1. Open MCP Configuration
Press <kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> on Windows/Linux), type MCP: Open User Configuration, and press Enter.
2. Add to mcp.json:
{
"servers": {
"gitlab-docs": {
"command": "npx",
"args": ["-y", "gitlab-docs-mcp"]
}
}
}
3. Reload VS Code
Press <kbd>⌘</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>), type Developer: Reload Window, and press Enter.
Alternative: You can also manually create/edit the file at:
- macOS:
~/Library/Application Support/Code/User/mcp.json - Windows:
%APPDATA%\Code\User\mcp.json - Linux:
~/.config/Code/User/mcp.json
Claude Desktop
Claude Desktop is a standalone desktop application by Anthropic that supports MCP servers.
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.
Cursor IDE
Cursor has built-in MCP support. Create or edit the MCP configuration file:
1. Create/Edit Configuration File
- Project-specific:
.cursor/mcp.jsonin your project root - Global:
~/.cursor/mcp.jsonin your home directory
2. Add Server Configuration:
{
"servers": {
"gitlab-docs": {
"command": "npx",
"args": ["-y", "gitlab-docs-mcp"]
}
}
}
3. Restart Cursor
Other MCP Clients
For other MCP-compatible clients (Zed, Windsurf, etc.), configure them to run:
npx -y gitlab-docs-mcp
Refer to your client's MCP configuration documentation for the specific format required.
Usage
Once configured, simply ask your AI assistant about GitLab:
Example Conversations:
You: "How do I set up a CI/CD pipeline in GitLab?"
Assistant: [Searches GitLab docs and provides detailed pipeline configuration guide]
You: "Show me how to configure GitLab Runner on Ubuntu"
Assistant: [Retrieves GitLab Runner installation documentation]
You: "What are the GraphQL mutations for updating issues?"
Assistant: [Searches API docs and shows GraphQL mutation examples]
You: "Explain GitLab's authentication options"
Assistant: [Provides overview from authentication documentation]
The AI assistant will automatically use the GitLab Docs MCP server to search documentation and provide accurate, up-to-date answers.
Available Tools
searchGitLabDocs
Search 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, development
getDocPage
Retrieve the complete content of a specific documentation page.
Parameters:
path- Document path (e.g., "ci/yaml/README.md")
listDocSections
Browse available documentation sections and their structure.
Troubleshooting
Server not responding?
- Ensure Node.js 22+ is installed:
node --version - Restart your AI assistant/client completely
- Check application logs for MCP connection errors
Documentation out of date? The server automatically uses the latest published version from npm. Simply restart your MCP client to get updates.
Contributing
Found a bug or have a feature request? Please visit the GitHub repository.
License
MIT - see LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。