github / github/copilot-cli

Enterprise accounts using github-mcp-server failed

オープン
#3,248 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:enterprise area:mcp
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。