Lets agents browse GitHub repositories, list directories and read file contents.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add github-repo -- npx -y github-repo-mcp~/.codex/config.toml
[mcp_servers.github-repo]
command = "npx"
args = ["-y", "github-repo-mcp"]
# codex mcp add github-repo -- npx -y github-repo-mcp~/.cursor/mcp.json
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": [
"-y",
"github-repo-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"github-repo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"github-repo-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": [
"-y",
"github-repo-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": [
"-y",
"github-repo-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"github-repo": {
"command": "npx",
"args": [
"-y",
"github-repo-mcp"
]
}
}
}