github / github/copilot-cli

Ability for skill files to enable or declare additional MCP servers

未關閉
#3,292 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:mcp area:plugins
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

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

Progressive disclosure: ability for Skill files to enable or declare additional MCP servers

### Proposed solution

In complex, autonomous, agentic workflows it is hard to anticipate which tools or sets of tools may be required along the way. Users are forced to enable all tools and toolsets (MCP servers) at the beginning of the session in case they may be needed by the agent during operation. This pollutes the context with unnecessary tools and degrades model performance.

Allowing a skill file to enable an MCP server (or register a new one) on skill activation would allow agents to only discover new tools when the skill is activated, based on its frontmatter (and thus when the tools are actually needed).

### Example prompts or workflows

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

The issue names no files, tests, or entry points. Start by locating skill activation and MCP server configuration in the CLI, then trace how tools are discovered during a session. Done means a skill can enable or register an MCP server on activation, with its tools becoming available only when that skill is used.

由索引模型根據 Issue 內容生成。

評估

領域
cli, tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。