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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
- Name the gap. State the capability you lack before searching. If you cannot name one, you do not need the Registry.
- Load and query.
registry_syncandstart_registry_mcp_serverare deferred: load one withtool_searchand use the returned schema. If a call only loads the schema without executing, retry once with that schema. Then callregistry_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. - 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.
- Install + run transactionally. Call
start_registry_mcp_server {registry_name: "<exact name>", arguments: {...}}. Supply only values listed inrequired_args; omitargumentswhen none are required. Never install or launch the package through the shell. Starting a server requires approval. - 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
コメント
- …
このリポジトリの他のスキル
best-of-n
41k難しい問題に対して、独立した複数の答えを出し、同じ評価基準で採点し、チェックに合格したものだけを適用するのを、エージェントが助けます。
dataviz
41kデータに適したチャートやダッシュボードを選ぶのを、エージェントが助けます。ラベル、出典の注記、軸と欠損値の確認を含みます。
debug
41k問題を再現し、範囲を絞り込み、承認を得たときだけ修正することで、バグの本当の原因を見つけるのを、エージェントが助けます。推測はしません。
delegate
41k大きな作業を、同時に動く焦点の絞られた補助に分けつつ、計画、統合、最終確認を自分の手元に残す方法を教えます。
似ているスキル
mcporter
394kHTTPまたはstdioでMCPサーバーとそのツールを一覧表示、呼び出し、確認し、サインイン設定を管理するようエージェントを支援します。
fastmcp
260kPythonで、AIアシスタントがAPI、データベース、ファイルをツールとして利用できるMCPサーバーを作成、テスト、デプロイするのを支援します。
mcp-oauth-remote-gateway
260kHermesがサーバー上で動いている場合に、リモートのMCPサーバーのOAuthサインインを手動で完了させ、トークンを保存します。