Serveur MCP GitHub
Allows an AI client to search repositories, code, issues, and pull requests, as well as manage notifications and create issues.
Aussi connu sous Abhishekkumar2021/mcp-suite, @abhishekmcp/github
- Étoiles
- 1
- Outils
- —
- Téléchargements, 30 jours
- 228
- Dernière version
- 0.2.0
- Dernier commit
- 4 juil. 2026
- Licence
- MIT
Qu'est-ce que GitHub MCP ?
GitHub est un serveur MCP. Allows an AI client to search repositories, code, issues, and pull requests, as well as manage notifications and create issues.
Résumé généré à partir du README du projet
À propos du MCP server GitHub
Managing software development workflows directly from an AI interface is what this GitHub MCP server enables. Developers can use it to search through repositories, code, issues, and pull requests, or to read specific files and repository details. It also provides the ability to manage notifications and create new issues to track tasks.
This server connects to any MCP client such as Claude Desktop, Claude Code, or Cursor. Users can set it up using an OAuth device flow or by providing a personal access token. It is designed to be token-efficient, using techniques like pagination and snippets to keep tool outputs small and manageable for the AI model. The server is part of a larger suite of TypeScript-based tools and is available via npm or as an MCPB bundle for easy installation.
Ce que vous pouvez faire avec
- 1Codebase explorationSearch for specific code snippets or entire repositories within your GitHub account.
- 2Issue managementCreate new issues to document bugs or feature requests directly through the AI client.
- 3Pull request reviewRead through existing pull requests to understand recent changes in a project.
- 4Notification monitoringCheck your GitHub notifications to stay updated on repository activity.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer GitHub MCP
Formats vérifiés le 10 nov. 2026Installer GitHub MCP dans Claude Code
$ claude mcp add --env GITHUB_TOKEN=<YOUR_GITHUB_TOKEN> github -- npx -y @abhishekmcp/githubInstaller GitHub MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/github"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Installer GitHub MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"github": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/github"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Installer GitHub MCP dans Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/github"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Installer GitHub MCP dans Codex
~/.codex/config.toml
[mcp_servers.github] command = "npx" args = ["-y", "@abhishekmcp/github"] [mcp_servers.github.env] GITHUB_TOKEN = "<YOUR_GITHUB_TOKEN>"
Installer GitHub MCP dans Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"github": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/github"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}Configuration
GITHUB_TOKENSecretA GitHub Personal Access Token (skips the OAuth device flow).
GITHUB_CLIENT_IDOAuth App client id (public) to enable the device-flow login.
GITHUB_READONLYSet to 1 or true to disable issue-creating/commenting tools.
NOTES_DIR
| Nom | Description | Type |
|---|---|---|
| GITHUB_TOKEN | A GitHub Personal Access Token (skips the OAuth device flow). | Secret |
| GITHUB_CLIENT_ID | OAuth App client id (public) to enable the device-flow login. | |
| GITHUB_READONLY | Set to 1 or true to disable issue-creating/commenting tools. | |
| NOTES_DIR | — |
README
Voir sur GitHub🧰 mcp-suite
A collection of Model Context Protocol servers, built in TypeScript.
Each server lives in its own folder under servers/ and publishes to npm as an independent package, while sharing tooling through an npm workspace. Connect them to any MCP client — Claude Desktop, Claude Code, Cursor, and more.
Table of contents
- Servers
- Quickstart
- Install
- Connecting to a client
- Architecture & conventions
- Development
- Adding a new server
- Publishing
- Contributing
- License
Servers
| Server | Description | Status |
|---|---|---|
notes |
Local markdown notes: ranked full-text and semantic search, tags, todos, a [[wiki-link]] knowledge graph, daily notes + templates, and slash-command workflows (prompts) |
✅ Stable |
files |
Sandboxed local filesystem: read, glob + content search, token-efficient edits, copy/move, soft-delete trash, zip, checksums, and dedup | ✅ Stable |
github |
GitHub: search repos/code/issues, read repos/issues/PRs/files, notifications, create issues — OAuth device flow or token | ✅ Stable |
git |
Git: status, log, diff, file history, branches/tags, gated stage/commit, and remote clone/fetch/pull/push — pure-JS, no git binary | ✅ Stable |
sql |
SQL databases: read-only query + schema introspection over Postgres & SQLite, gated writes | ✅ Stable |
http |
HTTP/REST client: ad-hoc requests + saved collections/environments, env secrets, host-allowlisted + SSRF-safe | ✅ Stable |
More on the way: a Spotify controller, and others.
Quickstart
git clone https://github.com/Abhishekkumar2021/mcp-suite.git
cd mcp-suite
npm install # installs deps for every workspace
npm run build # builds every server
Install
Every server ships through every common channel. For the Claude Code plugin, add the marketplace
once — /plugin marketplace add Abhishekkumar2021/mcp-suite — then install per the table. See each
server's README for full config.
| Server | Claude Code plugin | npm (any client) | Claude Desktop (MCPB) | MCP registry |
|---|---|---|---|---|
notes |
/plugin install notes |
npx -y @abhishekmcp/notes |
drag notes-*.mcpb from the latest release |
io.github.Abhishekkumar2021/notes |
files |
/plugin install files |
npx -y @abhishekmcp/files |
drag files-*.mcpb |
io.github.Abhishekkumar2021/files |
github |
/plugin install github |
npx -y @abhishekmcp/github |
drag github-*.mcpb |
io.github.Abhishekkumar2021/github |
git |
/plugin install git |
npx -y @abhishekmcp/git |
drag git-*.mcpb |
io.github.Abhishekkumar2021/git |
sql |
/plugin install sql |
npx -y @abhishekmcp/sql |
drag sql-*.mcpb |
io.github.Abhishekkumar2021/sql |
http |
/plugin install http |
npx -y @abhishekmcp/http |
drag http-*.mcpb |
io.github.Abhishekkumar2021/http |
notesdefaults to~/notes;filesrequiresFS_ROOTS(the directories it may touch). MCPB bundles install via Claude Desktop → Settings → Extensions.
Connecting to a client
Each server's README has full configuration instructions. As an example, to use the notes server with Claude Code:
claude mcp add notes --env NOTES_DIR=$HOME/notes -- node "$(pwd)/servers/notes/dist/index.js"
Or with Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"notes": {
"command": "node",
"args": ["/absolute/path/to/mcp-suite/servers/notes/dist/index.js"],
"env": { "NOTES_DIR": "/absolute/path/to/your/notes" }
}
}
}
Architecture & conventions
A few principles hold across every server:
- Pure-JS/WASM by default; native only when genuinely required. Servers run via
npx/MCPB on any machine, so portable pure-JS/WebAssembly is strongly preferred and a native dependency is used only when genuinely required (gated + documented). In practice these servers are dependency-light:notesuses MiniSearch + WebAssembly embeddings,sqluses thesql.jsWASM SQLite engine, andfilesusesfast-globinstead of ripgrep.npm auditstays clean. - Sandbox-first, layered design. Each server keeps a thin
index.ts(tool registration only) over focused modules, with a single security boundary every path must pass through (realpath-containment, symlink-escape rejection, atomic writes). - Token-efficient by default. Pagination, head/tail/section reads, snippets, and compact graph refs keep tool output small.
- Automated, hands-off releases. A GitHub Release tagged
<server>-v<version>publishes to npm (with provenance), the official MCP registry, and attaches an MCPB bundle — all via OIDC, no secrets. - Tested in CI. Each server ships a committed
node:testsuite (unit + integration/security) run on every push.
Development
This is an npm workspaces monorepo.
npm install # install all workspace dependencies (run once at the root)
npm run build # build every server
npm run build -w servers/notes # build a single server
npm test --workspaces --if-present # run each server's test suite
npm run clean # remove all build output
Adding a new server
- Create
servers/<name>/with its ownpackage.json(unique npmname) and atsconfig.jsonthatextends: "../../tsconfig.base.json". - Put source in
servers/<name>/src/. - Run
npm installat the root so the workspace picks it up. - Add a row to the Servers table above.
All servers follow the naming standard (@abhishekmcp/<slug>). See CONTRIBUTING.md for detailed guidelines.
Publishing
Releases are automated. Cutting a GitHub Release tagged <server>-v<version> triggers
publish.yml, which — authenticated entirely via GitHub OIDC (no
NPM_TOKEN) — publishes the package to npm with provenance, registers it on the official MCP
registry, and builds + attaches the MCPB bundle to the release.
# bump servers/<name>/package.json, commit, then:
gh release create <name>-v<version> --title "<name> v<version>" --notes "…"
Contributing
Contributions are welcome! Please read CONTRIBUTING.md and our Code of Conduct. Found a security issue? See SECURITY.md.
License
MIT © Abhishek
Questions sur GitHub MCP
Comment ajouter GitHub MCP à Claude Code ?
Exécutez claude mcp add --env GITHUB_TOKEN=<YOUR_GITHUB_TOKEN> github -- npx -y @abhishekmcp/github dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter GitHub MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
How can I authenticate with the GitHub MCP server?
You can use either an OAuth device flow or a personal access token.
What actions can I perform with the GitHub server?
The server enables searching for repositories, code, and issues, reading repositories, issues, pull requests, and files, managing notifications, and creating issues.