MCP server 'blocked by policy'
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
使用 ~/.copilot 中的 mcp-config.json 或 /mcp add 入口點重現該阻擋,然後檢查處理程序記錄以尋找登錄檔身分不相符。正確設定的本機 MCP 伺服器獲得接受,而不是被回報為遭政策封鎖,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, security
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 38/100