Gitee
Gitee MCP サーバー
MCP を通じて AI が Gitee リポジトリ/Issues/Pull Request を操作します
サポートされているAI操作
カテゴリ | MCPツール | 説明 |
リポジトリ操作 |
| Giteeリポジトリを作成する |
| Giteeリポジトリをフォークする | |
支店運営 |
| Giteeリポジトリに新しいブランチを作成する |
| Giteeリポジトリ内のブランチを一覧表示する | |
| Giteeリポジトリ内の特定のブランチの詳細を取得する | |
ファイル操作 |
| Giteeリポジトリ内のファイルまたはディレクトリの内容を取得する |
| Giteeリポジトリでファイルを作成または更新する | |
| 複数のファイルをGiteeリポジトリにプッシュする | |
発行業務 |
| Giteeリポジトリに問題を作成する |
| Giteeリポジトリの問題を一覧表示する | |
| Giteeリポジトリ内の特定の問題の詳細を取得する | |
| Giteeリポジトリの問題を更新する | |
| Giteeリポジトリの問題にコメントを追加する | |
プルリクエスト操作 |
| Giteeリポジトリにプルリクエストを作成する |
| Giteeリポジトリ内のプルリクエストを一覧表示する | |
| Giteeリポジトリ内の特定のプルリクエストの詳細を取得する | |
| Giteeリポジトリのプルリクエストを更新する | |
| Giteeリポジトリにプルリクエストをマージする | |
ユーザー操作 |
| Giteeユーザー情報を取得する |
| 認証されたGiteeユーザー情報を取得する |
Related MCP server: mcp-gitee
使用法
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Gitee MCP Server を自動的にインストールするには:
npx -y @smithery/cli install @normal-coder/gitee-mcp-server --client claude構成
GITEE_API_BASE_URL: オプション、Gitee OpenAPI エンドポイント、デフォルトはhttps://gitee.com/api/v5GITEE_PERSONAL_ACCESS_TOKEN: 必須、Giteeアカウントの個人アクセストークン(PAT)。Giteeアカウント設定の個人アクセストークンから取得できます。DEBUG: オプション。デバッグログを有効にするにはtrueに設定し、デフォルトでは無効になっています。
NPX経由でMCPサーバーを実行する
{
"mcpServers": {
"Gitee": {
"command": "npx",
"args": [
"-y",
"gitee-mcp-server"
],
"env": {
"GITEE_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}Dockerコンテナ経由でMCPサーバーを実行する
Dockerイメージを取得する
# Get from DockerHub
docker pull normalcoder/gitee-mcp-server
# Build locally
docker build -t normalcoder/gitee-mcp-server .MCPサーバーを構成する
{
"mcpServers": {
"Gitee": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITEE_PERSONAL_ACCESS_TOKEN",
"normalcoder/gitee-mcp-server"
],
"env": {
"GITEE_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}開発ガイド
依存関係をインストールする
npm install建てる
npm run buildビルドが成功すると、 /distには実行可能な MCP サーバーが含まれます。
サーバーを実行
npm startMCP サーバーは stdio 上で実行されるため、MCP クライアントによってサブプロセスとして使用できるようになります。
Dockerイメージのビルド
Docker を使用してサーバーを実行することもできます。
docker build -t normalcoder/gitee-mcp-server .Docker で MCP サーバーを実行します。
docker run -e GITEE_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN> normalcoder/gitee-mcp-serverMCPサーバーのデバッグ
デバッグには@modelcontextprotocol/inspectorを使用できます。
環境変数のルート ディレクトリに.envファイルを作成します。
GITEE_API_BASE_URL=https://gitee.com/api/v5
GITEE_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN>デバッグ ツールを実行して、サービスと Web デバッグ インターフェースを開始します。
npx @modelcontextprotocol/inspector npm run start --env-file=.envこのプロジェクトには、デバッグ情報を印刷するためのdebug()関数が含まれています。使用方法は次のとおりです。
import { debug } from './common/utils.js';
debug('Message to log');
debug('Message with data:', { key: 'value' });デバッグ ログは、 DEBUG環境変数がtrueに設定されている場合にのみ出力されます。
依存関係
@modelcontextprotocol/sdk: サーバー実装用の MCP SDKuniversal-user-agent: ユーザーエージェント文字列を生成するzod: スキーマ検証用zod-to-json-schema: ZodスキーマをJSONスキーマに変換します
ライセンス
MITライセンスに基づきライセンスされています。MITライセンスの条件に従い、本ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
関連リンク
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server for managing your repositories on Forgejo/Gitea server.65Mozilla Public 2.0
- AlicenseBqualityCmaintenanceFull-featured MCP server exposing 200+ Gitee API v5 endpoints for repository, issue, pull request, user, enterprise, gist, and search management.10023MIT
- Alicense-qualityDmaintenanceMCP server for the GitCode API, enabling AI assistants to interact with GitCode repositories, issues, pull requests, and more.1MIT
- AlicenseBqualityDmaintenanceMCP server for interacting with Gitea, enabling issue and PR management, repository browsing, file reading, and safe git command execution.113411MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.
MCP Server for JFrog, providing tools for development and artifact management.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/normal-coder/gitee-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server