Skip to main content
Glama
mcollina

GitHub Notifications MCP Server

by mcollina

GitHub 通知 MCP サーバー

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

特徴

  • GitHub 通知の一覧表示とフィルタリング

  • 通知を既読にする

  • 通知スレッドの詳細を表示

  • 通知スレッドを購読または購読解除する

  • スレッドを完了としてマークする

  • リポジトリ固有の通知を管理する

  • リポジトリの通知設定(すべてのアクティビティ、デフォルト、ミュート)を制御する

Related MCP server: GitHub MCP Server

前提条件

  • 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

ライセンス

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

Install Server
A
license - permissive license
A
quality
C
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
  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that allows Claude and other MCP-compatible LLMs to interact with the GitHub API, supporting features like creating issues, getting repository information, listing issues, and searching repositories.
    4

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

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

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

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

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