
mcollina/mcp-github-notifications
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Github の MCP サーバーは、OSS のメンテナに対して API を通知します
概要
GitHub 通知を管理するためのツールを提供する MCP (Model Context Protocol) サーバー。 このサーバーは、ClaudeのようなAIアシスタントが、自然言語のコマンドでGitHubの通知を管理するのに役立ちます。 - GitHubの通知リストとフィルタリング - 読み込みとしてマーク通知 - 通知スレッドの詳細を表示 - 通知スレッドから購読または退会 - リポジトリ固有の通知を管理する - リポジトリの通知設定を制御する(すべてのアクティビティ、デフォルト、またはミュート) - Node.js 18 以降 - GitHub パーソナルアクセストークン (classic) 通知またはリポジトリスコープ 4. GitHubトークンで.envファイルを作成する サーバを claude desktop config.json ファイルに追加します。 サーバが接続されると、Claude Desktopで使用できるプロンプトは次のとおりです。 - "GitHubの通知を確認できますか? - "最後の24時間からの未読通知を表示" - "すべての通知を読んでください.
概要(AI 翻訳)
GitHub 通知を管理するためのツールを提供する MCP (Model Context Protocol) サーバー。 このサーバーは、ClaudeのようなAIアシスタントが、自然言語のコマンドでGitHubの通知を管理するのに役立ちます。
##特徴
- GitHub通知の一覧とフィルタリング
- マーク通知を読み込みます
- 通知スレッドの詳細を見る
- 通知スレッドから購読または退会
- 印は行なわれます
- リポジトリ固有の通知を管理する
- リポジトリの通知設定の制御(すべてのアクティビティ、デフォルト、またはミュート)
前提条件
- Node.js 18以上
notificationsまたはrepoスコープで GitHub パーソナルアクセストークン (classic)
インストール
-
このリポジトリをクローンする
-
依存関係のインストール
-
プロジェクトのビルド
-
GitHubトークンで[[T2]ファイルを作成する
使用法
サーバーを直接実行する
##Claudeデスクトップでの使用
claude_desktop_config.jsonファイルにサーバーを追加します。
利用可能なツール
| 会社概要 |
お問い合わせ
| [list-notifications | 認証されたユーザの全てのGitHub通知を一覧表示 |
| [mark-notifications-read | 読むすべての通知をマーク |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
GitHub Notifications MCP Server
An MCP (Model Context Protocol) server that provides tools for managing GitHub notifications. This server allows AI assistants like Claude to help you manage your GitHub notifications through natural language commands.
Features
- List and filter your GitHub notifications
- Mark notifications as read
- View notification thread details
- Subscribe or unsubscribe from notification threads
- Mark threads as done
- Manage repository-specific notifications
- Control repository notification settings (all activity, default, or mute)
Prerequisites
- Node.js 18 or higher
- GitHub Personal Access Token (classic) with
notificationsorreposcope
Installation
-
Clone this repository
git clone https://github.com/yourusername/github-notifications-mcp-server.git cd github-notifications-mcp-server -
Install dependencies
npm install -
Build the project
npm run build -
Create a
.envfile with your GitHub tokenGITHUB_TOKEN=your_github_personal_access_token_here
Usage
Running the server directly
npm start
Using with Claude Desktop
Add the server to your claude_desktop_config.json file:
{
"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"
}
}
}
}
Available Tools
| Tool Name | Description |
|---|---|
list-notifications |
List all GitHub notifications for the authenticated user |
mark-notifications-read |
Mark all notifications as read |
get-thread |
Get information about a notification thread |
mark-thread-read |
Mark a specific thread as read |
mark-thread-done |
Mark a thread as done |
get-thread-subscription |
Get subscription status for a thread |
set-thread-subscription |
Subscribe to a thread |
delete-thread-subscription |
Unsubscribe from a thread |
list-repo-notifications |
List notifications for a specific repository |
mark-repo-notifications-read |
Mark notifications for a repository as read |
manage-repo-subscription |
Manage repository subscriptions: all_activity, default (participating and @mentions), or ignore (mute) |
Example Prompts
Here are some example prompts you can use with Claude Desktop once the server is connected:
- “Can you check my GitHub notifications?”
- “Show me my unread notifications from the last 24 hours.”
- “Mark all my notifications as read.”
- “Can you tell me about notification thread 12345?”
- “Unsubscribe me from thread 12345.”
- “What notifications do I have for the octocat/Hello-World repository?”
- “Mark all notifications from the octocat/Hello-World repository as read.”
- “Watch all activity on the octocat/Hello-World repository.”
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"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"
}
}
}
}