github / github/copilot-cli

MCP Profiles

Abierto
#2,235 1 comentario 3 reacciones 0 asignados Ver en GitHub
area:mcp
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### Describe the feature or problem you'd like to solve

GitHub Copilot CLI currently uses a single MCP server configuration, which means all configured MCP servers are loaded and available at once. As users adopt more MCP servers (e.g., filesystem, Azure, WorkIQ, Microsoft Learn, Dataverse, internal MCPs), this becomes inefficient and noisy. In practice, users work in different modes—such as development versus productivity/research—and do not need the same MCP servers active in every situation.

### Proposed solution

Introduce MCP server profiles (or contexts) that allow users to define and switch between named sets of MCP servers (e.g., dev, productivity). Only the MCP servers associated with the active profile would be loaded and exposed to the agent.

This would benefit GitHub Copilot CLI users by:

- Improving agent accuracy by limiting tools to what’s relevant for the current task
- Reducing startup overhead and unnecessary permission prompts
- Supporting least‑privilege and safer defaults by avoiding unneeded capabilities
- Making Copilot CLI scale better as MCP usage grows
- Providing a clearer mental model for switching between coding and non‑coding workflows

### Example prompts or workflows

Startup Parameters:
- copilot --mcp-profile dev
- copilot --mcp-profile productivity

In session commands:
- /mcp profile list
- /mcp profile show
- /mcp profile use dev
- /mcp profile use productivity

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.