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

Standardized capabilities

Đang mở
#168 5 bình luận 2 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
web-dev
Lĩnh vực
api

Hướng nghiên cứu

Start with the issue and the referenced get_weather explainer example, then locate where WebMCP tool definitions are specified in the Bikeshed source. The proposal needs a concrete capability-identifier syntax, compatibility rules, and whether aliases or mappings should be supported. Done means the specification clearly defines how an API declares a standardized capability and how consumers recognize it.

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

Mô tả

I know that one of the core promises of MCP (and WebMCP) is that the Magic Computer will work out how to decode the interface documentation to drive it. But that's inefficient and there will be common patterns that evolve. Sites request the same information over and over in ways that are 99% the same.

Can there be a way to annotate an API to say that it conforms to a known, standardized interaction pattern? Even if that pattern is a subset of the API (there might be proprietary additions to it), being able to say "I understand interaction pattern as standardized in X" would be of great value. If WebMCP is about efficiency, this would allow for even greater efficiency.

For example, a site might offer a simple interface switchLightDarkMode() that takes values from ["light", "dark", "detect"]. This could be standardized and given an identifier of some sort. The API could declare that it supports that identifier.

Take the "get_weather" example in the explainer. That's a generic capability provided by many sites. If they collectively decide to standardize, this could be spelled out as a new property on the tool definition. A minimal version would just say "this interface conforms to standard X".

A more sophisticated version would allow the support to be declared despite differences in spelling. If the standard uses "getWeather" rather than "get_weather", there could be rules for mapping from the standard to the true interface.

Tools within the browser might then be able to detect the identifier and activate, connecting to the capability that is exposed. No special parsing of the interface is then required if the "standardized" interface is understood. "Standards" could be the old-fashioned kind, where someone writes a specification. Or maybe they could be a reference to another MCP/tool interface, hopefully one that is widely understood.

Ngôn ngữ chính
Bikeshed
Star
4.7k
Fork
328
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
16

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 webmachinelearning/webmcp

Tất cả issue của webmachinelearning/webmcp

Issue tương tự

Thêm issue về Backend & API Design

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.