When using the 'Get Copilot Space' tool, files are found but content cannot be read
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.
Hi 👋 I couldn't reproduce this problem. Could you attach some screenshots and also json config of GitHub MCP in VS Code?
Here is a screenshot of the issue.
and here is my json config:
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"X-MCP-Toolsets": "copilot,copilot_spaces",
"X-MCP-Readonly": "true"
},
"type": "http"
}