github / github/copilot-cli

MCP server 'blocked by policy'

Abierto
#3,934 2 comentarios 1 reacción 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

We have a custom MCP registry which is checked when local MCP servers are configured. Although the local MCP configuration is correct and works just fine within VSCode and IntelliJ plugin, an error message 'MCP server is blocked by policy' is shown.

It is unclear what causes this. The process log mentions the following:
```
2026-06-25T11:40:36.761Z [ERROR] MCP server "io.github.sooperset/mcp-atlassian" filtered: Server "io.github.sooperset/mcp-atlassian" found in registry but local configuration does not match the registered server identity
```

### Affected version

GitHub Copilot CLI 1.0.65

### Steps to reproduce the behavior

1. Configure an MCP server in the mcp-config.json in the ~/.copilot directory or just install it from within the Copilot CLI with `/mcp add`
2. The MCP server is blocked

### 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 el bloqueo usando mcp-config.json en ~/.copilot o el punto de entrada /mcp add; después, inspecciona el registro del proceso para detectar la discrepancia de identidad del registro. Se considera terminado cuando se acepta un servidor MCP local configurado correctamente en lugar de informarlo como bloqueado por una política.

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

Evaluación

Área
cli, security
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.