MCP enabled but no registry servers or tools discovered (no registry UI)
還沒有人認領這個 Issue。
評估
研究方向
從 Settings → Tools → MCP 開始,檢查本機的 mcp.json 設定和 MCP 重新整理路徑。使用文件中說明的 GitHub.com Copilot Business 設定搭配 registry-only 模式,然後比較顯示 0 個伺服器和 0 個工具的重新整理記錄。設定之註冊表中允許的伺服器和工具能在 MCP UI 中被探索到,且沒有 MCP 重新整理錯誤,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Swift
- 星號
- 6.3k
- 分支
- 2k
- 平均合併
- 3 天 21 小時
- 30 天內合併 PR
- 2
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/CopilotForXcode 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
github/CopilotForXcode#181 · 2 個 reaction ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files 未關閉
難度 3/5 1-2 天 新手友好度 68/100
github/CopilotForXcode#945 ·
-
難度 2/5 1-3 小時 新手友好度 35/100
github/CopilotForXcode#943 ·
-
難度 5/5 一週以上 新手友好度 10/100
github/CopilotForXcode#936 · 2 則留言 ·
-
難度 5/5 一週以上 新手友好度 10/100
github/CopilotForXcode#934 ·
查看 github/CopilotForXcode 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
難度 2/5 1-3 小時 新手友好度 82/100
googleapis/google-cloud-swift#1036 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 78/100
wultra/mtoken-sdk-ios#253 ·
-
area:dictation documentation P2
難度 2/5 1-3 小時 新手友好度 78/100
uttrflow/uttrflow-swift#1180 ·
-
難度 2/5 1-3 小時 新手友好度 78/100