Skip to main content
Glama

GitHub Notifications MCP Server

GitHub 通知 MCP サーバー

GitHub 通知を管理するためのツールを提供する MCP (Model Context Protocol) サーバー。このサーバーにより、Claude などの AI アシスタントが自然言語コマンドを通じて GitHub 通知の管理を支援できるようになります。

特徴

  • GitHub 通知の一覧表示とフィルタリング
  • 通知を既読にする
  • 通知スレッドの詳細を表示
  • 通知スレッドを購読または購読解除する
  • スレッドを完了としてマークする
  • リポジトリ固有の通知を管理する
  • リポジトリの通知設定(すべてのアクティビティ、デフォルト、ミュート)を制御する

前提条件

  • Node.js 18以上
  • notificationsまたはrepoスコープ付きの GitHub 個人アクセストークン (クラシック)

インストール

  1. このリポジトリをクローンする
    git clone https://github.com/yourusername/github-notifications-mcp-server.git cd github-notifications-mcp-server
  2. 依存関係をインストールする
    npm install
  3. プロジェクトを構築する
    npm run build
  4. GitHubトークンを使用して.envファイルを作成する
    GITHUB_TOKEN=your_github_personal_access_token_here

使用法

サーバーを直接実行する

npm start

Claude Desktopでの使用

サーバーをclaude_desktop_config.jsonファイルに追加します。

{ "mcpServers": { "github-notifications": { "command": "node", "args": ["/absolute/path/to/github-notifications-mcp-server/build/index.js"], "env": { "GITHUB_TOKEN": "your_github_personal_access_token_here" } } } }

利用可能なツール

ツール名説明
list-notifications認証されたユーザーのすべての GitHub 通知を一覧表示する
mark-notifications-readすべての通知を既読にする
get-thread通知スレッドに関する情報を取得する
mark-thread-read特定のスレッドを既読にする
mark-thread-doneスレッドを完了としてマークする
get-thread-subscriptionスレッドの購読ステータスを取得する
set-thread-subscriptionスレッドを購読する
delete-thread-subscriptionスレッドの購読を解除する
list-repo-notifications特定のリポジトリの通知を一覧表示する
mark-repo-notifications-readリポジトリの通知を既読としてマークする
manage-repo-subscriptionリポジトリのサブスクリプションを管理します: all_activity、default (参加と@メンション)、または ignore (ミュート)

プロンプトの例

サーバーが接続されたら、Claude Desktop で使用できるプロンプトの例を次に示します。

  • 「GitHub の通知を確認できますか?」
  • 「過去 24 時間の未読通知を表示してください。」
  • 「すべての通知を既読としてマークします。」
  • 「通知スレッド12345について教えていただけますか?」
  • 「スレッド 12345 から登録を解除してください。」
  • 「octocat/Hello-World リポジトリにはどのような通知がありますか?」
  • 「octocat/Hello-World リポジトリからのすべての通知を既読としてマークします。」
  • 「octocat/Hello-World リポジトリのすべてのアクティビティを監視します。」
  • 「octocat/Hello-World リポジトリをデフォルト設定 (参加と @メンション) に設定します。」
  • 「octocat/Hello-World リポジトリの通知設定を確認してください。」
  • 「octocat/Hello-World リポジトリからのすべての通知をミュートします。」

発達

URL処理

このサーバーは、GitHub APIのURLを対応するWeb UIのURLに自動的に変換します。例:

  • API URL: https://api.github.com/repos/nodejs/node/pulls/57557
  • 変換後: https://github.com/nodejs/node/pull/57557

変換ハンドル:

  • api.github.com/reposからgithub.comへのドメイン変換
  • プルリクエストのパス修正( pullspullに変更)
  • 追加のパスセグメントの保存

プロジェクト構造

github-notifications-mcp-server/ ├── src/ # Source code │ ├── tools/ # Tool implementations │ ├── types/ # Type definitions │ ├── utils/ # Utility functions │ ├── index.ts # Entry point │ └── server.ts # Server configuration ├── build/ # Compiled JavaScript ├── .env # Environment variables ├── package.json # Dependencies ├── tsconfig.json # TypeScript configuration └── README.md # Documentation

建物

npm run build

テスト

自動テストを実行します。

npm test

URL 変換を手動でテストします。

npm run test:url

ライセンス

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

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

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

Claude などの AI アシスタントが自然言語コマンドを通じてユーザーの GitHub 通知の管理を支援できるようにする MCP サーバー。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 使用法
          1. サーバーを直接実行する
          2. Claude Desktopでの使用
        2. 利用可能なツール
          1. プロンプトの例
            1. 発達
              1. URL処理
              2. プロジェクト構造
              3. 建物
              4. テスト
            2. ライセンス

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                The Git MCP Server allows AI assistants to perform enhanced Git operations via the Model Context Protocol, supporting core Git functions, branch and tag management, GitHub integration, and more.
                Last updated -
                21
                55
                4
                TypeScript
              • 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 Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
                Last updated -
                129
                Python
              • A
                security
                F
                license
                A
                quality
                An MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.
                Last updated -
                9
                32
                TypeScript
                • 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/mcollina/mcp-github-notifications'

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