github / github/copilot-cli

MCP server 'blocked by policy'

Đang mở
#3,934 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:enterprise area:mcp
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

Mở 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.