mcp-server-builder

mcp-server-builder is a skill for Claude Code, Codex from DojoGenesis/mcp. It costs 0 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

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit It helps create Python or TypeScript MCP servers, validate their tool definitions, check descriptions, and plan safer version changes before publication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dojogenesis/mcp/mcp-server-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 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/github.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/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-server-builder

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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. 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.00000 $0.01465
Opus 5.5 $0.00000 $0.00586
Sonnet 5.5 $0.00000 $0.00293
Haiku 4.5 $0.00000 $0.00146

Measured 3mo ago against content hash 7a227e2b4183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 costs nothing until one of its globs matches a file; then it loads 1,465 tokens. 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

mcp-server-builder compared with skills from other repositories

mcp-server-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-server-builderDojoGenesis/mcpSkill01mo agoMITA0Claude Code, Codex
goericrisco/rsc-harnessSkill701yesterdayMITA86Claude Code, Codex
functions-developmentCrowdStrike/foundry-skillsSkill38yesterdayMITA195Claude Code
structpagesjackielii/structpagesSkill24yesterdayBSD-3-ClauseA154Claude Code
jwtkataras/jwtSkill2102mo agoMITA107Claude Code
golang-samber-doalexastrum/sklSkill112d agoMITA74Claude Code
go-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A65Claude Code