🔗 Claude デスクトップ用 GitHub MCP サーバー
シームレスな GitHub 統合により、Claude Desktop を強化しましょう。
この MCP サーバーは、Claude Desktop を GitHub リポジトリおよび git コマンドに直接接続し、自然な会話を通じてコードやリポジトリを操作できるようにします。
✨ 特徴
🔄
git-clone
- 簡単なリクエストで任意のリポジトリをクローンします📊
git-status
- Gitリポジトリで何が起こっているかを確認します📋
github-list-repos
- GitHub リポジトリを閲覧する🔍
github-repo-info
- 任意のリポジトリの詳細情報を取得します📝
git-commit
- リポジトリへの変更をコミットする🚀
git-push
- コミットを GitHub にプッシュする🆕
github-create-repo
- 新しい GitHub リポジトリを作成する
🚀 クイックスタート
このリポジトリをクローンします:
git clone https://github.com/shibdad/github-mcp-server.git cd github-mcp-server依存関係をインストールします:
npm install実行可能にする:
chmod +x start.sh index.jsGitHub トークンを追加します (プライベート リポジトリと API アクセス用):
echo "your-github-token" > .github_tokenClaude Desktop に接続します。
Claude の設定ファイルを編集します。
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%\Claude\claude_desktop_config.json
これを設定に追加します:
{ "mcpServers": { "github": { "command": "/bin/sh", "args": ["-c", "/path/to/github-mcp-server/start.sh"] } } }Claude を再起動すれば準備完了です!
💬 これらのプロンプトを試してみてください
接続したら、Claude に次のような質問をします。
「tensorflow/models リポジトリをダウンロードフォルダにクローンする」
「プロジェクトディレクトリの Git ステータスはどうですか?」
「GitHubリポジトリのリストを表示してください」
「microsoft/vscode リポジトリの詳細を取得する」
「「ドキュメントを更新」というメッセージとともに変更をコミットする」
「コミットをGitHubにプッシュする」
「「my-awesome-project」という新しいリポジトリを作成します」
🔧 要件
Node.js 16以上
Git コマンドラインツール
クロードデスクトップ
GitHub 個人アクセストークン(API アクセス用)
🔒 GitHubトークンのオプション
プライベートリポジトリにアクセスする必要がありますか?以下のいずれかの方法でトークンを追加してください。
プロジェクトフォルダに
.github_token
ファイルを作成するGITHUB_TOKEN
環境変数を設定するClaude の設定に直接追加します。
{ "mcpServers": { "github": { "command": "/bin/sh", "args": ["-c", "/path/to/github-mcp-server/start.sh"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }
🙋♂️ 貢献
バグを見つけましたか?機能を追加したいですか?PR を歓迎します!
📜 ライセンス
マサチューセッツ工科大学
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Claude Desktop を GitHub リポジトリに接続し、ユーザーが自然な会話を通じて Git 操作や GitHub API のやり取りを実行できるようにします。
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 -1,4001
- -securityFlicense-qualityA modular command processor server that enables interaction with GitHub's REST API to fetch user details, repository information, and authenticated user data through natural language commands in Claude.Last updated -
- -securityFlicense-qualityA Multi-Claude Program for interacting with GitHub APIs through Claude Desktop, allowing users to search repositories, manage issues, pull requests, repository settings, workflows, and collaborators.Last updated -1
- -securityAlicense-qualityEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.Last updated -32MIT License