github / github/copilot-cli

Enterprise accounts using github-mcp-server failed

Abierto
#3,248 1 comentario 0 reacciones 0 asignados Ver en GitHub
area:enterprise area:mcp
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproduce la búsqueda mostrada de docs/auth/index.md mientras tienes iniciada la sesión en una cuenta enterprise, usando github-mcp-server. Traza cómo se selecciona la URL de enterprise y cómo las búsquedas en repositorios externos recurren a la ruta estándar de GitHub. Se considera completado cuando la búsqueda ya no falla en la URL de enterprise y utiliza el comportamiento de MCP o de fetch estándar previsto.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, shell
Área
api, cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.