github / github/app

Non-whitelisted MCP's keep connecting instead of showing error

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

描述

### Short summary

Non-whitelisted MCP's keep connecting (showing spinner) instead of showing error

### Affected version or release

v1.0.23

### Installation context

_No response_

### What happened?

On an ghe.com with 'Restrict MCP access to registry servers' set to registry only when trying to use an non-whitelisted MCP server it keeps spinning/connecting instead of showing an error

### Steps to reproduce

1. Have 'Restrict MCP access to registry servers' set to registry only
2. Add non-whitelisted MCP server
3. MCP server keeps connecting/spinning

### Expected behavior

1. Have 'Restrict MCP access to registry servers' set to registry only
2. Add non-whitelisted MCP server
3. MCP server shows error / whitelisting error

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先,在 ghe.com 上将“Restrict MCP access to registry servers”设置为“registry only”,重现该问题,然后添加一个不在白名单中的 MCP 服务器并观察连接状态。跟踪负责 MCP 连接失败的代码,并验证服务器停止转圈且显示白名单错误。

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

评估

技术栈
github
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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