MCP server 'blocked by policy'
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện việc bị chặn bằng cách sử dụng mcp-config.json trong ~/.copilot hoặc điểm vào /mcp add, sau đó kiểm tra nhật ký tiến trình để tìm lỗi không khớp danh tính registry. Hoàn tất khi một máy chủ MCP cục bộ được cấu hình đúng được chấp nhận thay vì bị báo cáo là bị chính sách chặn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- cli, security
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 38/100