Chuyển đến nội dung
Skillpedia
Trình kết nối (MCP)41k · #6542

mcp-discovery

Skill này làm gì

Skill này giúp AI tiếp cận một danh mục công khai các máy chủ công cụ có sẵn khi không có công cụ hiện tại nào làm được việc. Skill dành cho người cần AI dùng một khả năng mà nó chưa có.

Khi nào nên dùng

  • ✓Khi AI cần một khả năng mà các công cụ và mã cục bộ hiện có không cung cấp được.
  • ✓Khi một tác vụ cần một dịch vụ bên ngoài, cơ sở dữ liệu hoặc client giao thức mà phiên làm việc chưa có.
  • ✓Khi bạn sẽ phải tự cài gói hoặc viết client bằng tay.

Liên kết skill

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-discovery/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-discovery/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm một công cụ cục bộ có thể chuyển tệp video này sang định dạng khác, và khởi chạy nó cho tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI nêu tên khả năng còn thiếu, tìm trong registry công khai, xin phê duyệt, và chỉ cài đặt và khởi chạy máy chủ phù hợp nếu nó lấp được khoảng trống.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

mcp-discovery

The public MCP Registry ships hundreds of ready-made stdio servers (filesystems, databases, browsers, media processing, developer utilities, cloud APIs, SaaS integrations, …). This skill is how you reach one when the session is genuinely missing a capability.

It is a fallback, not a first step. Discovery costs a tool_search to load the deferred tools, a query, an approval, and an install — spend that only when it buys a capability you do not have.

When to use

  • An available tool, a project script or test, or a few lines of local code cannot do the job.
  • The task needs an external service, database, or protocol client that this session has no access to.
  • You would otherwise install a package or reimplement a well-known converter or client by hand.

When not to use

  • Ordinary work: writing and editing files, reading fixtures, running repo commands, and checking your own output. Do those directly.
  • A capability an already-loaded tool covers, even partially — try it first.
  • A near-miss row in a result list. A scored match is a suggestion; the missing capability is what decides.

Workflow

  1. Name the gap. State the capability you lack before searching. If you cannot name one, you do not need the Registry.
  2. Load and query. registry_sync and start_registry_mcp_server are deferred: load one with tool_search and use the returned schema. If a call only loads the schema without executing, retry once with that schema. Then call registry_sync {query: "<the missing capability>"}. It scores a host-side snapshot and returns at most eight matches; the full index never enters the conversation. Packages declaring any environment variable (including API keys/tokens) are excluded and never written to the cache.
  3. Judge the matches. Take a server when it covers the gap you named. If nothing does, refine the query once, then continue with local tools.
  4. Install + run transactionally. Call start_registry_mcp_server {registry_name: "<exact name>", arguments: {...}}. Supply only values listed in required_args; omit arguments when none are required. Never install or launch the package through the shell. Starting a server requires approval.
  5. Solve the task with the new tools. Their complete schemas are added to the current turn immediately after a successful connection; call the exact names returned by the start result.

If a server fails to start

start_registry_mcp_server reports when a package exits before the handshake (often CLI help output = incomplete launch args). Verify the exact required arguments, retry once with the corrected structured values, and if it still fails move on to the next candidate or to a local approach. Failed starts are rolled back, so retrying the same Registry name is safe.

Don't

  • Don't attempt to pass env vars or secrets; this flow has no env channel.
  • Don't reconstruct or edit the Registry-provided package command.
Câu hỏi thường gặp

Đây có phải là việc AI thử đầu tiên không?

Không. Skill gọi nó là phương án dự phòng, chỉ dùng khi công cụ hiện có, script hoặc mã cục bộ đơn giản không làm được việc.

Nó có dùng registry cho việc chỉnh sửa tệp thông thường không?

Không. Skill nói hãy tự làm việc chỉnh sửa tệp và lệnh kho mã một cách trực tiếp.

Nó có cần tôi phê duyệt không?

Có. Skill có bước phê duyệt trước khi bất kỳ máy chủ nào được cài đặt.

Chi tiết

Mô tả gốc của tác giả

Find and start a zero-environment local MCP server when the session lacks a capability that no available tool, project script, or ordinary local code can cover.

repo: codewhale-hq/Codewhale

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6542
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự