Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

/new fails to load STDIO MCP and requires /mcp reload

未關閉
#4,811 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
55/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
shell
領域
cli

研究方向

先在現有的 Copilot CLI 工作階段中使用 /new 重現故障,然後將其與 /mcp reload 比較,並檢查回報的 logs。追蹤工作階段重設前後的 STDIO MCP 連線生命週期;當 /new 能載入伺服器,且不會取消連線或要求手動 reload 時,即表示完成。

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

描述

triage
Describe the bug

I'm seeing an issue after upgrading to 1.0.8x. My custom STDIO MCP server is failing to load after a /new. It works fine when loading from Copilot CLI in a fresh session.

Affected version

GitHub Copilot CLI 1.0.83.

Steps to reproduce the behavior
  1. In an existing Copilot CLI session, type /new
  2. An error will surface:
Failed to connect to MCP server "<insert MCP name here>": MCP server "<insert MCP name here>" connection was cancelled. Execute '/mcp show <insert MCP name here>' to inspect or check the logs
  1. Trigger /mcp reload and it works
Expected behavior

/new should not fail to load servers due to a race.

Additional context

No response

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

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

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