本文へスキップ
Skillpedia
コネクタ(MCP)41k · #6542

mcp-discovery

できること

このスキルは、現在のツールでは作業ができないときに、AIが準備済みのツールサーバーの公開カタログにアクセスするのを助けます。セッションにないAIの機能が必要な人向けです。

使う場面

  • ✓現在のツールとローカルのコードでは提供できない機能が、AIに必要なとき。
  • ✓作業に、セッションにない外部のサービス、データベース、プロトコルのクライアントが必要なとき。
  • ✓パッケージをインストールするか、クライアントを手で書くことになるとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-discovery/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この動画ファイルを別の形式に変換できるローカルのツールを探して、起動してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは不足している機能を明らかにし、公開レジストリを検索し、承認を求め、そのギャップを埋める場合にだけ、一致するサーバーをインストールして起動します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.
よくある質問

これは最初に試すことですか?

いいえ。スキルは、既存のツール、スクリプト、簡単なローカルのコードでは作業できない場合の予備として使うと定めています。

通常のファイル作業にもレジストリを使いますか?

いいえ。スキルは、通常のファイル編集やリポジトリのコマンドは直接行うよう定めています。

承認は必要ですか?

はい。サーバーをインストールする前に承認の手順があります。

詳細

作者による元の説明

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

人気

GitHubのスター
41k
ランキング
#6542
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル