github / github/CopilotForXcode

MCP server name cannot have space

Đang mở
#378 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Swift
Star
6.3k
Fork
2k
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.