MCP enabled but no registry servers or tools discovered (no registry UI)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Bắt đầu trong Settings → Tools → MCP và kiểm tra cấu hình mcp.json cục bộ cùng đường dẫn làm mới MCP. Sử dụng thiết lập GitHub.com Copilot Business được tài liệu hóa với chế độ registry-only, sau đó so sánh các nhật ký làm mới hiển thị 0 máy chủ và 0 công cụ. Hoàn tất có nghĩa là các máy chủ và công cụ được cho phép của registry đã cấu hình được phát hiện trong giao diện MCP mà không có lỗi làm mới MCP.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Title
Copilot for Xcode: MCP enabled but always discovers 0 servers / 0 tools on GitHub.com (no registry UI)
Describe the bug
GitHub Copilot for Xcode shows MCP as enabled and triggers MCP refresh, but it never discovers any MCP servers or tools (Servers: 0, Total tools: 0). Our org has a private MCP registry configured in allow “registry-only” mode, with GitHub's MCP server in the allowlist. The same registry works on github.com browser Copilot chats and in other IDEs (VS Code, IntelliJ), but not in Copilot for Xcode.
In Settings → Tools → MCP:
- MCP is enabled
- “Available MCP Tools” is empty
- UI consistently reports “Servers: 0, Total tools: 0”
The only editable MCP configuration is a local mcp.json file (via “Edit Config”) containing a servers object. There is no UI to view/configure an MCP registry base URL for GitHub.com (non-GHES) accounts. Logs show refresh succeeds but results are always 0 servers / 0 tools, with no MCP errors.
Versions
- Copilot for Xcode: 0.46.0
- Xcode: 26.1.1 (17B100)
- macOS: 26.2 (Tahoe)
Steps to reproduce
- Install Copilot for Xcode 0.46.0
- Sign in with a GitHub.com Copilot Business account (non-GHES)
- Open Copilot for Xcode Settings → Tools → MCP
- Confirm MCP is enabled and “Available MCP Tools” is empty
- Click “Edit Config”; observe default
mcp.jsoncontains"servers": {} - Enable Verbose Logging
- Trigger an MCP refresh (activation or settings change)
- Observe logs: refresh succeeds but servers/tools remain 0
Screenshots
- Tools → MCP showing MCP enabled and “Available MCP Tools” empty (“Servers: 0, Total tools: 0”)
mcp.jsonopened via “Edit Config” showing"servers": {}
- Tools → Built-In showing built-in tools present (tools UI otherwise works)
Logs
Copilot policy updated: customAgent=true, mcp=true, subagent=true
Refreshing MCP server tools…
Refreshed MCP tools - Servers: 0, Total tools: 0, Server names: []
Additional context
- Occurs on GitHub.com Copilot Business (not GHES)
- No MCP-related errors/warnings during refresh; result is consistently 0 servers / 0 tools
- Logs also show an
Apple Events permission error on activation: ‘Not authorized to send Apple events to System Events.’ (NSAppleScriptErrorNumber=-1743).seems unrelated
- Ngôn ngữ chính
- Swift
- Star
- 6.3k
- Fork
- 2k
- Merge trung bình
- 3 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/CopilotForXcode
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
github/CopilotForXcode#181 · 2 reaction ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
github/CopilotForXcode#945 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#936 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#934 ·
Tất cả issue của github/CopilotForXcode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-swift#1036 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
wultra/mtoken-sdk-ios#253 ·
-
The correction-threshold rationale says 17 restraint cases collide; the current corpus has 16 Đang mởarea:dictation documentation P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
uttrflow/uttrflow-swift#1180 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100