/crewforth:mcp-builderfrom Crewforth
Guides building MCP servers that expose APIs, databases, or services as tools for AI clients. Covers tool design, input validation, error handling, and transport selection.
Ships in Crewforth. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Trigger phrases: "MCP server", "build an MCP", "model context protocol", "expose tools to Claude", "MCP tool"
An MCP server exposes tools (actions the model can call), resources (data it can read), and prompts (reusable templates) to any MCP client over a standard protocol. The whole job is: design a small set of clear, well-described tools, validate their inputs, return useful errors, and prove it works with a real client. The protocol is easy; the design of the tools is what makes the server good or useless.
Crewforth adaptation (local, .claude/): Stack-agnostic — TypeScript (
@modelcontextprotocol/sdk) or Python (mcp/ FastMCP) are the maintained SDKs; match the project's language. §4 Prohibitions apply (no AI trace in generated code/strings). Secrets (API keys the server needs) go via env, never hardcoded — Crewforth's secret gates apply.
references/building.mdreadOnlyHint, destructiveHint, idempotentHint, openWorldHint)--, then untrusted values; admin verbs only behind an explicit mode the
operator turns onConsuming a server someone else wrote (adding one to an agent, not building one): pin the server's version;
keep a fixture of the tool names you rely on and check it on upgrade; give the consuming agent only that server's
tools (mcp__<server>__*), not a wildcard; when the tools are absent, stop and say so, never fall back to
calling the API another way (curl, a script).
Concrete server skeletons (TypeScript + Python), stdio vs. HTTP transport choice, resources/prompts (not just
tools), and the test loop (MCP Inspector → real client): references/building.md. A command-line tool the agent
runs instead of a server (JSON on stdout, truncation, exit codes): references/cli-for-agents.md.
security-scan/references/ai-agents.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub crewforth/crewforth --plugin crewforth60 skills in this plugin
/a11yUse when building or changing UI, before shipping a user-facing screen, and when something cannot be
reached with a keyboard, read by a screen reader, or seen at low contrast.
/adrArchitecture Decision Record: context-decision-consequences, for decisions that are expensive to reverse.
Written under docs/adr/.
/api-designUse when an API contract is designed or changed: a new endpoint or resource, how its errors and pages
are returned, a field to add or remove, or a version to cut without breaking a consumer.
/automode-policyAuto-mode classifier config: inspect what the classifier that answers permission prompts is configured
with, and catch the silent case where a custom autoMode block drops the built-in block rules.
/backend-architectureDecide, record and apply the backend stack and architecture pattern.
Use when backend work starts with no recorded stack, or a framework/DB/pattern must be chosen.
/brainstormUse when the ask is still fuzzy and no direction is chosen yet: "not sure what we want", several ways to go,
or a scope to settle before any plan is written.
Other plugins' skills for the same job