GitHub MCP サーバー
Cline を通じて GitHub の問題と対話するための Model Context Protocol (MCP) サーバー実装。
特徴
- リポジトリからGitHubの問題を一覧表示する
- 新しいGitHubの問題を作成する
- エラー処理と検証
- 環境変数による安全な認証
インストール
- リポジトリをクローンします。
- uv を使用して依存関係をインストールします。
- 環境テンプレートをコピーし、GitHub トークンを設定します。
.env
を編集し、GitHub 個人アクセス トークンを追加します。
GitHub 個人アクセス トークンを作成するには:
- GitHubの設定 -> 開発者設定 -> 個人アクセストークンに移動します
repo
スコープで新しいトークンを生成する- トークンをコピーして
.env
ファイルに貼り付けます
使用法
MCP サーバーを実行します。
サーバーが起動し、2 つのツールが Cline に公開されます。
get_issues
GitHub リポジトリから問題のリストを取得します。
問題作成
GitHub リポジトリに新しい問題を作成します。
エラー処理
サーバーは一般的なエラーを処理します。
- GitHubトークンがありません
- リポジトリ名が無効です
- 必要なパラメータが不足しています
- GitHub APIエラー
エラー応答には、問題のトラブルシューティングに役立つ説明メッセージが含まれます。
発達
このプロジェクトでは依存関係の管理にUVを使用しています。開発環境をセットアップするには、以下の手順に従ってください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
モデル コンテキスト プロトコルを介して GitHub の問題とのやり取りを可能にし、ユーザーは安全な認証を使用して問題を一覧表示および作成できるようになります。
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -91TypeScript
- -securityFlicense-qualityFacilitates authentication with GitHub using OAuth protocol, allowing secure access and interaction with GitHub repositories and services.Last updated -2Python
- -securityFlicense-qualityProvides integration with Github through the Model Context Protocol (MCP), allowing Large Language Models to interact with Github's repositories, issues, pull requests and search functionality.Last updated -1TypeScript
- -securityFlicense-qualityProvides tools for interacting with GitHub's API through the MCP protocol, allowing users to create repositories, push content, and retrieve user information.Last updated -JavaScript