github / github/copilot-cli

Enterprise accounts using github-mcp-server failed

Aperta
#3,248 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area:enterprise area:mcp
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.