copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

/mcp add form jumps when typing in Server Name field

Open DanWahlin opened this issue 1 month ago • 0 comments

Describe the bug

When running /mcp add the terminal form shown jumps down in cases where the terminal window height isn't large and the Server Name field isn't visible. That means people won't notice the Server Name field and won't be able to save unless they know to scroll up. Also, as you type in the Server Name field, the screen will jump down on every keystroke so you have to keep scrolling up to check the name.

Here's an example of the form that shows after running /mcp add. Notice that the Server Name field isn't in view.

Image

Video of the behavior:

https://github.com/user-attachments/assets/7c2a14c5-7a4c-4f32-9bca-8288d5a70554

Additional Details:

Visual Studio Code: 1.106.3 MacOS: Tahoe 26.1 Copilot CLI: 0.0.365

Affected version

0.0.365 Commit: 76d0881

Steps to reproduce the behavior

  1. Type /mcp add
  2. If your terminal window height isn't large enough, the Server Name field will be off the screen.
  3. Scroll up to the Server Name field
  4. Type a few characters and it will jump down so you can't see what you're typing (unless you scroll back up after every keystroke)

See the video above for the behavior I'm seeing.

Expected behavior

When /mcp add is run the screen it should show the top of the form regardless of the window height. As you type in the server name, it shouldn't jump down to the other fields.

Additional context

No response

DanWahlin avatar Dec 01 '25 20:12 DanWahlin