github / github/CopilotForXcode

MCP server name cannot have space

Aperta
#378 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
2m
PR unite (30g)
2

Descrizione

**Describe the bug**
GitHub Copilot client composes invalid tool names from MCP servers whose name contains space

**Versions**
- Copilot for Xcode: 0.38.0
- Xcode: 16.2
- macOS: 14.7.6

**Steps to reproduce**
1. Configure a mcp server with the name having space in it, for example "Azure MCP Server".
2. Submit "Hi" and look at the log.

**Screenshots**

**Logs**
This in the log indicates that GitHub Copilot MCP client composed a tool name that is not valid.

```
"type": "function",
"function": {
"name": "Azure MCP Server_azmcp_aks_cluster_list",
```

**Additional context**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.