github / github/github-mcp-server

Unable to read the contents of a file, but can write and edit when used in ChatGPT.

Đang mở
#1,383 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
bug
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 bug

After configuring and successfully connecting the `github-mcp-server` to my ChatGPT account, I can:

- List my repositories
- List files within a repository
- Create new files
- Modify existing files

However, I **cannot retrieve the contents of an existing file**. Any attempt to get a file’s contents from the MCP only returns some metadata without the actual text content, though other GitHub operations work as expected:

```
{"text":"successfully downloaded text file (SHA: 7dab38d7c52ab273abe930b4619dc1e1dc1118c4)"}
```

### Affected version
- latest.

Image

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

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

Đánh giá

Issue này chưa được đánh giá.

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.