GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Is this GitHub issue free to take, is the project alive, will maintainers reply? Read-only.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GITHUB_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"contri": {
"command": "npx",
"args": [
"-y",
"contri-mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add contri --env GITHUB_TOKEN=your-value -- npx -y contri-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"contri": {
"command": "npx",
"args": [
"-y",
"contri-mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"contri": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"contri-mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 alphasafal 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GITHUB_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.0)于8天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
CONTRI for AI coding agents. Before your agent starts on a GitHub issue, it can check what CONTRI shows people in the browser: is someone already working on it, is the project alive, and will a maintainer reply?
check_issue finds assignees, “I'd like to work on this” comments (and claims that went quiet) and open pull requests that reference the issue.api.github.com, and never comments, claims or opens pull requests.| Tool | Answers | Requests (signed in / anonymous) |
|---|---|---|
check_issue | Can I take this issue? Looks free, Claimed by @x, Claim went quiet, Open PR #n, Assigned… | 1–2 / ~4 |
check_issues | The same for up to 10 issues in one call: verdicts only by default, so a shortlist is cheap | per issue, as above |
repo_health | Is it alive? PRs merged in 90 days (bots excluded), human authors, time to merge, release | 2 / ~7 |
team_responsiveness | Will someone reply? First team reply to outside PRs and issues, who is waiting, maintainers | 2–3 / ~35 |
find_issues | Beginner issues without an assignee; signed in, also whether an open PR already references it | 3 / 2 |
discover_projects | Active projects for a language or topic, ranked by recent human merges and good first issues | 1 / ~7 |
contribution_brief | A source-linked brief plus the README, contributing guide, code of conduct and templates | 2–3 / ~5 |
Prompts: find_first_issue (find an active project and an issue nobody is working on) and can_i_take_this (check one issue and say whether to start, ask first or pick another).
Every result carries a github field with the sign-in state and the requests GitHub says are left, so an agent can budget and knows when to offer sign-in. Reports are cached in memory for the same times as the extension (issue checks 10 minutes, overview 30 minutes, team 6 hours).
Token budget. Results are compact JSON without padding: a full check_issue is about 200–300 tokens, detail: "brief" (verdict and URL) about 40, thread: "digest" adds the issue head and last three comments for about 400 (the full thread can be ~3,500), and check_issues returns one footer for the whole batch. Numbers are rounded to one decimal and empty sections are left out, so an agent that only needs to know whether to proceed pays for little more than the verdict.
The server runs on Node.js 20.3 or later and is published to npm as contri-mcp, so there is nothing to clone or build.
Claude Code
claude mcp add --transport stdio contri -- npx -y contri-mcp
Claude Desktop, Cursor, Windsurf and other clients that use an mcpServers config file:
{
"mcpServers": { "contri": { "command": "npx", "args": ["-y", "contri-mcp"] } } }
If the client cannot find npx (it does not read your shell setup), use the full path from which npx.
From source (to try unreleased changes; building needs Node.js 22.12 or later, 24 recommended):
git clone https://github.com/alphasafal/contri ~/contri
cd ~/contri && npm ci && npm run build:mcp # writes mcp/dist/contri-mcp.js claude mcp add --transport stdio contri -- node ~/contri/mcp/dist/contri-mcp.js
To update a source install: cd ~/contri && git pull && npm ci && npm run build:mcp, then restart your MCP client.
Without signing in, GitHub allows 60 requests an hour, which an agent uses up quickly. Signing in raises it to 5,000 and lets CONTRI use one GraphQL request instead of dozens. There is no token to copy:
github.com/login/device. Open it, enter the code and approve CONTRI.This is the same sign-in as the extension: GitHub's device flow with the CONTRI OAuth App, no scopes (public, read-only access), no password through CONTRI. The sign-in is saved for next time in ~/.config/contri/mcp-credentials.json, readable only by you (set CONTRI_MCP_CREDENTIALS to use another path, or ask the agent to sign in with remember: false to keep it for this session only). sign_out forgets it; revoke it any time at github.com/settings/applications.
Prefer a token? Set GITHUB_TOKEN (or GH_TOKEN) in the server's env to a fine-grained token with Public repositories and every permission at No access. If GitHub rejects it, or it is still a placeholder like PASTE_YOUR_TOKEN_HERE, CONTRI carries on anonymously and offers to sign in instead of failing.
Ask your agent something like:
There is no backend and no analytics. The server sends requests only to GitHub (api.github.com, plus github.com for the sign-in), and your sign-in only there. Only public repositories are analyzed. Reports are kept in memory and are gone when the process exits; the only file written is the saved sign-in, if you sign in. Issue text goes to your agent only when it asks for it (check_issue with includeThread). See PRIVACY.md.
MIT