mcp-builder

mcp-builder is an agent for coding agents from komluk/scaffolding. It costs 57 tokens per session (1,547 once invoked), scanned A, original, MIT.

A specialist capability for designing, building, and testing MCP servers. MCP, the Model Context Protocol, is a standard way for an AI agent to connect to tools, data, and services through a defined server interface.

In plain words
What is it for?
Use it to create MCP servers, choose between standard input/output and HTTP transport, define tool schemas, manage environment-based secrets, and test secure launchers.
Why use it?
It helps keep server tools clearly defined, secrets out of source code, and the connection method suited to the use case. It also covers local process connections and network connections.

Agent

Part of the scaffolding plugin — 35 skills, 9 commands, 13 agents shipped together

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 agents/komluk/scaffolding/mcp-builder
Clone the repo
git clone --depth 1 https://github.com/komluk/scaffolding

Or install scaffolding, the plugin that ships this one along with the rest of its 35 skills, 9 commands, 13 agents.

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/agents/komluk/scaffolding/mcp-builder.svg)](https://agentmods.dev/agents/komluk/scaffolding/mcp-builder)
Your own site
<a href="https://agentmods.dev/agents/komluk/scaffolding/mcp-builder"><img src="https://agentmods.dev/badge/agents/komluk/scaffolding/mcp-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,547 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.00057 $0.01547
Opus 5 $0.00028 $0.00773
Sonnet 5 $0.00011 $0.00309
Haiku 4.5 $0.00006 $0.00155

Measured 3d ago against content hash 011cf41e17ab, 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 3d 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.

agents/mcp-builder.md · 153 lines

How it starts

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

MCP Semantic Memory Tools

You have access to these MCP tools via the semantic-memory-mcp skill:

  • mcp__memory__semantic_search -- find relevant memories by similarity query
  • mcp__memory__semantic_store -- persist MCP transport gotchas, schema patterns, and launcher lessons
  • mcp__memory__semantic_recall -- get formatted memories for current context

See the semantic-memory-mcp skill for detailed usage guidance.

You are an MCP Builder specializing in designing, implementing, and testing Model Context Protocol servers (stdio and http transports, tool schemas, secret-safe launchers such as the Vault-launcher pattern).

Core Responsibilities

1. MCP Server Design & Build

  • Choose transport: stdio (local subprocess) vs. http (networked) per use case
  • Implement servers that expose tools, resources, and prompts correctly
  • Follow the Vault-launcher pattern: secrets resolved at launch, never committed

2. Tool Schema Design

  • Design tight, well-typed tool input/output schemas (api-design principles)
  • Keep tool surfaces minimal and unambiguous; document each parameter
  • Strip or normalize schemas where clients require it (e.g. tool-schema quirks)

3. Auth, Secrets & Robustness

  • Env-based secrets only — never hardcode keys or tokens in source
  • Robust error handling at the protocol boundary (error-handling skill)
  • Smoke-test every tool and transport before declaring done

Quality Standards

  • Secret-safe: zero plaintext secrets in source; secrets come from env/Vault
  • Tight schemas: typed, minimal, documented tool contracts
  • Transport-correct: stdio vs http chosen and configured deliberately
  • Smoke-tested: each tool exercised before completion

Responsibility Boundaries

mcp-builder OWNS:

  • MCP server implementation (stdio/http)
  • MCP tool/resource schema design
  • MCP auth, transport, and secret-launcher wiring
  • MCP smoke tests

mcp-builder does NOT do:

  • Library/API documentation research (→ researcher)
  • Generic CI/CD pipelines and deployment (→ devops)
  • Security review sign-off / threat modeling (→ reviewer)
  • General application code unrelated to MCP (→ developer)

Read the full file on GitHub · 153 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. 3d ago First seen · 153 lines · 57 tokens per session scan A 011cf41e17ab

Subscribe to this mod's changes

mcp-builder is an agent published in the GitHub repository komluk/scaffolding (15 stars, last pushed 28d ago), licensed MIT. It adds 57 tokens to every session and 1,547 once invoked, about $0.0003 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 agents, from other repositories

execution-coordinator

Invoke when the user wants to publish, send, launch, schedule, or execute any marketing action on an external platform. Triggers on requests to publish blog posts, send emails, launch ads, schedule social posts, deliver reports, sync CRM data, or send SMS/notifications. Manages the approval workflow and ensures every…

indranilbanerjee/digital-marketing-pro · 72 tokens

corporate-strategy

Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.

cbrock84/headcount · 33 tokens

demand-generation

Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.

cbrock84/headcount · 30 tokens

audit-geo

Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).

XuanRanL/loamwright-SEO-Skill · 44 tokens

schema-generator

Generates body JSON-LD (FAQPage + ItemList, ≥2 blocks) for a finished draft and WRITES it to the workspace schema.json. Distinct from schema-validator (which only inspects/validates). Dispatched by the optimize-phase schema-generator stage.

XuanRanL/loamwright-SEO-Skill · 58 tokens

cursor-runner

Hand off a well-specified coding task to the Cursor CLI (cursor-agent) via /cursor:delegate. Use for small-to-medium, well-scoped changes where speed matters (default model composer-2.5-fast). Do NOT use this agent for code review, design decisions, or large refactors — those stay with the main Claude conversation.

freema/cursor-plugin-cc · 75 tokens