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_

贡献指南

打开贡献指南

调研方向

首先按照描述,在 Windows 上使用 vanilla cmd 复现 /mcp add 命令的问题,并比较将 server 按远程 MCP URL 命名时的显示效果。检查 /mcp add 的 CLI 路径处理;当可以添加 server 且不会导致终端显示损坏时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。