Skip to main content
Glama

GitHub MCP Server

GitHub MCP サーバー

GitHub 統合のための Model Context Protocol (MCP) サーバー実装。このサーバーは、MCP プロトコルを介して GitHub API とやり取りするためのツールを提供します。

特徴

  • GitHubリポジトリを作成する
  • コンテンツをリポジトリにプッシュする
  • ユーザー情報を取得する
  • 適切なエラー処理とTypeScriptの型安全性
  • 自動インストールスクリプト

前提条件

  • Node.js (v18以上)
  • npm (v8以上)
  • PowerShell(Windows インストール用)
  • リポジトリスコープを持つGitHubパーソナルアクセストークン

インストール

ウィンドウズ

  1. このリポジトリをクローンします:
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git
  1. インストール スクリプトを実行します。
.\install.ps1

スクリプトは次のようになります。

  • 必要なディレクトリを作成する
  • 依存関係をインストールする
  • TypeScriptコードをビルドする
  • MCP設定を構成する

手動インストール

  1. MCP ディレクトリを作成します。
mkdir -p "$env:APPDATA\Roo-Code\MCP\github-mcp"
  1. このリポジトリをそのディレクトリにクローンします。
git clone https://github.com/oghenetejiriorukpegmail/github-mcp.git "$env:APPDATA\Roo-Code\MCP\github-mcp"
  1. 依存関係をインストールします:
cd "$env:APPDATA\Roo-Code\MCP\github-mcp" npm install
  1. TypeScript コードをビルドします。
npm run build
  1. サーバー構成を MCP 設定ファイルに追加します: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
{ "mcpServers": { "github": { "command": "node", "args": [ "%APPDATA%\Roo-Code\MCP\github-mcp\build\index.js" ], "env": { "GITHUB_TOKEN": "your-github-token-here" }, "disabled": false, "alwaysAllow": [] } } }

利用可能なツール

get_user

GitHub ユーザー情報を取得します。

{ "username": "octocat" }

リポジトリの作成

新しい GitHub リポジトリを作成します。

{ "repo_name": "my-new-repo", "description": "A new repository", "private": false }

リポジトリへのプッシュ

コンテンツを GitHub リポジトリにプッシュします。

{ "repo_name": "my-repo", "file_path": "docs/README.md", "content": "# My Project\nThis is a test file.", "message": "Add README file" }

発達

  1. リポジトリをクローンする
  2. 依存関係をインストール: npm install
  3. src/index.tsに変更を加える
  4. ビルド: npm run build
  5. 変更をテストする

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 変更をコミットする
  4. ブランチにプッシュする
  5. プルリクエストを作成する

ライセンス

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

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP プロトコルを介して GitHub の API と対話するためのツールを提供し、ユーザーがリポジトリを作成したり、コンテンツをプッシュしたり、ユーザー情報を取得したりできるようにします。

  1. 特徴
    1. 前提条件
      1. インストール
        1. ウィンドウズ
        2. 手動インストール
      2. 利用可能なツール
        1. get\_user
        2. リポジトリの作成
        3. リポジトリへのプッシュ
      3. 発達
        1. 貢献
          1. ライセンス

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              Provides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.
              Last updated -
              2
              17
              TypeScript
            • -
              security
              F
              license
              -
              quality
              An MCP service that enables creating GitHub Pull Requests and adding code review comments using GitHub CLI, eliminating the need to manually handle authentication and permissions.
              Last updated -
              JavaScript
              • Apple
              • Linux
            • A
              security
              F
              license
              A
              quality
              An MCP server that enables integration with GitHub Enterprise API, allowing users to access repository information, manage issues, pull requests, workflows, and other GitHub features through Cursor.
              Last updated -
              16
              33
              14
              TypeScript
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.
              Last updated -
              2
              1
              Python
              MIT License
              • 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/oghenetejiriorukpegmail/github-mcp'

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