Skip to main content
Glama

GitHub MCP Server

by renantrendt

GitHub MCP サーバー

GitHubと連携するためのモデルコンテキストプロトコル(MCP)サーバー。このツールにより、AIアシスタントはリポジトリ管理、ファイル操作、問題追跡など、GitHubのさまざまな操作を実行できます。

特徴

  • リポジトリ操作: リポジトリの作成、リポジトリのフォーク
  • ファイル操作: ファイルの作成、更新、読み取り、1回のコミットで複数のファイルをプッシュ
  • 問題管理: 問題の作成、更新、一覧表示、コメント
  • プルリクエスト: プルリクエストを作成する
  • ブランチ管理: ブランチの作成
  • 検索機能: コード、リポジトリ、問題、ユーザーを検索
  • コミット履歴: コミットの一覧

設定

前提条件

  • Node.js 18以上
  • 適切な権限を持つGitHub個人アクセストークン

インストール

  1. このリポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトをビルドします。
    npm run build

構成

このMCPサーバーは、GitHub APIで認証するためにGitHub Personal Access Tokenを必要とします。トークンは環境変数として提供する必要があります。

GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here

Smithery を使用してデプロイする場合、トークンはgithubPersonalAccessToken構成オプションを通じて構成されます。

使用法

ローカルで実行

サーバーをローカルで実行するには:

GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here node dist/index.js

Smitheryを使ったデプロイ

このリポジトリには、Smithery を使用してデプロイするために必要な構成ファイルが含まれています。

  • Dockerfile : MCP サーバーの Docker イメージを構築する方法を定義します
  • smithery.yaml : Smithery が MCP サーバーを起動する方法を設定します

展開手順については、 Smisery のドキュメントを参照してください。

発達

建物

npm run build

リンティング

npm run lint

ライセンス

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

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI アシスタントがリポジトリ管理、ファイル操作、問題追跡、プル リクエスト作成などの GitHub 操作を実行できるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 設定
      1. 前提条件
      2. インストール
      3. 構成
    2. 使用法
      1. ローカルで実行
      2. Smitheryを使ったデプロイ
    3. 発達
      1. 建物
      2. リンティング
    4. ライセンス

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.
        Last updated -
        3
        JavaScript
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.
        Last updated -
        9
        TypeScript
        MIT License
        • Linux
        • Apple
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.
        Last updated -
        1
        JavaScript
      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
        Last updated -
        129
        Python

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

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