github / github/github-mcp-server

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

未关闭
#1,361 5 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
33k
派生
5k
平均合并
2 天 1 小时
30 天内合并 PR
52

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。