github / github/CopilotForXcode

MCP server name cannot have space

Aberta
#378 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Swift
Estrelas
6.3k
Forks
2k
Merge médio
2min
PRs com merge (30d)
2

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.