github / github/copilot-cli

Feature request: toggle MCP directly in /mcp show list (Space key)

Aperta
#1,640 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
area:mcp
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

## Summary
Please add a direct toggle interaction in `/mcp show` so users can enable/disable a listed MCP server without typing its name.

## Current pain point
Today, users typically need commands like `/mcp disable ` or `/mcp enable `, which is slow when toggling frequently.

## Proposed behavior
- In `/mcp show`, display MCP servers as a selectable list with enabled/disabled state.
- Allow keyboard navigation (↑/↓).
- Press `Space` to toggle the selected MCP (on/off) immediately.
- Optional: `Enter` to confirm/save and `Esc` to cancel.

## Why this matters
- Faster MCP workflow with fewer keystrokes
- Better UX for users with multiple servers
- More discoverable and ergonomic than name-based commands

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.