github / github/github-mcp-server

When using the 'Get Copilot Space' tool, files are found but content cannot be read

Open
#1,361 5 comments 5 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
33k
Forks
5k
Avg merge
2d 1h
Merged PRs (30d)
52

Description

### Describe the bug

When the 'Get Copilot Space' mcp tool is called by the agent in vscode it gets the space, and puts the files in the context, but cannot read the content of the files

### Affected version

0.13.0 (version in marketplace)

### Steps to reproduce the behavior

Create a space for an organization. add files from a Github repository. Go to VSCode, use agent mode for copilot chat. Try to get information from a space, make it use the 'Get Copilot Space' tool. Note the files are found through the 'Get Copilot Space' tool. The agent responds with 'cannot read the content'. So it cannot read the content of the files that were found.

### Expected vs actual behavior

I expect when the MCP tool is used, and the files are found, it can also read the content of the files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.