github / github/CopilotForXcode

MCP server name cannot have space

Offen
#378 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
6.3k
Forks
2k
Ø Merge
2 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.