GitHub MCP Server
🔗 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 リポジトリを作成する
Related MCP server: GitHub MCP Server
🚀 クイックスタート
このリポジトリをクローンします:
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.jsonWindows:
%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 を歓迎します!
📜 ライセンス
マサチューセッツ工科大学
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.295 npm1ISC
- FlicenseNot gradedqualityDmaintenanceA 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.-
- FlicenseNot gradedqualityDmaintenanceA 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.1-
- AlicenseBqualityDmaintenanceEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.339 npm4MIT