mcp-server-builder

mcp-server-builder is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 110 tokens per session (1,617 once invoked), scanned A, original, Apache-2.0.

A tool for turning an OpenAPI description of a web API into an MCP server, which lets AI assistants call that API through defined tools. It supports Python and TypeScript.

In plain words
What is it for?
Use it to expose an existing REST API to Claude, Codex, Cursor, or other MCP clients; create a starter server; validate its tools; and check changes for backward compatibility.
Why use it?
It avoids writing and maintaining one-off wrappers for every API operation. It also checks tool descriptions and data schemas for common problems and compatibility issues.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to expose an existing REST API to Claude, Codex, Cursor, or other MCP clients; create a starter server; validate its tools; and check changes for backward compatibility.

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

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/morningstar202604/awesome-skillkit/mcp-server-builder/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/mcp-server-builder)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/mcp-server-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/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/morningstar202604/awesome-skillkit/mcp-server-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/mcp-server-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,617 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.00110 $0.01617
Opus 5.5 $0.00044 $0.00647
Sonnet 5.5 $0.00022 $0.00323
Haiku 4.5 $0.00011 $0.00162

Measured 1mo ago against content hash 0d263af580aa, 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 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/mcp_validator.py, scripts/openapi_to_mcp.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

site/skills/programming/ai-engineering/mcp-server-builder/SKILL.md · 123 lines

How it starts

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

MCP Server Builder

Design and deliver production-ready MCP servers from API contracts, replacing hand-written throwaway tool wrappers. Focused on fast scaffolding, schema quality, validation, and safe evolution. The workflow supports both Python and TypeScript MCP implementations, treating OpenAPI as the single source of truth.

Input Checklist

Input Required Description
OpenAPI spec Yes --input openapi.json (or passed via stdin); must be a valid OpenAPI document
Server name Yes --server-name, e.g. billing-mcp; determines the generated directory and tool prefix
Language No --language python|typescript, default python
Output directory No --output-dir, default ./out
Runtime config No Optional runtime-config path for mcp_validator to validate

When something is missing, ask for it all at once: "Please provide: (1) OpenAPI spec path (or paste the content via stdin); (2) server name --server-name; (3) language python/typescript; (4) output directory (default ./out). I'll use defaults for everything else; once confirmed, I'll start."

Pre-flight Checks

  • Python 3.8+ is available: python3 --version → prints a version number ≥3.8. Otherwise prompt to install, then STOP.
  • The two scripts are on disk: test -f scripts/openapi_to_mcp.py && test -f scripts/mcp_validator.py → both exist; if either is missing → STOP and report the filename.
  • The OpenAPI spec is readable: test -r <input> or stdin has content. Otherwise report the error and ask the user to provide it.

Workflow

Step 1: Generate the MCP scaffold from OpenAPI

python3 scripts/openapi_to_mcp.py --input examples/mini-openapi.json --server-name billing-mcp --language python --output-dir out --format text   # bundled sample spec; swap in your real spec with --input openapi.json

stdin is also supported (shown here as a comment to avoid clashing with the runnable example above): cat openapi.json | python3 scripts/openapi_to_mcp.py --server-name billing-mcp --language typescript --output-dir out

Read the full file on GitHub · 123 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. 1mo ago Changed · -12 tokens per session 0d263af580aa
  2. 1mo ago Changed · -8 lines 0458460f4f35
  3. 1mo ago Changed · +25 lines · +51 tokens per session 1999817be5bb
  4. 1mo ago First seen · 106 lines · 71 tokens per session scan A dbea23246b29

Subscribe to this mod's changes

mcp-server-builder is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 25d ago), licensed Apache-2.0. It adds 110 tokens to every session and 1,617 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

fastapi-patterns

FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.

affaan-m/ECC · 35 tokens

status

Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.

mem0ai/mem0 · 54 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

backend

Everything on the Node side of a LangWatch module: composing a process (apps/api, apps/worker, apps/tasks), Server/container/boot, a module's process-half shape, the four-way rule for what a module may demand, declaring REST endpoints and tRPC procedures, the worker role (drain order, eventing pipelines, process…

langwatch/langwatch · 190 tokens