Skip to main content
Glama

@harshmaur/gitlab-mcp

铁匠徽章

GitLab MCP(模型上下文协议)服务器。

安装和执行

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 GitLab MCP 服务器:

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

手动安装

npx @harshmaur/gitlab-mcp

环境变量配置

在运行服务器之前,需要设置以下环境变量:

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

执照

MIT 许可证

如何使用

与 Claude App、Cline、Roo Code 一起使用

当使用 Claude App 时,您需要直接设置您的 API 密钥和 URL。

{ "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" } } } }

与游标一起使用

与 Cursor 一起使用时,可以按如下方式设置环境变量并运行服务器:

env GITLAB_PERSONAL_ACCESS_TOKEN=your_gitlab_token GITLAB_API_URL=your_gitlab_api_url npx @harshmaur/gitlab-mcp
  • GITLAB_PERSONAL_ACCESS_TOKEN :您的 GitLab 个人访问令牌。

  • GITLAB_API_URL :您的 GitLab API URL。(默认值: https://gitlab.com/api/v4

Related MCP Servers

  • A
    security
    -
    license
    A
    quality
    MCP Server for the GitLab API, enabling project management, file operations, and more.
    Last updated -
    1,673
    73,166
    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
    3
  • A
    security
    A
    license
    A
    quality
    An MCP server that enables analyzing and querying GitHub repositories through the GitHub Chat API, allowing users to index repositories and ask questions about their code, architecture and tech stack.
    Last updated -
    2
    69
    MIT License
    • Linux
    • Apple
  • A
    security
    A
    license
    A
    quality
    基于MCP框架构建的GitLab集成服务器,提供多种GitLab RESTful API工具,支持项目搜索、任务管理、合并请求创建与审核等功能,帮助开发团队高效协作。
    Last updated -
    8
    26
    6
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harshmaur/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server