Skip to main content
Glama
alsonwangkhem

GitHub MCP Server

GitHub MCP(モデルコンテキストプロトコル)サーバー

こんにちは!これは、 ClaudeなどのMCP 互換LLM が私の MCP サーバー、ひいては GitHub API と対話できるようにする、私の最初の GitHub MCP サーバーです。

要件

  • TypeScript(プログラミング言語)

  • Octokit(GitHubへのAPIリクエストを行うため)

  • モデルコンテキストプロトコルSDK

プロジェクトをローカルに設定する

  1. リポジトリをクローンする

  2. npm install実行する

  3. .env.exampleファイルで提供されているサンプルを参考にして.envファイルを追加します。

  4. TypeScriptファイルをJavascriptにビルドするには、 npx tscを実行します。

  5. 最後にプロジェクトを実行するには、 node build/index.jsを実行します。

Related MCP server: GitHub MCP Server

テスト方法

MCP サーバーは 2 つの方法でテストできます。

  • MCP検査官

  • クロードデスクトップ

MCPインスペクターを使用したテスト

  1. ターミナルでnpx @modelcontextprotocol/inspector node build/index.js実行するだけです。

  2. http://localhost:5173にアクセスします。

  3. MCP インスペクターとテストが表示されるようになりました。

Claude Desktopを使用したテスト

  1. ここからClaude Desktopをダウンロードしてインストールします

  2. ファイル > 設定... > 開発者 > 設定の編集に移動します

  3. claude_desktop_config.json ファイルの場所が開くはずです。

  4. コード エディターでそのファイルを開き、次のコードを追加します。

    {
     "mcpServers": {
       "gh": {
         "command": "node",
         "args": ["absolute\\path\\to\\your\\index.js\\file"],
         "env": {
           "GITHUB_TOKEN": "your-github-personal-access-token"
         }
       }
     }
    }
  5. Claudeデスクトップを終了して再度開きます

機能

MCP は主に次の2 つの機能をサポートします。

  • ツール (4)

    • create-issue : GitHubリポジトリに新しい問題を作成する

    • get-repo-info : 特定の GitHub リポジトリに関する情報を取得する

    • list-issues : GitHub リポジトリ内の問題を一覧表示する

    • search-repos : GitHubリポジトリを検索する

  • プロンプト (5)

    • create-issue-description : GitHub の問題の説明を生成する

    • create-pull-request-description : GitHub プルリクエストの説明を生成する

    • search-repos-prompt : GitHubリポジトリを検索するためのクエリを生成する

    • create-issue-prompt : GitHub の問題を作成するためのパラメータを生成する

    • enhance-github-response : 生の GitHub API レスポンスデータをフォーマットして強化する

独自のプロンプトを作成することも、Claude デスクトップの MCP の「統合を選択」オプションのドロップダウンから適切なプロンプトを選択することもできます。

Install Server
F
license - not found
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.
    4
  • A
    license
    A
    quality
    C
    maintenance
    Python MCP server for GitHub operations, providing native tool integration with Claude Code and other MCP clients. It enables managing issues, pull requests, CI status, milestones, and batch operations via natural language.
    15
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A working MCP server that connects to the real GitHub API, enabling users to manage repositories, issues, pull requests, and more through natural language in Claude Desktop.

View all related MCP servers

Related MCP Connectors

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

View all MCP Connectors

Latest Blog Posts

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

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