Works with GitHub repositories through a personal access token, with 80+ tools calling the GitHub API directly and no Docker.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add github-repos-manager --env GH_TOKEN='<GH_TOKEN>' -- npx -y github-repos-manager-mcp~/.codex/config.toml
[mcp_servers.github-repos-manager]
command = "npx"
args = ["-y", "github-repos-manager-mcp"]
env = { GH_TOKEN = "<GH_TOKEN>" }
# codex mcp add github-repos-manager --env GH_TOKEN='<GH_TOKEN>' -- npx -y github-repos-manager-mcp~/.cursor/mcp.json
{
"mcpServers": {
"github-repos-manager": {
"command": "npx",
"args": [
"-y",
"github-repos-manager-mcp"
],
"env": {
"GH_TOKEN": "<GH_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"github-repos-manager": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"github-repos-manager-mcp"
],
"env": {
"GH_TOKEN": "<GH_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"github-repos-manager": {
"command": "npx",
"args": [
"-y",
"github-repos-manager-mcp"
],
"env": {
"GH_TOKEN": "<GH_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"github-repos-manager": {
"command": "npx",
"args": [
"-y",
"github-repos-manager-mcp"
],
"env": {
"GH_TOKEN": "<GH_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"github-repos-manager": {
"command": "npx",
"args": [
"-y",
"github-repos-manager-mcp"
],
"env": {
"GH_TOKEN": "<GH_TOKEN>"
}
}
}
}需要的环境变量
GH_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。