github / github/github-mcp-server

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

Aberta
#1,383 5 comentários 3 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Go
Estrelas
33k
Forks
5k
Merge médio
2d 1h
PRs com merge (30d)
52

Descrição

### 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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.