
oschina/mcp-gitee
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
oschina/mcp-gitee は https://github.com/oschina/mcp-gitee. からインポートされた MCP サーバーの候補です
概要
oschina/mcp-gitee は https://github.com/oschina/mcp-gitee. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Gitee MCP Server は、Ge 用のモデルコンテキストプロトコル (MCP) サーバーの実装です。 これにより、AI アシスタントがリポジトリ、問題、プルリクエストなどを管理できる、Gate の API とやり取りするための一連のツールが提供されます。
##特徴
- ジートのリポジトリ、問題、プルリクエスト、通知との相互作用
- 異なるGiteインスタンスをサポートするAPIベースURLの設定可能
- 簡単な設定のためのコマンドラインフラグ
- 個人、組織、および企業の操作を支えて下さい
- 動的ツールセットが有効/無効
実用的なシナリオ: リポジトリからの問題を取得し、プルリクエストを実行し、作成します
1。 リポジトリの問題を取得する
- 課題詳細に基づくプルリクエストのコーディングと作成の実装
3.コメント & 問題を閉じる
インストール
リモート MCP サーバーでは、インストールが不要で、ボックスの外で動作します。 mcp-giteeをローカル(stdio)で実行するには、以下のオプションのいずれかを選択します。
##リモートMCPサーバー(推奨)
ホストコンフィグの mcpServers セクションに以下を追加し、 をここからトークンに置き換えます
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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>"
}
}
}
}