Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

MCP enabled but no registry servers or tools discovered (no registry UI)

Aperta
#673 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
github, swift
Ambito
ai, tooling

Direzione di ricerca

Inizia da Settings → Tools → MCP e ispeziona la configurazione locale di mcp.json e il percorso di aggiornamento di MCP. Usa la configurazione documentata di GitHub.com Copilot Business con la modalità registry-only, quindi confronta i log di aggiornamento che mostrano 0 server e 0 strumenti. Il lavoro è completato quando i server e gli strumenti consentiti del registry configurato vengono rilevati nell’interfaccia utente di MCP senza errori di aggiornamento di MCP.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

reviewed

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

  1. Install Copilot for Xcode 0.46.0
  2. Sign in with a GitHub.com Copilot Business account (non-GHES)
  3. Open Copilot for Xcode Settings → Tools → MCP
  4. Confirm MCP is enabled and “Available MCP Tools” is empty
  5. Click “Edit Config”; observe default mcp.json contains "servers": {}
  6. Enable Verbose Logging
  7. Trigger an MCP refresh (activation or settings change)
  8. 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”)
Image
  • mcp.json opened via “Edit Config” showing "servers": {}
Image
  • Tools → Built-In showing built-in tools present (tools UI otherwise works)
Image

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
Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
3g 21h
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/CopilotForXcode

Tutte le issue di github/CopilotForXcode

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.