Enterprise accounts using github-mcp-server failed
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
When signed in to an enterprise account, tool calls using `github-mcp-server` uses the enterprise URL and fails for external lookups, but doenst look like it falls back to standard github url and just uses a standard web fetch instead of the MCP server
```
✗ Get file or directory contents (MCP: github-mcp-server) · docs/auth/index.md · owner: "github", repo: "copilot-sdk", path: "docs/auth/index.md"
└ MCP server 'github-mcp-server': failed to resolve git reference: failed to get repository info: GET https://api.ictcardiffcouncil.ghe.com/repos/github/copilot-sdk: 404 Not Found []
● Fetching web content https://raw.githubusercontent.com/github/copilot-sdk/main/docs/auth/index.md · max_length: 10000, raw: true, url: "https://raw.githubusercontent.com/github/copilot-…
└ Here is the raw content:
```
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
貢獻指南
研究方向
在登入 enterprise 帳戶的情況下,使用 github-mcp-server 重現所示的 docs/auth/index.md 查找。追蹤 enterprise URL 的選取方式,以及外部儲存庫查找如何回退至標準 GitHub 路徑。完成的標準是:查找不再於 enterprise URL 失敗,並使用預期的 MCP 或標準 fetch 行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github, shell
- 領域
- api, cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100