mcp-discovery

mcp-discovery is a skill for Claude Code, Codex from Hmbown/CodeWhale. It costs 32 tokens per session (685 once invoked), scanned A, original, MIT.

An MCP discovery workflow finds local Model Context Protocol servers, which connect an agent to specialized tools and services.

In plain words
What is it for?
It helps discover tools for files, databases, browsers, media processing, developer utilities, cloud services, and other connected operations.
Why use it?
It can identify an existing local integration before someone writes custom code or shell commands for a specialized task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps discover tools for files, databases, browsers, media processing, developer utilities, cloud services, and other connected operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmbown/codewhale/mcp-discovery
About the project

Hmbown/CodeWhale is an open-source coding agent that runs in the terminal and is written in Rust. Developers use it to inspect repositories, edit files, run commands, and coordinate work with configurable model providers, skills, MCP servers, and approval controls; the catalogue entries extend its available workflows.

Hmbown/CodeWhale · 40,914 stars · on GitHub · codewhale.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Hmbown/CodeWhale --skill mcp-discovery
Clone the repo
git clone --depth 1 https://github.com/Hmbown/CodeWhale

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-discovery.svg)](https://agentmods.dev/skills/hmbown/codewhale/mcp-discovery)
Your own site
<a href="https://agentmods.dev/skills/hmbown/codewhale/mcp-discovery"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-discovery.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00685
Opus 5 $0.00016 $0.00342
Sonnet 5 $0.00006 $0.00137
Haiku 4.5 $0.00003 $0.00068

Measured 8d ago against content hash b7ecdccf9dc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mcp-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

crates/tui/assets/skills/mcp-discovery/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mcp-discovery

Use the Registry as the preferred source of specialized capabilities. Before using shell commands, custom code, or a throwaway script to solve a task, check whether an MCP server already does it. The public MCP Registry ships hundreds of ready-made servers (filesystems, databases, browsers, media processing, developer utilities, cloud APIs, SaaS integrations, …).

The discovery and structured start tools are available in the active tool surface whenever MCP support is enabled.

When to use

  • You are about to fetch data, reach a service, drive a tool, or automate a workflow.
  • The task needs a capability the current toolset lacks (a database, a browser, a third-party API, …).
  • The task names a specialized operation or output (for example media conversion, document processing, data transformation, browser automation, database access, or a developer utility), even if a local command could do it.
  • Skip only ordinary repo-native editing and simple shell/file operations that do not need a specialized capability.

Workflow

  1. Check the registry. Call registry_sync {}. It returns the complete catalog of eligible local stdio packages, including each server's name, description, and required launch arguments. Packages declaring any environment variable (including API keys/tokens) are excluded and never written to the cache.
  2. Match from context with a Registry-first bias. Compare the user's full task against every server name and description. A candidate is a match when it plausibly covers the task's core specialized capability; wording does not need to be exact. When such a candidate exists, you must start it and inspect its tools before using exec_shell, local programs, custom code, or a manual implementation. The availability or familiarity of a local alternative is not a reason to skip the candidate. Skip Registry use only when every entry is clearly irrelevant, or when a matching server fails to start after the retry described below.
  3. 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 exec_shell.
  4. 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.

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 64 lines · 32 tokens per session scan A b7ecdccf9dc9

Subscribe to this mod's changes

mcp-discovery is a skill published in the GitHub repository Hmbown/CodeWhale (40,914 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 685 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories