github / github/github-mcp-server

The doc should provide a minimum list of permissions for the GitHub Access Token

Đang mở
#2,963 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement request ai review
Ngôn ngữ chính
Go
Star
33k
Fork
5k
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
52

Mô tả

### Describe the feature or problem you’d like to solve

A clear and concise description of what the feature or problem is.

- The doc should provide a minimum list of permissions for the GitHub Access Token.
- The current documentation at https://github.com/github/github-mcp-server/blob/v1.7.0/docs/installation-guides/README.md mentions this,

> All installations with Personal Access Tokens (PAT) require: GitHub Personal Access Token (PAT): Create one here
>
> Regardless of which installation method you choose, follow these security guidelines:
>
> Limit Token Scope: Only grant necessary permissions to your GitHub PAT

- However, the list of permissions for `personal access token (classic)` is too long. I think the documentation needs to provide a minimum list of required permissions. See https://github.com/settings/tokens/new .
- Image
- Furthermore, the URL provided in the documentation is for creating the `personal access token (classic)`. I think the documentation should guide users to use the `fine-grained personal access token`, which only allows access to repositories within a specific scope, while the `personal access token (classic)` allows access to all unrelated repositories.
- Image

### Proposed solution

How will it benefit GitHub MCP Server and its users?

- This would obviously reduce the cognitive load.

### Example prompts or workflows (for tools/toolsets only)

If it's a new tool or improvement, share 3–5 example prompts or workflows it would enable. Just enough detail to show the value. Clear, valuable use cases are more likely to get approved.

- Null.

### Additional context

Add any other context like screenshots or mockups are helpful, if applicable.

- Null.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with docs/installation-guides/README.md and review the linked GitHub token creation pages to verify which permissions the server documentation currently assumes. Update the guidance to identify the minimum required permissions and direct users to the appropriate token flow; done means the setup instructions are specific and the least-privilege recommendation is clear.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github
Lĩnh vực
authentication, documentation, security
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
57/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.