GitLab MCP Server

by harshmaur

Integrations

  • Provides integration with GitLab's API, allowing access to and management of GitLab resources. Requires a personal access token for authentication.

@harshmaur/gitlab-mcp

GitLab MCP(Model Context Protocol) Server.

Installation and Execution

Installing via Smithery

To install GitLab MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @harshmaur/gitlab-mcp --client claude

Manual Installation

npx @harshmaur/gitlab-mcp

Environment Variable Configuration

Before running the server, you need to set the following environment variables:

GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token GITLAB_API_URL=your_gitlab_api_url # Default: https://gitlab.com/api/v4

License

MIT License

How to use

Using with Claude App, Cline, Roo Code

When using with the Claude App, you need to set up your API key and URLs directly.

{ "mcpServers": { "GitLab communication server": { "command": "npx", "args": ["-y", "@harshmaur/gitlab-mcp"], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "your_gitlab_token", "GITLAB_API_URL": "your_gitlab_api_url" } } } }

Using with Cursor

When using with Cursor, you can set up environment variables and run the server as follows:

env GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token GITLAB_API_URL=your_gitlab_api_url npx @harshmaur/gitlab-mcp
  • GITLAB_PERSONAL_ACCESS_TOKEN: Your GitLab personal access token.
  • GITLAB_API_URL: Your GitLab API URL. (Default: https://gitlab.com/api/v4)
-
security - not tested
F
license - not found
-
quality - not tested

An MCP server that enables communication with GitLab repositories, allowing interaction with GitLab's API to manage projects, issues, and repositories through natural language.

  1. Installation and Execution
    1. Installing via Smithery
    2. Manual Installation
  2. Environment Variable Configuration
    1. License
      1. How to use
        1. Using with Claude App, Cline, Roo Code
          1. Using with Cursor

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              MCP Server for the GitLab API, enabling project management, file operations, and more.
              Last updated -
              9
              2,674
              43,599
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              MCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.
              Last updated -
              6
              Python
            • -
              security
              F
              license
              -
              quality
              A custom server implementation that allows AI assistants to interact with GitLab repositories, providing capabilities for searching, fetching files, creating/updating content, and managing issues and merge requests.
              Last updated -
              JavaScript
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables interaction with GitLab accounts to manage repositories, merge requests, code reviews, and CI/CD pipelines through natural language.
              Last updated -
              41
              2
              TypeScript
              MIT License
              • Apple

            View all related MCP servers

            ID: jzq2c7n61d