MCP server 'blocked by policy'
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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 のエントリーポイントを使ってブロックを再現し、その後、プロセスログを調べてレジストリ ID の不一致を確認します。正しく構成されたローカル MCP サーバーが、ポリシーによってブロックされたと報告されるのではなく受け入れられれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, security
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 38/100