github / github/app

MCP Selection per Session

未关闭
#2,578 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Feature summary

User should be able to select which MCPs to be in the context for a session

### What problem are you trying to solve?

I have many MCPs that can be heavily token consuming (i.e. azure related ones or incident investigation related ones). I do need these MCPs only for a fraction of my sessions. To not mitting max context size, I prefer to keep these off and only turn them on when I need them.

What is currently supported is having MCPs for specific repos only. What I am asking is to have it defined per-session not per-repo.

### Proposed solution

Show a pop-up selection box to the user in the beginning to select which MCPs they want to have.

### Workflow impact

This improves context management and makes users happier with less chance of hitting max context size.

### Installation context

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

未指定文件或测试。首先跟踪当前如何按 repository 配置 MCP,以及如何创建 session;然后定义 session 级别的选择流程,并验证只有选定的 MCP 会被包含在 session 上下文中。

由索引模型根据 Issue 内容生成。

评估

领域
ai, desktop
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。