Rich server configuration experience

Đang mở
#1,857 1 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ó
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
30/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ệ
typescript
Lĩnh vực
full-stack

Hướng nghiên cứu

Bắt đầu bằng việc xem xét MCP Registry API, luồng discovery của ServerCard/.well-known và trải nghiệm catalog cũng như thêm server hiện có của Inspector. So sánh implementation mcp-registry được đóng góp để tìm các entry point liên quan. Công việc được xem là hoàn tất khi registry hoặc ServerCard discovery có thể cung cấp metadata và configuration phong phú, kèm theo một tham chiếu catalog bền vững và hành vi configuration có thể chỉnh sửa.

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

Mô tả

enhancement v2

We should allow a user to find a server via an MCP registry (any registry mirror implementing the official MCP Registry API) or by using a URL that can be used to locate a ServerCard.

Note: The shapes of the MCP Registry server.json and the ServerCard are very similar, and may be converging to a single schema/shape (the ServerCard WG is still finalizing that shape, and the Registry WG will coordinate). We will refer to this generally as the "Server Definition".

Using the Server Definition, we can render rich server information (using metadata like title, icon, etc) as well as custom configuration UX. We would build a form for server configuration not unlike how we use JSON schema to drive dynamic UX for tool input.

We would presumably need to store a reference to the Server Definition (a URL that either points to the registry entry or the ServerCard) in our catalog so that we can access the server metadata for display, and so that if the user goes to edit the server configuration we can use the server definition to regenerate the config UX (like we did on initial install/configuration).

For servers installed from a registry or ServerCard this will provide a much richer experience (branded MCP server UX and custom config UX that will guide configuration and ensure validity).

In terms of discovery:

For the registry case, the user would configure a registry URL and we would provide a registry browser/search experience, where they could pick a server and add/configure it. Here is repo that implements this functionality (happy to donate anything from there that is useful): https://github.com/TeamSparkAI/mcp-registry

For the ServerCard case, when the user adds a new server by URL, we will attempt to locate a ServerCard at that location (via .well-known semantics), and if found, switch to the rich server add mode.

Issues:

It may or may not make sense to store the server.json/ServerCard in the Inspector catalog instead of just storing a reference to it if we are worried about performance (tracking down the remote JSON every time we need the icon/title, for example), or if we are worried about the reachability/durability of the remote JSON blob.

Ngôn ngữ chính
TypeScript
Star
11.3k
Fork
1.6k
Merge trung bình
2 giờ 28 phút
Pull request đã merge (30 ngày)
111

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

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 modelcontextprotocol/inspector

Tất cả issue của modelcontextprotocol/inspector

Issue tương tự

Thêm issue về TypeScript

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.