mcp-builder

mcp-builder is a skill for Claude Code from Rune-kit/rune. It costs 52 tokens per session (3,750 once invoked), scanned A, original, MIT.

A code generator for Model Context Protocol servers. MCP is a standard way for AI assistants to access tools, data, or services; this tool creates server code, validation, tests, and documentation in TypeScript or Python.

In plain words
What is it for?
Use it when creating an MCP server that exposes tools or resources to an AI assistant, including servers written with the TypeScript SDK or Python FastMCP.
Why use it?
Building an MCP server by hand requires repeating setup for tool definitions, resource access, error handling, configuration, and tests. This turns a description or specification into that project structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the rune plugin — 66 skills, 1 command, 66 agents, 6 hooks shipped together

Good fit Use it when creating an MCP server that exposes tools or resources to an AI assistant, including servers written with the TypeScript SDK or Python FastMCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rune-kit/rune/mcp-builder
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 Rune-kit/rune --skill mcp-builder
Clone the repo
git clone --depth 1 https://github.com/Rune-kit/rune

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 66 skills, 1 command, 66 agents, 6 hooks.

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/rune-kit/rune/mcp-builder/github.svg)](https://agentmods.dev/skills/rune-kit/rune/mcp-builder)
Your own site
<a href="https://agentmods.dev/skills/rune-kit/rune/mcp-builder"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/mcp-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/rune-kit/rune/mcp-builder"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/mcp-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,750 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.
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.00052 $0.03750
Opus 5.5 $0.00021 $0.01500
Sonnet 5.5 $0.00010 $0.00750
Haiku 4.5 $0.00005 $0.00375

Measured 8d ago against content hash e3d13a229409, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

skills/mcp-builder/SKILL.md · 426 lines

How it starts

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

mcp-builder

Purpose

MCP server builder. Generates complete, tested MCP servers from a natural language description or specification. Handles tool definitions, resource handlers, input validation, error handling, configuration, tests, and documentation. Supports TypeScript (official SDK) and Python (FastMCP).

Triggers

  • Called by cook when MCP-related task detected (keywords: "MCP server", "MCP tool", "model context protocol")
  • Called by scaffold when MCP Server template selected
  • /rune mcp-builder <description> — manual invocation
  • Auto-trigger: when project contains mcp.json, @modelcontextprotocol/sdk, or fastmcp in dependencies

Calls (outbound)

  • ba (L2): if user description is vague — elicit requirements for what tools/resources the server should expose
  • research (L3): look up target API documentation, existing MCP servers for reference
  • test (L2): generate and run test suite for the server
  • docs (L2): generate server documentation (tool catalog, installation, configuration)
  • verification (L3): verify server builds and tests pass

Called By (inbound)

  • cook (L1): when MCP-related task detected
  • scaffold (L1): MCP Server template in Phase 5
  • User: /rune mcp-builder direct invocation

Executable Steps

Step 1 — Spec Elicitation

If description is detailed enough (tools, resources, target API specified), proceed. If vague, ask targeted questions:

  1. What tools should this MCP server expose? (actions the AI can perform)
  2. What resources does it manage? (data the AI can read)
  3. What external APIs does it connect to? (if any)
  4. TypeScript or Python? (default: TypeScript with @modelcontextprotocol/sdk)
  5. Authentication? (API keys, OAuth, none)

If user provides a detailed spec or existing API docs → extract answers, confirm.

Step 2 — Architecture Design

Read the full file on GitHub · 426 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 426 lines · 52 tokens per session scan A e3d13a229409

Subscribe to this mod's changes

mcp-builder is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 3,750 once invoked, about $0.0002 per session on Opus 5.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-11-22.

Related

mcp-builder compared with skills from other repositories

mcp-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-builderRune-kit/runeSkill962d agoMITA52Claude Code
old-coder-apiAmazingAng/old-coderSkill7696d agoMITA106Claude Code, Codex
create-pubsub-dotnetdiagrid-labs/dapr-skillsSkill135d agoMITA79Claude Code
create-pubsub-javadiagrid-labs/dapr-skillsSkill135d agoMITA61Claude Code
create-workflow-typescriptdiagrid-labs/dapr-skillsSkill135d agoMITA52Claude Code
create-pubsub-pythondiagrid-labs/dapr-skillsSkill135d agoMITA70Claude Code
create-workflow-from-diagramdiagrid-labs/dapr-skillsSkill135d agoMITA93Claude Code