gitlab-mcp-server
Verified Safeby Alosies
Overview
A fully typed TypeScript Model Context Protocol (MCP) server for comprehensive GitLab integration, enabling AI agents to manage projects, issues, merge requests, pipelines, and jobs.
Installation
npx -y @alosies/gitlab-mcp-serverEnvironment Variables
- NPM_CONFIG_TOKEN
- GITLAB_BASE_URL
- GITLAB_DEFAULT_PROJECT
- GITLAB_MCP_CONFIG
- GITLAB_MCP_TIMEOUT
- GITLAB_MCP_PER_PAGE
- GITLAB_MCP_PROJECT_SCOPE
- GITLAB_MCP_ENABLE_CACHING
- GITLAB_MCP_ENABLE_METRICS
- GITLAB_MCP_STRICT_SCOPING
Security Notes
The server uses `axios` for API calls, with `Bearer` token authentication. Tokens are explicitly retrieved from environment variables (e.g., `NPM_CONFIG_TOKEN`, `GITLAB_TOKEN`) or configuration files, and an error is thrown if no token is found, enforcing secure practices. API endpoints are constructed using `encodeURIComponent` to prevent path traversal and injection. There is no `eval` or obvious obfuscation. The `baseUrl` is configurable, which could be a risk if set maliciously, but this is typically controlled by the user's trusted configuration.
Similar Servers
github-mcp-server
Connects AI tools (agents, assistants, chatbots) directly to GitHub's platform, enabling natural language interactions for repository management, issue/PR automation, code analysis, and workflow automation.
gitlab-mr-mcp
Allows AI agents to interact with GitLab merge requests and issues for development workflow automation.
bitbucket-mcp
An MCP server enabling AI assistants to interact with Bitbucket Cloud and Server APIs for repository, pull request, and pipeline management.
mcp-server-for-Github
Automates comprehensive GitHub workflows for AI agents, including repository management, issue tracking, pull request operations, code search, and file management, enabling AI-powered development.