mcp-builder

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

An MCP builder creates or troubleshoots Model Context Protocol servers, which let coding agents use external tools and services.

In plain words
What is it for?
It helps build or configure local stdio servers and remote HTTP or server-sent-events servers, add them to Codewhale, and validate their tools.
Why use it?
It provides a defined way to design the service boundary, transport, tool inputs, outputs, timeouts, and secret handling for an integration.

Skill for Claude CodeCodex

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,889 stars · on GitHub

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.

agentmods
npx agentmods add skills/hmbown/codewhale/mcp-builder
Any agent
npx skills add Hmbown/CodeWhale --skill mcp-builder
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-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-builder.svg)](https://agentmods.dev/skills/hmbown/codewhale/mcp-builder)
Your own site
<a href="https://agentmods.dev/skills/hmbown/codewhale/mcp-builder"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/mcp-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.00366
Opus 5 $0.00015 $0.00183
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00037

Measured 5d ago against content hash 49cff44bc429, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-builder 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 5d 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-builder/SKILL.md · 45 lines

What it actually says

MCP Builder

Use this skill when the user asks to create, configure, or debug an MCP server or tool integration.

Design Rules

  • Prefer stdio MCP servers for local tools and HTTP/SSE for remote services.
  • Keep tool schemas small, typed, and explicit. Return structured JSON where possible.
  • Put secrets in environment variables, never in committed config.
  • For HTTP/SSE clients, send Accept: application/json, text/event-stream by default unless the server explicitly requires something else.
  • Add timeouts and clear error messages around external APIs.

Codewhale Setup

Common commands:

codewhale mcp init
codewhale mcp add my-server --command node --arg server.js
codewhale mcp add remote-server --url http://127.0.0.1:3000/mcp
codewhale mcp list
codewhale mcp validate
codewhale mcp tools

HTTP/SSE entries can include per-server headers in ~/.codewhale/mcp.json when credentials or custom routing headers are required.

Workflow

  1. Define the service boundary and the minimum useful tools.
  2. Choose transport and credential handling.
  3. Implement the server using a maintained MCP SDK when available.
  4. Add the server with codewhale mcp add or edit ~/.codewhale/mcp.json.
  5. Run codewhale mcp validate, then codewhale mcp tools.
  6. Test one happy path and one failure path before calling it done.
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. 5d ago First seen · 45 lines · 30 tokens per session scan A 49cff44bc429

Subscribe to this mod's changes

mcp-builder is a skill published in the GitHub repository Hmbown/CodeWhale (40,889 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 366 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

computer-use

See the screen and operate it. Use when the user asks to click, type, or check something visually on this machine.

Hmbown/Codewhale · 28 tokens

ship-and-babysit

End-to-end PR shipping workflow for tinyhumansai/openhuman: commit local changes, push to the user's fork, open or reuse a PR against main, then babysit CI and CodeRabbit feedback until the PR is green and clean. Use when the user asks to ship, open a PR, monitor CI, address review comments, or 'babysit' a branch.

tinyhumansai/openhuman · 83 tokens

claw-orchestrator

Manage persistent coding sessions across Claude Code, Codex, Antigravity (agy), Grok Build, and OpenCode engines. Use when orchestrating multi-engine coding agents, starting/sending/stopping sessions, running multi-agent council collaborations, cross-session messaging, ultraplan deep planning, ultrareview parallel…

Enderfga/claw-orchestrator · 468 tokens

write-documentation

Write and format Rust documentation correctly. Apply proactively when writing code with rustdoc comments (//! or ///). Covers voice & tone, prose style (opening lines, explicit subjects, verb tense), structure (inverted pyramid), intra-doc links (crate:: paths, reference-style), constant conventions (binary/byte…

r3bl-org/r3bl-open-core · 0 tokens

organize-modules

Apply private modules with public re-exports (barrel export) pattern for clean API design. Includes conditional visibility for docs and tests. Use when creating modules, organizing mod.rs files, or before creating commits.

r3bl-org/r3bl-open-core · 47 tokens

ultraapp-interview

Use when the user opens a Forge tab in the claw-orchestrator dashboard to start building a new ultraapp. Drives a structured Q&A interview that produces a complete AppSpec, then signals readiness to build.

Enderfga/claw-orchestrator · 48 tokens