Gitee
Gitee MCPサーバー
Gitee MCPサーバーは、Gitee向けのModel Context Protocol (MCP) サーバー実装です。GiteeのAPIと対話するためのツールセットを提供し、AIアシスタントがリポジトリ、Issue、プルリクエストなどを管理できるようにします。
機能
Giteeのリポジトリ、Issue、プルリクエスト、通知との対話
さまざまなGiteeインスタンスをサポートする設定可能なAPIベースURL
簡単な設定のためのコマンドラインフラグ
個人、組織、エンタープライズ操作の両方をサポート
動的なツールセットの有効化/無効化
リポジトリのIssueを取得

Issueの詳細に基づいてコーディングを行い、プルリクエストを作成

コメントしてIssueをクローズ

Related MCP server: Gitea MCP Tool
インストール (npxで起動する場合はこのステップをスキップ可能)
前提条件
Go 1.23.0以上
アクセストークンを持つGiteeアカウント、取得はこちら
ソースからのビルド
リポジトリをクローン:
git clone https://gitee.com/oschina/mcp-gitee.git cd mcp-giteeプロジェクトをビルド:
make build./bin/mcp-gitee を PATH 環境変数に追加してください
go install の使用
go install gitee.com/oschina/mcp-gitee@latest使用方法
mcp-giteeのバージョンを確認:
mcp-gitee --versionMCPホストの設定
設定例: その他のアプリケーション設定を表示するにはクリック
公式のリモートmcp-giteeサーバーに接続 (インストール不要)
{
"mcpServers": {
"gitee": {
"url": "https://api.gitee.com/mcp",
"headers": {
"Authorization": "Bearer <your personal access token>"
}
}
}
}npx
{
"mcpServers": {
"gitee": {
"command": "npx",
"args": [
"-y",
"@gitee/mcp-gitee@latest"
],
"env": {
"GITEE_API_BASE": "https://gitee.com/api/v5",
"GITEE_ACCESS_TOKEN": "<your personal access token>"
}
}
}
}実行ファイル
{
"mcpServers": {
"gitee": {
"command": "mcp-gitee",
"env": {
"GITEE_API_BASE": "https://gitee.com/api/v5",
"GITEE_ACCESS_TOKEN": "<your personal access token>"
}
}
}
}コマンドラインオプション
--token: Giteeアクセストークン--api-base: Gitee APIベースURL (デフォルト: https://gitee.com/api/v5)--version: バージョン情報を表示--transport: トランスポートタイプ (stdio、sse、またはhttp、デフォルト: stdio)--address: サーバーを起動するホストとポート (デフォルト: localhost:8000)--enabled-toolsets: 有効にするツールをカンマ区切りで指定 (指定した場合、これらのツールのみが有効になります)--disabled-toolsets: 無効にするツールをカンマ区切りで指定
環境変数
環境変数を使用してサーバーを設定することもできます:
GITEE_ACCESS_TOKEN: GiteeアクセストークンGITEE_API_BASE: Gitee APIベースURLENABLED_TOOLSETS: 有効にするツールをカンマ区切りで指定DISABLED_TOOLSETS: 無効にするツールをカンマ区切りで指定
ツールセット管理
ツールセット管理は2つのモードをサポートしています:
指定したツールを有効にする (ホワイトリストモード):
--enabled-toolsetsパラメータまたはENABLED_TOOLSETS環境変数を使用指定後、リストされたツールのみが有効になり、その他は無効になります
例:
--enabled-toolsets="list_user_repos,get_file_content"
指定したツールを無効にする (ブラックリストモード):
--disabled-toolsetsパラメータまたはDISABLED_TOOLSETS環境変数を使用指定後、リストされたツールは無効になり、その他は有効になります
例:
--disabled-toolsets="list_user_repos,get_file_content"
注意:
enabled-toolsetsとdisabled-toolsetsの両方が指定された場合、enabled-toolsetsが優先されますツール名はケースセンシティブです
ライセンス
このプロジェクトはMITライセンスの下でライセンスされています。詳細は LICENSE ファイルを参照してください。
利用可能なツール
サーバーはGiteeと対話するためのさまざまなツールを提供します:
ツール | カテゴリ | 説明 |
list_user_repos | リポジトリ | ユーザーが認可したリポジトリを一覧表示 |
get_file_content | リポジトリ | リポジトリ内のファイルの内容を取得 |
create_repo | リポジトリ | リポジトリを作成 (ユーザー、組織、またはエンタープライズ) |
fork_repository | リポジトリ | リポジトリをフォーク |
create_release | リポジトリ | リポジトリのリリースを作成 |
list_releases | リポジトリ | リポジトリのリリースを一覧表示 |
search_open_source_repositories | リポジトリ | Gitee上のオープンソースリポジトリを検索 |
search_files_by_content | リポジトリ | リポジトリ内のコンテンツでファイルを検索 |
compare_branches_tags | リポジトリ | リポジトリ内の2つのブランチ、タグ、またはコミットを比較 |
list_repo_pulls | プルリクエスト | リポジトリ内のプルリクエストを一覧表示 |
merge_pull | プルリクエスト | プルリクエストをマージ |
create_pull | プルリクエスト | プルリクエストを作成 |
update_pull | プルリクエスト | プルリクエストを更新 |
get_pull_detail | プルリクエスト | プルリクエストの詳細を取得 |
get_diff_files | プルリクエスト | プルリクエストの差分ファイルを取得 |
manage_pull_review | プルリクエスト | プルリクエストのレビューを管理 (承認またはキャンセル) |
create_comment | コメント | Issueまたはプルリクエストにコメントを作成 |
list_comments | コメント | Issueまたはプルリクエストの全コメントを一覧表示 |
create_issue | Issue | Issueを作成 |
update_issue | Issue | Issueを更新 |
get_repo_issue_detail | Issue | リポジトリのIssueの詳細を取得 |
list_repo_issues | Issue | リポジトリのIssueを一覧表示 |
get_user_info | ユーザー | 現在認証されているユーザー情報を取得 |
search_users | ユーザー | ユーザーを検索 |
list_user_notifications | 通知 | ユーザーの通知を一覧表示 |
貢献
オープンソースコミュニティからの貢献を歓迎します!このプロジェクトに貢献したい場合は、以下のガイドラインに従ってください:
リポジトリをフォークします。
機能またはバグ修正のための新しいブランチを作成します。
変更を加え、コードが十分に文書化されていることを確認します。
変更内容を明確に記述したプルリクエストを送信します。
詳細については、CONTRIBUTING ファイルを参照してください。
This server cannot be installed
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
- AlicenseBqualityDmaintenanceMCP Tool Server for Gitee, supporting the management of repository files/branches, Issues, and Pull Requests.20337MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Gitea repositories through intelligent tools for issue/PR management, workflow analysis, compliance checking, and content generation, plus 200+ CLI commands for complete CRUD operations.221586MIT
- AlicenseNot gradedqualityDmaintenanceEnables project management and repository operations on GitLab through the GitLab API, including file operations, branch management, issue creation, merge requests, and repository forking with support for both GitLab.com and self-hosted instances.5,525Apache 2.0
- AlicenseBqualityCmaintenanceFull-featured MCP server exposing 200+ Gitee API v5 endpoints for repository, issue, pull request, user, enterprise, gist, and search management.10023MIT
Related MCP Connectors
Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GitLab Public MCP — wraps the GitLab REST API v4 (public endpoints, no auth)
Appeared in Searches
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/oschina/mcp-gitee'
If you have feedback or need assistance with the MCP directory API, please join our Discord server