github / github/CopilotForXcode

MCP server name cannot have space

Open
#378 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
2m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.