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

Expose source server and annotations for client tools

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

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ệ
r
Lĩnh vực
api, tooling

Hướng nghiên cứu

Bắt đầu với mcp_tools(), các bộ mô tả kết nối và phần chuyển đổi ellmer được mô tả trong issue, sau đó xem xét phần triển khai giao diện client trong #109. Giao diện công khai phải giữ nguyên danh tính của máy chủ nguồn và các chú thích MCP, liên kết chúng với kết nối hiện tại, đồng thời hỗ trợ từ chối các tool đã lỗi thời sau khi kết nối lại mà không mở thêm một kết nối khác.

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

Mô tả

I’m using mcp_tools() with Deputy and would like to inspect the source server and MCP annotations alongside each returned ellmer tool.

Deputy checks tools before running them. For an MCP tool, I’d like to show which configured server supplied it and use hints such as readOnlyHint and destructiveHint as inputs to that check. The host still decides what to allow; discovery and server-provided hints don’t grant permission.

In mcptools 1.0.2, the connection has the descriptors, but the ellmer conversion drops the annotations and server identity. I currently have a small version-checked adapter that reads those existing descriptors without opening another connection.

The connection association matters too. If a server is reconnected under the same name, I need to avoid checking an old tool’s annotations and then invoking its replacement. Deputy currently rejects that stale handle and asks the host to reload the tools.

Would exposing this information fit the client interface work in #109? I’d like to reuse mcptools’ discovery, conversion and connections, and remove the adapter once a public interface is available.

I’m tracking the Deputy integration in JamesHWade/deputy#99.

Ngôn ngữ chính
R
Star
203
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 posit-dev/mcptools

Tất cả issue của posit-dev/mcptools

Issue tương tự

Thêm issue về R

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.