docs: Add `go install` as a first-class installation method
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 90/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- go
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu trong phần cài đặt của README, nơi hiện đang mô tả Docker và việc xây dựng từ mã nguồn. Thêm lệnh go install được cung cấp và cấu hình MCP client cục bộ như một phương thức chính thức; được xem là hoàn thành khi người đọc có thể cài đặt binary mà không cần clone hoặc sử dụng Docker, đồng thời cấu hình binary để chạy với stdio.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!Note]
Responses generated with Claude
Problem
The README currently documents Docker/container as the primary installation method, with "Build from source" (go build) as a fallback framed as "If you don't have Docker." There's no mention of go install, which is the standard one-liner for installing Go binaries.
Proposed change
Add go install alongside the container option as a first-class installation method:
go install github.com/github/github-mcp-server/cmd/github-mcp-server@latest
Then configure the MCP client to use the local binary:
{
"mcpServers": {
"github": {
"command": "github-mcp-server",
"args": ["stdio"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
}
}
}
Why
- One command, no clone needed —
go installfetches, builds, and places the binary in$GOPATH/binin one step - Faster startup — no container overhead on each MCP server launch
- No Docker/Podman dependency — many developers have Go installed but not a container runtime
- Lower resource usage — containerized MCP servers consume memory even when idle, limiting the number of IDEs or agent terminals that can run concurrently. A native binary uses no resources when not actively handling a request.
- Safe — the binary only makes outbound HTTP calls to the GitHub API via stdio; container isolation adds no meaningful security benefit here
- Standard Go practice —
go installis the idiomatic way to distribute Go CLI tools
Verified
Tested on macOS (darwin/arm64):
$ go install github.com/github/github-mcp-server/cmd/github-mcp-server@latest
go: downloading github.com/github/github-mcp-server v1.0.1
$ github-mcp-server --version
GitHub MCP Server - Version: version
- Ngôn ngữ chính
- Go
- Star
- 33.1k
- Fork
- 5k
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 25
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/github-mcp-server
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/github-mcp-server#3235 ·
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/github-mcp-server#3042 · 2 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/github-mcp-server#3032 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/github-mcp-server#2803 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/github-mcp-server#2740 ·
Tất cả issue của github/github-mcp-server
Issue tương tự
-
textual definition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
geneontology/go-ontology#32653 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
needs design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100