github / github/copilot-cli

v1.0.81 broke compatibility with chroma-mcp

未关闭
#4,647 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

The update from GitHub Copilot CLI v1.0.80 to v1.0.81 broke compatibility with https://github.com/chroma-core/chroma-mcp

Affected version

GitHub Copilot CLI 1.0.81

Steps to reproduce the behavior

Use an mcp-config.json as follows:

{
  "mcpServers": {
    "io.github.chroma-core/chroma-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--index-url",
        "https://pypi.org/simple",
        "--with",
        "ollama",
        "chroma-mcp@0.2.6"
      ],
      "env": {
        "CHROMA_DATA_DIR": "C:\\Users\\REDACTED\\chroma-embeddings",
        "CHROMA_CLIENT_TYPE": "persistent"
      },
      "tools": [
        "*"
      ]
    }
  }
}

Observe the following warning in the log. The MCP server will not work.

2026-08-28T06:30:35.641Z [WARNING] [rust:copilot_runtime::mcp::native_connector] MCP server connection failed {"server_name":"io.github.chroma-core/chroma-mcp","raw_error":"MCP server process exited before completing the MCP initialize handshake (exit code 1) (underlying transport failure: failed to initialize MCP client: connection closed: initialize response)","stderr_detail":"      | CallToolRequest.method\n      |   Input should be 'tools/call' [type=literal_error, input_value='server/discover', input_type=str]\n      |     For further information visit https://errors.pydantic.dev/2.13/v/literal_error\n      | CallToolRequest.params.name\n      |   Field required [type=missing, input_value={'_meta': {'io.modelconte...form': {}, 'url': {}}}}}, input_type=dict]\n      |     For further information visit https://errors.pydantic.dev/2.13/v/missing\n      | ListToolsRequest.method\n      |   Input should be 'tools/list' [type=literal_error, input_value='server/discover', input_type=str]\n      |     For further information visit https://errors.pydantic.dev/2.13/v/literal_error\n      +------------------------------------"}
Expected behavior

The chroma-mcp server should connect and MCP tools should be available.

Additional context

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中展示的 MCP 连接路径和 mcp-config.json 复现开始,然后比较 GitHub Copilot CLI v1.0.80 与 v1.0.81 之间的初始化行为。使用记录的 native_connector 握手失败和 chroma-mcp@0.2.6 来验证协议不匹配。服务器成功连接且其 MCP 工具可用,即表示完成。

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

评估

领域
api, cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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