MCP server 'blocked by policy'
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduire le blocage à l’aide de mcp-config.json dans ~/.copilot ou du point d’entrée /mcp add, puis examiner le journal du processus à la recherche d’une incohérence d’identité du registre. C’est terminé lorsqu’un serveur MCP local correctement configuré est accepté au lieu d’être signalé comme bloqué par une stratégie.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- cli, security
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- À clarifier
- Accessibilité débutants
- 38/100