{
  "markdown": "# GitLab Docs MCP Server\n\n[![npm version](https://badge.fury.io/js/gitlab-docs-mcp.svg)](https://www.npmjs.com/package/gitlab-docs-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA [Model Context Protocol](https://modelcontextprotocol.io) server that provides AI assistants instant access to GitLab's official documentation.\n\n## Features\n\n- **Intelligent Search** - Fast, relevance-ranked search across all docs\n- **Section Filtering** - Target specific areas (CI/CD, API, Admin, etc.)\n- **Full Content Access** - Retrieve complete documentation pages\n- **Always Up-to-Date** - Automatically synced with latest GitLab docs\n- **Universal Compatibility** - Works with any MCP-compatible AI assistant\n\n## Installation\n\nThis server works with any MCP-compatible AI assistant. The [Model Context Protocol](https://modelcontextprotocol.io) allows AI assistants to connect to external tools and data sources through a standardized interface.\n\n### GitHub Copilot (VS Code)\n\n**1. Open MCP Configuration**\n\nPress <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.\n\n**2. Add to `mcp.json`:**\n\n```json\n{\n  \"servers\": {\n    \"gitlab-docs\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gitlab-docs-mcp\"]\n    }\n  }\n}\n```\n\n**3. Reload VS Code**\n\nPress <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.\n\n**Alternative:** You can also manually create/edit the file at:\n- **macOS:** `~/Library/Application Support/Code/User/mcp.json`\n- **Windows:** `%APPDATA%\\Code\\User\\mcp.json`\n- **Linux:** `~/.config/Code/User/mcp.json`\n\n### Claude Desktop\n\nClaude Desktop is a standalone desktop application by Anthropic that supports MCP servers.\n\nAdd to your Claude Desktop configuration file:\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"gitlab-docs\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gitlab-docs-mcp\"]\n    }\n  }\n}\n```\n\nRestart Claude Desktop.\n\n### Cursor IDE\n\nCursor has built-in MCP support. Create or edit the MCP configuration file:\n\n**1. Create/Edit Configuration File**\n\n- **Project-specific:** `.cursor/mcp.json` in your project root\n- **Global:** `~/.cursor/mcp.json` in your home directory\n\n**2. Add Server Configuration:**\n\n```json\n{\n  \"mcpServers\": {\n    \"gitlab-docs\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gitlab-docs-mcp\"]\n    }\n  }\n}\n```\n\n**3. Restart Cursor**\n\n### Other MCP Clients\n\nFor other MCP-compatible clients (Zed, Windsurf, etc.), configure them to run:\n```bash\nnpx -y gitlab-docs-mcp\n```\n\nRefer to your client's MCP configuration documentation for the specific format required.\n\n## Usage\n\nOnce configured, simply ask your AI assistant about GitLab:\n\n**Example Conversations:**\n\n```\nYou: \"How do I set up a CI/CD pipeline in GitLab?\"\nAssistant: [Searches GitLab docs and provides detailed pipeline configuration guide]\n\nYou: \"Show me how to configure GitLab Runner on Ubuntu\"\nAssistant: [Retrieves GitLab Runner installation documentation]\n\nYou: \"What are the GraphQL mutations for updating issues?\"\nAssistant: [Searches API docs and shows GraphQL mutation examples]\n\nYou: \"Explain GitLab's authentication options\"\nAssistant: [Provides overview from authentication documentation]\n```\n\nThe AI assistant will automatically use the GitLab Docs MCP server to search documentation and provide accurate, up-to-date answers.\n\n## Available Tools\n\n### `searchGitLabDocs`\nSearch across 2,900+ GitLab documentation pages with intelligent ranking.\n\n**Parameters:**\n- `query` - Search terms\n- `maxResults` - Maximum results (default: 10, max: 50)\n- `section` - Filter by section: ci, api, user, admin, development\n\n### `getDocPage`\nRetrieve the complete content of a specific documentation page.\n\n**Parameters:**\n- `path` - Document path (e.g., \"ci/yaml/_index.md\")\n\n### `listDocSections`\nBrowse available documentation sections and their structure.\n\n## Troubleshooting\n\n**Server not responding?**\n- Ensure Node.js 22.13+ or 24+ is installed: `node --version`\n- Restart your AI assistant/client completely\n- Check application logs for MCP connection errors\n\n**Documentation out of date?**\nThe server automatically uses the latest published version from npm. Simply restart your MCP client to get updates.\n\n## Contributing\n\nFound a bug or have a feature request? Please visit the [GitHub repository](https://github.com/ozanmutlu/Gitlab-Docs-MCP).\n\n## License\n\nMIT - see [LICENSE](LICENSE) file for details.\n",
  "bytes": 4719,
  "sha": "69bbb574daebad378e969ff3e15f673251bac5d9f4a9cdf8f1c34663fdd855ba",
  "repo_slug": "ozanmutlu/gitlab-docs-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ozanmutlu_gitlab_docs_333f4ce3/readme"
}