mcp-server-builder

mcp-server-builder is a skill for Claude Code, Codex from DojoGenesis/mcp. It costs 71 tokens per session (1,465 once invoked), scanned A, original, MIT.

A scaffolding workflow that turns an OpenAPI specification—a document describing a web API—into an MCP server, with named tools and validation.

In plain words
What is it for?
It helps create Python or TypeScript MCP servers, validate their tool definitions, check descriptions, and plan safer version changes before publication.
Why use it?
It removes much of the manual work and inconsistency involved in exposing an existing REST API to AI agents.

Skill for Claude CodeCodex

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/dojogenesis/mcp/mcp-server-builder
Any agent
npx skills add DojoGenesis/mcp --skill mcp-server-builder
Clone the repo
git clone --depth 1 https://github.com/DojoGenesis/mcp

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-server-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/dojogenesis/mcp/mcp-server-builder.svg)](https://agentmods.dev/skills/dojogenesis/mcp/mcp-server-builder)
Your own site
<a href="https://agentmods.dev/skills/dojogenesis/mcp/mcp-server-builder"><img src="https://agentmods.dev/badge/skills/dojogenesis/mcp/mcp-server-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00071 $0.01465
Opus 5 $0.00036 $0.00732
Sonnet 5 $0.00014 $0.00293
Haiku 4.5 $0.00007 $0.00146

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

Security

Grade A, and why

mcp-server-builder scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(f"{BASE_URL}/users/{user_id}", headers=AUTH_HEADERS)
internal/skills/bundled/skill-forge/mcp-server-builder/SKILL.md · 177 lines

How it starts

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

MCP Server Builder

Scaffolds production-ready MCP servers from OpenAPI specs. Treats the API contract as the source of truth and generates tool manifests + starter code with quality gates before publication.

Description

Converts OpenAPI paths/operations into named MCP tool definitions, generates server scaffolds in Python or TypeScript, enforces naming and description quality, validates manifests against common production failures, and applies a versioning strategy for safe evolution. Distinct from mcp-cloudflare-builder (Cloudflare-specific deployment) and mcp-builder (general MCP concepts) — this skill is spec-driven and language-agnostic.

When to Use

  • Exposing an internal or external REST API to LLM agents via MCP
  • Replacing brittle browser automation with typed, validated tools
  • Sharing one MCP server across multiple teams or assistants
  • Bootstrapping from an existing OpenAPI spec rather than hand-writing tool definitions
  • Running quality checks before publishing MCP tools to a registry

Workflow

Step 1: Parse the OpenAPI Spec

Read the spec and extract:

  • Paths and HTTP methods
  • operationId (use as canonical tool name when available)
  • Request parameters and body schemas
  • Response schemas
  • Authentication requirements

Step 2: Generate Tool Manifest

For each operation, create an MCP tool definition:

{
  "name": "get_user",
  "description": "Retrieve a user by ID. Returns full profile including email and role.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "user_id": { "type": "string", "description": "The user's UUID" }
    },
    "required": ["user_id"]
  }
}

Naming rules:

  • Use operationId when available (preferred)
  • Otherwise derive from method + path: GET /users/{id}get_user
  • Use snake_case; avoid raw path segments (get__v1__users___id is wrong)
  • One intent per tool; avoid mega-tools combining unrelated operations

Description rules:

  • Lead with action verb + object
  • Include what the tool returns, not just what it does
  • Note any side effects for mutating operations

Read the full file on GitHub · 177 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. 4d ago First seen · 177 lines · 0 tokens per session scan A 7a227e2b4183

Subscribe to this mod's changes

mcp-server-builder is a skill published in the GitHub repository DojoGenesis/mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 1,465 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

drt-analyze

Analyze DRT cluster health for a given time range. Reconstructs the operations timeline, checks CockroachDB metrics (availability, latency, storage, changefeeds, jobs, goroutines, admission control, LSM, KV prober) and logs for anomalies, correlates findings with disruptive operations to distinguish expected…

cockroachdb/cockroach · 149 tokens

redux-to-swr

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

cockroachdb/cockroach · 53 tokens

prune-npm-overrides

Audit the pnpm overrides a repo already carries, remove the ones upstream has since fixed, and require a justification comment on every one that stays. The counterpart to fix-npm-vulnerability. Use when asked to check, clean up, or prune the overrides, or when an override's tracking issue comes up for review.

thunder-id/thunderid · 71 tokens

mma-investigator

Expert system for investigating MMA (Multi-Metric Allocator) behavior on CockroachDB clusters. Helps oncall engineers diagnose load imbalances, understand rebalancing decisions, and identify why MMA did or didn't act.

cockroachdb/cockroach · 47 tokens

engflow-artifacts

Use when downloading test logs, artifacts, or outputs.zip from EngFlow build invocations. Use when investigating CockroachDB CI test failures hosted on mesolite.cluster.engflow.com.

cockroachdb/cockroach · 41 tokens