Skip to main content
Glama

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

🚀 クイックスタート

  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
A
license - permissive license
-
quality - not tested

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 のやり取りを実行できるようにします。

  1. ✨ 特徴
    1. 🚀 クイックスタート
      1. 💬 これらのプロンプトを試してみてください
        1. 🔧 要件
          1. 🔒 GitHubトークンのオプション
            1. 🙋‍♂️ 貢献
              1. 📜 ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that connects GitHub code to Claude.ai. This server utilizes the Pera1 service to extract code from GitHub repositories and provide better context to Claude.
                  Last updated -
                  1
                  31
                  1
                  JavaScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  Enables AI assistants to interact with GitHub through the PyGithub library, providing tools for managing issues, repositories, pull requests, and other GitHub operations with intelligent parameter handling and error management.
                  Last updated -
                  19
                  Python
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  A 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 -
                  Python
                • -
                  security
                  F
                  license
                  -
                  quality
                  A 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
                  Python
                  • Linux
                  • Apple

                View all related MCP servers

                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/shibdad/github-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server