What authentication methods are supported?
Personal Access Token (recommended) and OAuth2 Token. The server checks for `GITLAB_OAUTH_TOKEN` first, then falls back to `GITLAB_TOKEN`.
@kopiloto
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"GitLab": {
"command": "uvx",
"args": [
"gitlab-mcp-server"
],
"env": {
"GITLAB_TOKEN": "<your GitLab personal access token>",
"GITLAB_URL": "https://gitlab.com"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
gitlab-mcp-server is an MCP server that integrates with GitLab using the python-gitlab library. It provides tools to read repository code, manage merge requests, and query project information. Intended for developers and CI/CD workflows, it authenticates via personal access tokens or OAuth2 tokens.
Install with uvx gitlab-mcp-server and configure the MCP client with environment variables GITLAB_TOKEN (or GITLAB_OAUTH_TOKEN) and GITLAB_URL. The server exposes tools that can be invoked directly from an MCP host (e.g., Claude Desktop) to interact with GitLab resources.
Personal Access Token (recommended) and OAuth2 Token. The server checks for `GITLAB_OAUTH_TOKEN` first, then falls back to `GITLAB_TOKEN`.
At minimum, the `read_api` scope is needed.
Yes. Set the `GITLAB_URL` environment variable to your instance URL (e.g., `https://gitlab.example.com`). If not set, it defaults to `https://gitlab.com`.
Yes. The default maximum is 50 files and 100 KB per file. Limits are configurable to prevent timeouts. Binary files are automatically detected.
No. The project is in **development stage**; features and APIs may change without notice. Use with caution in production environments.
Interact seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.
A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Model Context Protocol Servers
A Git MCP server for AI agents. STDIO & Streamable HTTP.

The system of record for AI-written software. A persistent graph of entities, relationships, changes, and provenance, so humans and AI agents see what a change touches before it merges. Beside Git today.
Comments