github / github/copilot-cli

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

Open
#4,014 1 comment 0 reactions 0 assignees View on GitHub
area:mcp area:platform-windows area:terminal-rendering triaged
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.