mcp-discovery
What it does
This skill helps the AI reach a public catalog of ready-made tool servers when none of its current tools can do a job. It is for people who need an AI to use a capability it does not already have.
When to use it
- ✓When the AI needs a capability that its current tools and local code cannot provide.
- ✓When a task needs an outside service, database, or protocol client the session lacks.
- ✓When you would otherwise have to install a package or write a client by hand.
Skill link
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/mcp-discovery/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find a local tool that can convert this video file to a different format, and start it for me.”
5 new skills a week. 1 minute to read.
How it works
The AI names the missing capability, searches the public registry, requests approval, and installs and starts the matching server only if it closes the gap.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Is this the first thing the AI tries?
No. The skill calls it a fallback, used only when existing tools, scripts, or simple local code cannot do the job.
Does it use the registry for ordinary file work?
No. The skill says to do ordinary file editing and repo commands directly.
Does it need my approval?
Yes. The skill includes an approval step before a server is installed.
Details
Original description by the author
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
Popularity
- GitHub stars
- 41k
- Ranking position
- #6542
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
best-of-n
41kHelps your agent produce several independent answers to a hard problem, judge them against one rubric, and apply only the one that passes checks.
dataviz
41kHelps your agent choose a suitable chart or dashboard for your data, with clear labels, source notes, and checks on axes and missing values.
debug
41kHelps your agent find the real cause of a bug by reproducing it, narrowing it down, and fixing only when you approve, instead of guessing.
delegate
41kTeaches your agent to split a large task into focused parallel helpers, while keeping planning, integration, and the final check in its own hands.
Similar skills
mcporter
394kHelps your agent list, call, and inspect MCP servers and their tools over HTTP or stdio, and manage their sign-in settings.
fastmcp
260kHelps you build, test, and deploy a Python MCP server that gives AI assistants access to your API, database, or files as tools.
mcp-oauth-remote-gateway
260kWalks you through OAuth sign-in for a remote MCP server when Hermes runs on a server, where the normal browser sign-in cannot reach it.