github-events-mcp
Watches GitHub (and GitHub Enterprise) notifications through the gh CLI and emits MCP events when a review is requested, CI activity occurs, an issue is assigned, or you are mentioned; subscriptions limit events to specific repositories, with authentication and multi-host support inherited from gh.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
github-events-mcp
An event-only MCP server that watches GitHub and GitHub Enterprise notifications through the gh CLI and emits MCP Events. Orbit can wake when a review is requested, CI fails, an issue is assigned or someone mentions you, instead of polling through the model.
Status: early. The events layer, the CLI, the daemon and the notifications poller are in place. The Windows installer and upgrade flow still need a real Windows pass; see
docs/windows-checklist.md.
Why it is different
Event-only. No GitHub tools. Orbit already has
ghin the shell and reads the details itself.Reuses
gh. Every call isgh api --hostname <host>, so authentication, several hosts and GitHub Enterprise come fromgh auth login. The server never reads, stores or logs a GitHub token.Polling with conditional requests. It honors
ETag,Last-Modified,X-Poll-IntervalandRetry-After, and never polls faster than the configured floor.Subscriptions, not a firehose. Nothing is watched until you run
subscribe. A notification becomes an event only when its repository matches a subscription on that host.One executable. TypeScript on Bun, compiled to a single Windows
.exe, with a per-user logon task.servealso runs on macOS and Linux for development.
Related MCP server: gh-mcp
Install
MISE_MINIMUM_RELEASE_AGE=0 mise use -g github:t128n/github-events-mcp@0.1.0mise hides very new releases for 24 hours by default; the prefix skips that wait. The release attaches github-events-mcp-windows-x64.exe; mise installs it as github-events-mcp. See docs/install.md.
Commands
github-events-mcp setup # hosts, port, token, MCP client snippet
github-events-mcp doctor # one line per check, with the fix
github-events-mcp subscribe owner/repo [--host H] [--events a,b]
github-events-mcp unsubscribe owner/repo [--host H]
github-events-mcp subscriptions
github-events-mcp serve # foreground daemon
github-events-mcp install # Windows: copy the exe and register a logon task
github-events-mcp uninstall # Windows: remove the task (--purge removes config too)
github-events-mcp upgrade # Windows: run the new exe as: <new>.exe upgrade
github-events-mcp versionsetup prints the MCP client fragment: url http://127.0.0.1:<port>/mcp, Authorization: Bearer <token>, protocol 2026-07-28.
Events
Event | From a notification with |
| reason |
| PullRequest, reason |
| reason |
| Issue, reason |
| Issue, reason |
| reason |
Payloads are thin: host, repo, reason, subjectType, title, url, updatedAt, threadId. No bodies. Notification text is untrusted and details belong in gh.
Security
The daemon listens on
127.0.0.1only.Every MCP request needs the bearer token;
/healthis the only unauthenticated endpoint.A foreign
HostorOriginis rejected, to block DNS rebinding.Config, token and state files are readable by the current user only.
No GitHub token is ever read, stored or logged.
Development
bun install
bun test
bunx tsc --noEmit
bun run build # dist/github-events-mcp.exe (bun-windows-x64)packages/events: protocol, shared poll loops, cursors, back-off. No GitHub code.src/github: the only GitHub-specific code, the notifications poller.src/cliandsrc/daemon: commands and the local Streamable HTTP server.src/platform: Windows Task Scheduler behind an interface with a fake.
More: docs/install.md, docs/notifications.md, docs/windows-checklist.md.
License
MIT.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Manage repositories, users, releases, and automate GitHub workflows
Real-time Reddit posts, subreddit search, comments & mentions MCP. Local npx or hosted OAuth.
GitHub platform changelog feed. $0.01/query. Be born in one call — free testnet funds.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceA GitHub MCP server that wraps the gh CLI to expose GitHub operations like issues, pull requests, branches, labels, repositories, CI actions, and Projects V2 as tools for MCP clients.-
- AlicenseNot gradedqualityDmaintenanceA thin wrapper around the gh CLI that enables executing any gh command via MCP. It passes commands directly to gh without filtering, leveraging your GitHub authentication.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables GitHub operations via MCP, providing tools for issues, pull requests, and Actions workflows through a Streamable HTTP transport.-
- AlicenseNot gradedqualityDmaintenanceEnables self-hosted, read-only remote interaction with GitHub repositories, allowing listing repositories, searching code, and inspecting commits, pull requests, issues, and diffs via authenticated MCP clients.MIT