github / github/copilot-cli

v1.0.81 broke compatibility with chroma-mcp

Đang mở
#4,647 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với đường dẫn kết nối MCP và bản tái hiện mcp-config.json được nêu trong issue, sau đó so sánh hành vi khởi tạo giữa GitHub Copilot CLI v1.0.80 và v1.0.81. Sử dụng lỗi handshake của native_connector đã được ghi lại và chroma-mcp@0.2.6 để xác minh sự không tương thích giao thức. Hoàn tất khi máy chủ kết nối thành công và các công cụ MCP của máy chủ khả dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
api, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.