
oschina/mcp-gitee
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
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.Проблемы с репозиториями
- Внедрить кодирование и создать 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.
Remote MCP Server (Recommended)
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.
-
Clone the repository:
git clone https://gitee.com/oschina/mcp-gitee.git cd mcp-gitee -
Build the project:
make buildMove ./bin/mcp-gitee PATH env
Установка
npx -y @gitee/mcp-gitee@latestКонфигурация
{
"mcpServers": {
"gitee": {
"url": "https://api.gitee.com/mcp",
"headers": {
"Authorization": "Bearer <your personal access token>"
}
}
}
}