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

                • -
                  security
                  F
                  license
                  -
                  quality
                  Enables 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 -
                  9
                  392
                  1
                  TypeScript
                • -
                  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
                • -
                  security
                  A
                  license
                  -
                  quality
                  Enables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.
                  Last updated -
                  3
                  2
                  TypeScript
                  MIT License
                  • Apple
                  • Linux

                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