github / github/CopilotForXcode
MCP server name cannot have space
未关闭
- 主要语言
- Swift
- 星标
- 6.3k
- 派生
- 2k
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 2
描述
**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**
贡献指南
评估
这个 Issue 还没有评估数据。