Token导航 LogoToken导航

Agent Skill · 研究检索

github-mcp(GitHub MCP 搜索)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

github-mcp 是研究检索类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为接触敏感数据;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 42,619。

总安装 1,056周安装 44下载 352核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-mcp(GitHub MCP 搜索)
来源仓库:https://skills.volces.com
仓库路径:github-mcp
安装命令:
Option 1: Official MCP Server (Archived - Community Maintained)
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 对应宿主 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.sh安装方式未标明
Option 1: Official MCP Server (Archived - Community Maintained)

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

github-mcp 提供 GitHub 仓库、Issue 和 PR 的查询与分析能力,支持代码协作流程。可用于项目状态跟踪、变更整理和协作事项辅助处理。需区分只读查询与写入操作,确保 token 权限匹配目标仓库。涉及私有仓库或推送操作时应确认用户授权范围。

官方 MCP Server 已归档,当前由社区维护,需注意稳定性风险。

来源仓库内路径:github-mcp

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 Option 1: Official MCP Server (Archived - Community Maintained);命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

github-mcp 怎么安装?

在终端执行 Option 1: Official MCP Server (Archived - Community Maintained)。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

github-mcp 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

github-mcp 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

github-mcp 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

github-mcp 用的人多吗?

公开数据是累计安装 1,056 次,近一周安装 44 次,下载 352 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

github-mcp 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
github-mcp

GitHub MCP 搜索 · 本页

1,056—接触敏感数据未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GitHub MCP Server

Complete GitHub Integration for AI Agents

Connect AI agents to GitHub for repository management, code operations, issue tracking, pull requests, and the full GitHub API.

Why GitHub MCP?

🤖 Agent-Native GitHub Workflows

Enable agents to perform complex GitHub operations that previously required manual API integration:

  • Clone and navigate repositories
  • Read and modify files
  • Create issues and pull requests
  • Review code and discussions
  • Manage branches and releases

🔐 Secure Authentication

OAuth-based authentication with fine-grained permissions. Agents access only what you authorize.

📦 Zero Setup for Common Operations

Pre-configured tools for the most common GitHub workflows. No manual API calls required.

Installation

Option 1: Official MCP Server (Archived - Community Maintained)

# Community-maintained GitHub MCP server
npm install -g @modelcontextprotocol/server-github

# Or build from source
git clone https://github.com/modelcontextprotocol/servers-archived
cd servers-archived/src/github
npm install
npm run build

Option 2: Third-Party Implementations

Several community implementations available. Check the MCP Registry for current options.

Configuration

Add to your MCP client config:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Get GitHub Token

  1. Go to https://github.com/settings/tokens
  2. Generate new token (classic) or fine-grained token
  3. Select scopes:

- repo - Full repository access - read:user - Read user profile - read:org - Read organization data (if needed)

Fine-Grained Token (recommended):

  • Repository permissions: Contents (Read/Write), Issues (Read/Write), Pull Requests (Read/Write)
  • Organization permissions: Members (Read) if accessing org repos

Available Tools

Repository Operations

1. Create Repository
Agent: "Create a new repository called 'my-project'"
2. Clone Repository
Agent: "Clone the OpenAI GPT-4 repository"
3. List Repository Files
Agent: "What files are in the src/ directory?"

File Operations

4. Read File
Agent: "Show me the README.md file"
Agent: "Read the contents of src/index.ts"
5. Create/Update File
Agent: "Create a new file docs/API.md with API documentation"
Agent: "Update the version in package.json to 2.0.0"
6. Search Code
Agent: "Search for files containing 'authentication logic'"
Agent: "Find where the DatabaseConnection class is defined"

Issue & PR Management

7. Create Issue
Agent: "Create an issue: 'Add dark mode support'"
8. List Issues
Agent: "Show me all open bugs"
Agent: "What issues are assigned to me?"
9. Create Pull Request
Agent: "Create a PR to merge feature/login into main"
10. Review Pull Request
Agent: "Review PR #42 and check for security issues"

Branch Operations

11. Create Branch
Agent: "Create a new branch called 'feature/user-auth'"
12. List Branches
Agent: "Show all branches in this repo"
13. Merge Branch
Agent: "Merge 'develop' into 'main'"

Advanced Operations

14. Create Release
Agent: "Create a release v2.0.0 with the latest changes"
15. Search Repositories
Agent: "Find popular React component libraries"
16. Fork Repository
Agent: "Fork the Vue.js repository to my account"

Agent Workflow Examples

Code Review Automation

Human: "Review all PRs and flag security issues"

Agent:
1. list_pull_requests(state="open")
2. For each PR:
   - get_pull_request(pr_number)
   - read_changed_files()
   - analyze for security vulnerabilities
   - create_review_comment(security_findings)

Issue Triage

Human: "Label all new issues with 'needs-triage'"

Agent:
1. list_issues(state="open", labels=null)
2. For each unlabeled issue:
   - read_issue(issue_number)
   - add_label("needs-triage")

Release Automation

Human: "Prepare v2.0.0 release"

Agent:
1. create_branch("release/v2.0.0")
2. update_file("package.json", version="2.0.0")
3. update_file("CHANGELOG.md", new_release_notes)
4. create_pull_request("release/v2.0.0" -> "main")
5. create_release(tag="v2.0.0", notes=changelog)

Documentation Sync

Human: "Update documentation from code comments"

Agent:
1. search_code(query="* @description")
2. extract_docstrings()
3. generate_markdown_docs()
4. update_file("docs/API.md", generated_docs)
5. create_pull_request("Update API documentation")

Use Cases

🛠️ Development Assistants

Agents that help developers with repetitive GitHub tasks: creating issues, managing labels, updating documentation, code review.

🤖 CI/CD Automation

Build agents that trigger workflows, check build status, create releases, manage deployments.

📊 Repository Analytics

Analyze code quality, track issue resolution time, monitor PR velocity, generate reports.

🔍 Code Search & Discovery

Find code patterns, identify dependencies, discover similar implementations, locate technical debt.

📝 Documentation Automation

Sync code comments to docs, generate API references, update changelogs, maintain README files.

Security Best Practices

✅ Use Fine-Grained Tokens

Prefer fine-grained tokens over classic PATs. Limit scope to specific repositories and permissions.

✅ Read-Only When Possible

If the agent only needs to read code/issues, grant read-only access.

✅ Environment Variables

Never hard-code tokens. Always use environment variables.

✅ Token Rotation

Rotate tokens regularly. Set expiration dates.

✅ Audit Agent Actions

Monitor what the agent does. GitHub activity log tracks all API operations.

Rate Limits

Authenticated Requests:

  • 5,000 requests/hour (per user)
  • Search API: 30 requests/minute

Best Practices:

  • Cache repository data when possible
  • Batch operations where applicable
  • Use conditional requests (If-None-Match headers)

vs Manual GitHub API Integration

TaskManual APIGitHub MCP
Setup TimeHours (auth, SDK, error handling)Minutes (config file)
Code RequiredYes (HTTP client, auth, parsing)No (MCP tools auto-discovered)
Agent IntegrationManual tool definitionsAutomatic via MCP
Auth ManagementCustom implementationBuilt-in OAuth flow
Error HandlingCustom retry logicHandled by server

Troubleshooting

"Bad credentials" Error

  • Verify token has not expired
  • Ensure token has required scopes (repo, read:user)
  • Check token is correctly set in environment variable

"Resource not found" Error

  • Verify repository name format: owner/repo
  • Check agent has access to private repositories (if applicable)
  • Ensure branch/file path exists

Rate Limit Errors

  • Wait for rate limit reset (check X-RateLimit-Reset header)
  • Reduce query frequency
  • Consider GitHub Apps for higher limits

Resources

Advanced Configuration

{
  "mcpServers": {
    "github": {
      "command": "node",
      "args": ["/path/to/github-mcp/build/index.js"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxx",
        "GITHUB_API_URL": "https://api.github.com",
        "DEFAULT_BRANCH": "main",
        "AUTO_PAGINATION": "true"
      }
    }
  }
}

The GitHub integration every coding agent needs: From code review to release automation, GitHub MCP brings the full power of GitHub to AI agents.

平台分布

Local Agent

77.01%
按下载量换算271

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills