MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Finds and starts a local MCP server from the public registry when a session lacks a capability that no existing tool, script or local code can cover.
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install codewhale-hq/Codewhale mcp-discovery --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .claude/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .claude/skills/mcp-discovery && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .claude/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discoveryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install codewhale-hq/Codewhale mcp-discovery --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .agents/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .agents/skills/mcp-discovery && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .agents/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install codewhale-hq/Codewhale mcp-discovery --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .cursor/skills/mcp-discovery && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .cursor/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/codewhale-hq/Codewhale.git --path crates/tui/assets/skills/mcp-discovery--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install codewhale-hq/Codewhale mcp-discovery --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .gemini/skills/mcp-discovery && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .gemini/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install codewhale-hq/Codewhale mcp-discoveryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .github/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .github/skills/mcp-discovery && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .github/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install codewhale-hq/Codewhale mcp-discovery --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codewhale-hq/Codewhale.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/crates/tui/assets/skills/mcp-discovery .opencode/skills/mcp-discovery && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mcp-discovery" agent skill from https://github.com/codewhale-hq/Codewhale/tree/main/crates/tui/assets/skills/mcp-discovery into .opencode/skills/mcp-discovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mcp-discovery", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mcp-discoveryFinds and starts a local MCP server from the public registry when a session lacks a capability that no existing tool, script or local code can cover.
This skill is a fallback for when a task needs a capability the session does not have, such as an external service, a database or a protocol client, and no available tool, project script or few lines of code can do it. It points to the public MCP Registry, which offers hundreds of ready-made stdio servers, and warns that discovery costs a tool search, a query, an approval and an install, so it should never be a first step.
The workflow is to name the missing capability, load the deferred registry_sync and start_registry_mcp_server tools, query the registry for at most eight scored matches, judge whether one covers the gap (refining the query once if not), and start the chosen server by its exact name with only the required arguments. Packages that declare environment variables, including API keys, are excluded, nothing is installed through the shell, and starting a server needs approval. Once connected, the server's tools are available in the same turn.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0ea319a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
MCP Registry Discovery loads about 805 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 455 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from codewhale-hq/Codewhale at commit 0ea319a, republished under its MIT licence (© codewhale-hq). 455 words, ~805 tokens.
.claude/skills/mcp-discovery/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.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.
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.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.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.
© codewhale-hq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in crates/tui/assets/skills/mcp-discovery of codewhale-hq/Codewhale.
Open the folder on GitHubat commit 0ea319a
MCP Registry Discovery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| MCP Registry Discovery this skillcodewhale-hq/Codewhale | 41k | — | ~805 | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
warpdotdev/warp
Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.
codewhale-hq/Codewhale
Proves a Codewhale change in the real product: a stamped release build, an atomic local install, fresh-shell verification and manual QA that automated gates cannot cover.
codewhale-hq/Codewhale
Writes a paste-ready handoff for the next agent session, opening with a state-check command block and separating done, suspected and blocked work.
codewhale-hq/Codewhale
Decides how verified work should reach main, directly, in a worktree or on an integration branch, while keeping contributor credit and respecting merge gates.
codewhale-hq/Codewhale
Guides when and how to split multi-step coding, research or verification work into focused sub-agent runs while the parent keeps integration and final checks.
codewhale-hq/Codewhale
Triages and manages Codewhale fleet runs and workers with typed commands, classifying failures and choosing a safe restart, resume or escalation.
codewhale-hq/Codewhale
Moves a list of GitHub issues into a milestone or assigns them to owners with the gh CLI, checking each one before and after the change.
Works with
Categories
Finds and starts a local MCP server from the public registry when a session lacks a capability that no existing tool, script or local code can cover. This skill is a fallback for when a task needs a capability the session does not have, such as an external service, a database or a protocol client, and no available tool, project script or few lines of code can do it. It points to the public MCP Registry, which offers hundreds of ready-made stdio servers, and warns that discovery costs a tool search, a query, an approval and an install, so it should never be a first step.
MCP Registry Discovery fits situations like: A task needs a database or service client that the session has no tool for; avoiding a hand-written converter or client when a ready-made MCP server exists; deciding whether a capability gap justifies searching the MCP Registry.
Run `npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a claude-code`. Or copy the skill folder (crates/tui/assets/skills/mcp-discovery in codewhale-hq/Codewhale) into .claude/skills/mcp-discovery in your project. Claude Code loads it when a task matches its description.
Run `npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a codex`. Or copy the skill folder (crates/tui/assets/skills/mcp-discovery in codewhale-hq/Codewhale) into .agents/skills/mcp-discovery in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add codewhale-hq/Codewhale --skill mcp-discovery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcp-discovery, .gemini/skills/mcp-discovery, .github/skills/mcp-discovery and .opencode/skills/mcp-discovery in your project.
SKILL.md names no scripts, command-line tools or credentials: MCP Registry Discovery is instructions for the agent only. Our summary lists: A session with the registry_sync and start_registry_mcp_server tools; Approval to start a server.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
MCP Registry Discovery is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 805 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with MCP Registry Discovery: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
codewhale-hq (a GitHub organization) maintains it in codewhale-hq/Codewhale, which has 41,082 GitHub stars. The repository holds 63 skills in this directory. The repository was last updated on October 11, 2026.
Source: codewhale-hq/Codewhale on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.