npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

org-gitlab-mcp-adapter

v1.1.1

Published

MCP server for GitLab EE (Self-Hosted)

Downloads

299

Readme

GitLab MCP Adapter

MCP сервер для работы с GitLab EE (Self-Hosted) или GitLab.com.

Установка и использование

Этот сервер запускается через npx без ручной установки зависимостей в проект.

Предварительные требования

  1. Node.js (v18 или выше).
  2. npx (идёт вместе с npm).

Конфигурация (JSON)

Добавьте этот блок в mcpServers в вашем конфигурационном файле IDE:

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "org-gitlab-mcp-adapter"
      ],
      "env": {
        "GITLAB_HOST": "https://gitlab.example.com",
        "GITLAB_TOKEN": "your_personal_access_token"
      }
    }
  }
}

Для быстрой проверки из терминала:

npx -y org-gitlab-mcp-adapter

Переменные окружения

  • GITLAB_HOST: Адрес вашего GitLab сервера (например https://gitlab.example.ru).
  • GITLAB_TOKEN: Ваш Personal Access Token.

Как получить токен (Personal Access Token)

  1. Нажмите на свой аватар в правом верхнем углу.
  2. Выберите Edit profile (Редактировать профиль) или Preferences (Настройки).
  3. В левом меню выберите Access Tokens (Токены доступа).
  4. Нажмите Add new token (Добавить новый токен).
  5. Введите имя токена (например mcp-token).
  6. Выберите Scopes (Области видимости):
    • api: Для полного доступа (чтение и запись).
    • read_api: Только для чтения.
  7. Нажмите Create personal access token.
  8. Скопируйте токен и используйте его в GITLAB_TOKEN.

Доступные инструменты

  • gitlab_debug_env: Проверка переменных окружения.
  • gitlab_selftest: Самопроверка основных запросов к GitLab API.
  • gitlab_searchProjects: Поиск проектов.
  • gitlab_getProject: Получение информации о проекте.
  • gitlab_searchIssues: Поиск задач (issues).
  • gitlab_getIssue: Получение деталей задачи.
  • gitlab_searchMergeRequests: Поиск MR.
  • gitlab_getMergeRequest: Получение деталей MR.
  • gitlab_getFileContent: Чтение содержимого файла.
  • gitlab_getTree: Список файлов и директорий в репозитории.
  • gitlab_createIssue: Создание issue.
  • gitlab_postIssueComment: Комментарий к issue.