Skip to main content
Glama
GitHub Notifications MCP Server

GitHub Notifications MCP Server

by mcollina

GitHub 알림 MCP 서버

GitHub 알림 관리 도구를 제공하는 MCP(Model Context Protocol) 서버입니다. 이 서버를 사용하면 Claude와 같은 AI 도우미가 자연어 명령을 통해 GitHub 알림을 관리할 수 있습니다.

특징

  • GitHub 알림을 나열하고 필터링하세요

  • 알림을 읽음으로 표시

  • 알림 스레드 세부 정보 보기

  • 알림 스레드 구독 또는 구독 취소

  • 스레드를 완료로 표시

  • 저장소별 알림 관리

  • 저장소 알림 설정 제어(모든 활동, 기본값 또는 음소거)

Related MCP server: mcp-github-server

필수 조건

  • Node.js 18 이상

  • notifications 또는 repo 범위가 포함된 GitHub 개인 액세스 토큰(클래식)

설치

  1. 이 저장소를 복제하세요

    지엑스피1

  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(참여 및 @mentions), 또는 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을 해당 웹 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 으로 도메인 변환

  • 풀 리퀘스트에 대한 경로 수정( pulls 을 pull 변경)

  • 추가 경로 세그먼트 보존

프로젝트 구조

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

특허

MIT

Available Tools

11 tools
delete-thread-subscriptionA

Unsubscribe from a GitHub notification thread

Inputs: thread_id (required).

get-threadC

Get information about a GitHub notification thread

Inputs: thread_id (required).

get-thread-subscriptionA

Get subscription status for a GitHub notification thread

Inputs: thread_id (required).

list-notificationsC

List GitHub notifications for the authenticated user

Inputs: all, participating, since, before, +2 more.

list-repo-notificationsC

List GitHub notifications for a specific repository

Inputs: owner (required), repo (required), all, participating, +4 more.

manage-repo-subscriptionC

Manage repository subscription settings including fine-grained notification preferences

Inputs: owner (required), repo (required), action (required), options.

mark-notifications-readC

Mark GitHub notifications as read

Inputs: last_read_at, read.

mark-repo-notifications-readC

Mark GitHub notifications for a specific repository as read

Inputs: owner (required), repo (required), last_read_at, read.

mark-thread-doneC

Mark a GitHub notification thread as done

Inputs: thread_id (required).

mark-thread-readC

Mark a GitHub notification thread as read

Inputs: thread_id (required).

set-thread-subscriptionC

Subscribe to a GitHub notification thread

Inputs: thread_id (required), ignored.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific notification actions like listing, marking, or managing subscriptions. The descriptions precisely differentiate operations by scope (e.g., list-notifications vs. list-repo-notifications) and action type, leaving no ambiguity for agent selection.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with hyphens, such as 'list-notifications' and 'mark-thread-read'. The naming is uniform across the set, making it predictable and easy for agents to parse and understand the intended operations.

    Tool Count5/5

    With 11 tools, the server is well-scoped for GitHub notifications, covering key operations like listing, marking, and managing subscriptions. Each tool serves a specific function without redundancy, making the count appropriate for the domain's complexity and user needs.

    Completeness5/5

    The tool set provides complete coverage for GitHub notification workflows, including CRUD-like operations (list, get, mark, delete) and lifecycle management (subscriptions, read/done status). There are no obvious gaps, ensuring agents can handle all typical notification tasks without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      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
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that gives Claude live access to your GitHub workspace — PR reviews, issue triaging, repo search, and weekly digest reports through natural language.
      7
      MIT