github-mcp
在终端中运行以下命令:
dsh plugin install JohnXu22786/github-mcp
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中运行 dsh plugin install JohnXu22786/github-mcp 即可安装该插件(开源地址:https://github.com/JohnXu22786/github-mcp),安装后重启 dsh 会话,所有 repogate 工具将自动出现在模型工具列表中。
插件介绍
The core problem repogate tackles is giving coding agents direct, in-conversation access to GitHub. Before, agents could only output suggestions or generate curl commands, and closing an Issue, merging a PR, or posting a line-level review comment still required the developer to switch back to a terminal. repogate wraps the GitHub REST API into 23 standard MCP tools spanning repo queries, full Issue lifecycle management, PR creation and merging, code review, multi-type search, and account authentication, so a single natural-language request can drive a complete operation chain through the agent.\n\nA few engineering details deserve attention. The project has zero runtime dependencies, relying solely on Node.js built-ins (fetch and node:test), so no npm packages are needed to start. Authentication supports both personal access tokens and the OAuth device authorization flow with local token caching, and OAuth completion takes effect immediately without a process restart. List and search tools return concise summaries instead of raw JSON, preserving context tokens for the model. Every error response includes a Chinese fix guide covering common scenarios such as 401, rate limits, parameter validation, and permission issues. A one-switch read-only mode intercepts all eight write operations and returns a clear message explaining how to disable it, making it ideal for research-only sessions.\n\nIt is well suited for developers who use coding agents in MCP-capable clients like dsh, Claude Code, Codex, or opencode, especially contributors who want agents to manage Issues and PRs on their behalf without hand-writing API calls, and researchers who prefer agents to browse repositories in read-only mode to assist with code review.
使用场景
- 在对话中让编码代理查询仓库、Issue 和 PR
- 创建、编辑、评论或合并 GitHub Pull Request
- 在只读模式下使用代理浏览代码与 Issue
适合人员
- 使用 dsh 等 MCP 客户端的开发者
- 想让代理代为管理 GitHub 流程的贡献者
- 需要代理进行只读研究或代码审查的工程人员