mcp-github
mcp-github
用于 Lume 的 GitHub MCP 服务器 —— 这是 Lume 市场中第一个非内置插件,用于端到端验证第三方插件流程。
v1 版本为只读。允许助手代表用户搜索和阅读 GitHub 存储库、议题、拉取请求、提交记录和文件内容,权限范围受限于用户个人访问令牌所能访问的内容。
工具 (只读 v1)
工具 | 用途 |
| 使用 GitHub 查询语法搜索存储库 |
| 在可见存储库中搜索议题 |
| 在可见存储库中搜索代码 |
| 列出特定存储库中的议题 |
| 读取单个议题的完整正文和元数据 |
| 列出特定存储库中的 PR |
| 读取 PR 正文、分支、差异统计信息 |
| 列出存储库中的近期提交 |
| 读取指定路径/引用下的文件 |
Related MCP server: GitHub Read MCP Server
身份验证
用户个人模式:API 进程在每次调用时注入 JSON X-PA-Credentials 标头;此服务器从中读取 github_token。仅在没有标头时(引导管理员)回退到 GITHUB_TOKEN 环境变量。
作为 Lume 用户进行配置:
在 https://github.com/settings/tokens 创建个人访问令牌。细粒度或经典令牌均可;只读权限范围即可(
repo:read、read:org等)。在 Lume → 设置 → 插件 → GitHub 中粘贴令牌。服务器通过加密的凭据库在每次工具调用时检索它。
运行
该插件旨在作为 PA-iOS docker-compose 堆栈的边车(sidecar)运行。安装步骤:
将此存储库克隆到您的 PA-iOS 克隆旁边:
git clone https://github.com/bryarpatch36/mcp-github.git将
compose.fragment.yml片段合并到您的PA-iOS/docker-compose.yml中。docker compose up -d --build mcp-github。在 Lume 的“设置 → 插件 → 发现”中安装插件。
清单
Lume 插件清单位于 manifest.json,由 Lume 的市场目录从 https://raw.githubusercontent.com/bryarpatch36/mcp-github/main/manifest.json 获取。
路线图
v1.0 — 只读(此版本)
v1.1 — 在 Lume 的两阶段确认协议支持下实现议题和 PR 评论功能
v1.2 — 在确认协议支持下实现议题和 PR 创建功能
分叉(Forks)、分支(Branches)、合并(Merges)明确不在范围内;这些操作应在真实的 Shell 中运行,而不是通过 LLM 工具调用。
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Read-only MCP server: let AI agents read your ORANO saved-video library, tasks, and memory.
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP (Model Context Protocol) server for GitHub API integration. This server provides comprehensive tools for interacting with GitHub repositories, issues, pull requests, branches, and code search through a unified interface.152 npmMIT
- FlicenseNot gradedqualityFmaintenanceRead-only MCP server for the GitHub REST API that enables agents to query repositories, issues, files, and users without any write access.-
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server that exposes GitHub user profiles, repository info, and search via tools for AI assistants like Claude.-
- FlicenseAqualityCmaintenanceMCP server that wraps GitHub REST API to allow AI agents to search repositories, get repository details, list issues, and read READMEs.4-