GitHub MCP Server

Integrations

  • Provides Git command functionality including cloning repositories, checking repository status, committing changes, and pushing commits to remote repositories.

  • Enables direct interaction with GitHub repositories, including listing repos, getting repository details, creating new repositories, and managing access to private repositories via GitHub tokens.

🔗 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 リポジトリを作成する

🚀 クイックスタート

  1. このリポジトリをクローンします:
    git clone https://github.com/shibdad/github-mcp-server.git cd github-mcp-server
  2. 依存関係をインストールします:
    npm install
  3. 実行可能にする:
    chmod +x start.sh index.js
  4. GitHub トークンを追加します (プライベート リポジトリと API アクセス用):
    echo "your-github-token" > .github_token
  5. Claude 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"] } } }
  6. Claude を再起動すれば準備完了です!

💬 これらのプロンプトを試してみてください

接続したら、Claude に次のような質問をします。

  • 「tensorflow/models リポジトリをダウンロードフォルダにクローンする」
  • 「プロジェクトディレクトリの Git ステータスはどうですか?」
  • 「GitHubリポジトリのリストを表示してください」
  • 「microsoft/vscode リポジトリの詳細を取得する」
  • 「「ドキュメントを更新」というメッセージとともに変更をコミットする」
  • 「コミットをGitHubにプッシュする」
  • 「「my-awesome-project」という新しいリポジトリを作成します」

🔧 要件

  • Node.js 16以上
  • Git コマンドラインツール
  • クロードデスクトップ
  • GitHub 個人アクセストークン(API アクセス用)

🔒 GitHubトークンのオプション

プライベートリポジトリにアクセスする必要がありますか?以下のいずれかの方法でトークンを追加してください。

  1. プロジェクトフォルダに.github_tokenファイルを作成する
  2. GITHUB_TOKEN環境変数を設定する
  3. Claude の設定に直接追加します。
    { "mcpServers": { "github": { "command": "/bin/sh", "args": ["-c", "/path/to/github-mcp-server/start.sh"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }

🙋‍♂️ 貢献

バグを見つけましたか?機能を追加したいですか?PR を歓迎します!

📜 ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

Claude Desktop を GitHub リポジトリに接続し、ユーザーが自然な会話を通じて Git 操作や GitHub API のやり取りを実行できるようにします。

  1. ✨ Features
    1. 🚀 Quick Start
      1. 💬 Try These Prompts
        1. 🔧 Requirements
          1. 🔒 GitHub Token Options
            1. 🙋‍♂️ Contributing
              1. 📜 License
                ID: ouw0d87h7x