repogate
面向 agent 的 GitHub 工作台:仓库、issue、PR 与代码审查的读写工具集,以 MCP stdio server 形式运行,零运行时依赖,可被 dsh 等插件化 harness 加载
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JohnXu22786/github-mcp说明文档
阅读完整 README ↗Configuration
Priority: CLI flags > environment variables > config file > defaults. The config file is JSON, its path given by --config
or REPOGATE_CONFIG; see examples/repogate.config.json.example.
| Config item | Environment variable | Default |
|---|---|---|
| Access token | REPOGATE_TOKEN (also accepts GITHUB_TOKEN / GH_TOKEN) | none |
| API base URL (enterprise instances) | REPOGATE_BASE_URL | https://api.github.com |
| Read-only mode | REPOGATE_READ_ONLY (1/true/yes/on) | false |
| Per-request timeout (ms) | REPOGATE_TIMEOUT_MS | 30000 |
| OAuth Client ID | REPOGATE_OAUTH_CLIENT_ID | none |
| OAuth token cache file | REPOGATE_TOKEN_FILE | ~/.repogate/token.json when oauth.clientId is configured |
| Config file path | REPOGATE_CONFIG | none |
| Debug logging (stderr) | REPOGATE_DEBUG | false |
CLI flags: --config --token --read-only --base-url --timeout-ms
--oauth-client-id --token-file --debug --version --help.