Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

No warning when the MCP package and the Desktop Tools app are different versions

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
json, macos, swift

Hướng nghiên cứu

The report points to the MCP connection flow, the app’s CFBundleShortVersionString, and the README; it does not name source files or tests. Start by tracing where the MCP server connects to the Desktop Tools app and reads app metadata. Done means version mismatches are surfaced to users and the README explains that updating the npx pin does not update the .app.

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

Mô tả

What happened

Updating the pinned MCP package in ~/.claude.json:

"args": ["-y", "--package=github:githubnext/desktop-tools#v0.16.1",
         "desktop-tools-mcp"]

…updates only half of the install. /Applications/Desktop Tools.app stayed at
0.14.0, and the socket symlink points into that app bundle:

~/.local/state/desktop-tools/desktop-client -> /Applications/Desktop Tools.app/Contents/MacOS/desktop-tools-client

The MCP server started fine and handshook as desktop-tools 0.16.1, so there
was no indication anything was wrong until the first tool call:

HOST_NOT_SERVING: Desktop Tools isn't serving
~/.local/state/desktop-tools/desktop.sock, so nothing ran.

That message is accurate for "app not running", but it was also the only
symptom of "MCP updated, app did not". Installing the 0.16.1 DMG and launching
it fixed both.

Suggestions
  • On connect, compare the MCP package version with the app's
    CFBundleShortVersionString and surface a mismatch (warn, or include both
    versions in HOST_NOT_SERVING).
  • Consider mentioning in the README that updating the npx pin does not update
    the .app, since the app is what holds the macOS permissions.
Environment

MCP 0.16.1 via npx, app 0.14.0 then 0.16.1, macOS 27

Ngôn ngữ chính
Swift
Star
0
Fork
0
Merge trung bình
39 phút
Pull request đã merge (30 ngày)
144

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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.

Issue khác của githubnext/desktop-tools

Tất cả issue của githubnext/desktop-tools

Issue tương tự

Thêm issue về Swift

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.