Enterprise accounts using github-mcp-server failed
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
Reproduce the shown docs/auth/index.md lookup while signed in to an enterprise account, using github-mcp-server. Trace how the enterprise URL is selected and how external repository lookups fall back to the standard GitHub path. Done means the lookup no longer fails at the enterprise URL and uses the intended MCP or standard fetch behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github, shell
- Lĩnh vực
- api, cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100