OM

oschina/mcp-gitee

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

65 stars 16 forks Качество 83 Тренд 22MIT

oschina/mcp-gitee - кандидат на сервер MCP, импортированный из https://github.com/oschina/mcp-gitee.

Обзор

oschina/mcp-gitee - кандидат на сервер MCP, импортированный из https://github.com/oschina/mcp-gitee.

Обзор (машинный перевод)

Gitee MCP Server - это реализация сервера Model Context Protocol (MCP) для Gitee. Он предоставляет набор инструментов для взаимодействия с API Gitee, позволяя помощникам ИИ управлять репозиториями, проблемами, запросами и многим другим.

Особенности

Взаимодействие с репозиториями Gitee, проблемы, запросы и уведомления Конфигурируемый базовый URL API для поддержки различных экземпляров Gitee Флаги командной строки для простой конфигурации

  • Поддержка как личных, организационных, так и корпоративных операций Динамический набор инструментов enable/disable

Практический сценарий: Получить Выпуск из репозитория, реализовать и создать Pull Request

1.Проблемы с репозиториями

  1. Внедрить кодирование и создать Pull Request на основе деталей выпуска

3.Комментарий и близкий вопрос

##Установка

Удаленный MCP-сервер не требует установки и работает из коробки. Чтобы запустить mcp-gitee локально (stdio), выберите один из вариантов ниже.

Удаленный MCP сервер (рекомендуется)

Добавьте следующее в mcpServers раздел конфигурации хоста, заменив токеном отсюда:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Gitee MCP Server

Gitee MCP Server is a Model Context Protocol (MCP) server implementation for Gitee. It provides a set of tools for interacting with Gitee’s API, allowing AI assistants to manage repositories, issues, pull requests, and more.

Features

  • Interact with Gitee repositories, issues, pull requests, and notifications
  • Configurable API base URL to support different Gitee instances
  • Command-line flags for easy configuration
  • Supports both personal, organization, and enterprise operations
  • Dynamic toolset enable/disable

Installation

The Remote MCP Server requires no installation and works out of the box. To run mcp-gitee locally (stdio), pick one of the options below.

Add the following to the mcpServers section of your host config, replacing `` with a token from here:

{
  "mcpServers": {
    "gitee": {
      "url": "https://api.gitee.com/mcp",
      "headers": {
        "Authorization": "Bearer "
      }
    }
  }
}

For per-client config file paths and formats (Claude Code, Codex, Cursor, Trae, Cline, Continue, opencode), follow the guides linked in the MCP Hosts Configuration section below.

Local (stdio)

Download Pre-built Binaries

Grab the archive for your platform (linux-amd64 / linux-arm / darwin-amd64 / darwin-arm64 / windows-amd64) from Releases, extract it, and put mcp-gitee on your PATH (on Windows the executable is mcp-gitee.exe).

Use npx

No installation needed; the pre-built binary for your platform is downloaded automatically at startup:

{
  "mcpServers": {
    "gitee": {
      "command": "npx",
      "args": [
        "-y",
        "@gitee/mcp-gitee@latest"
      ],
      "env": {
        "GITEE_API_BASE": "https://gitee.com/api/v5",
        "GITEE_ACCESS_TOKEN": ""
      }
    }
  }
}

Building from Source

Requires Go 1.23.0 or higher.

  1. Clone the repository:

    git clone https://gitee.com/oschina/mcp-gitee.git
    cd mcp-gitee
    
  2. Build the project:

    make build
    

    Move ./bin/mcp-gitee PATH env

Открыть полный README на GitHub

Установка

npx -y @gitee/mcp-gitee@latest
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "gitee": { "url": "https://api.gitee.com/mcp", "headers": { "Authorization": "Bearer <your personal access token>" } } } }