github / github/copilot-cli

Rendering all messed up when adding an mcp server using /mcp

未關閉
#4,014 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:mcp area:platform-windows area:terminal-rendering triaged
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

![Image](https://github.com/user-attachments/assets/17b25f7c-a540-423e-8a59-91bb1a2f7b76)

I'm trying to add an mcp server and the rendering is all messed up.

### Affected version

v1.0.69-0

### Steps to reproduce the behavior

run /mcp add and try to add the server. I tried to name it the same as the url of the remote mcp if that matters. I am on windows using vanilla cmd to launch the cli.

### Expected behavior

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue with the /mcp add command on Windows using vanilla cmd, as described, and compare the rendering when naming the server after the remote MCP URL. Inspect the CLI path handling /mcp add; done means the server can be added without the terminal rendering becoming corrupted.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。