mcp-server-builder
Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch.
npx skills add alirezarezvani/claude-skills --skill mcp-server-builder --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MCP Server Builder **Tier:** POWERFUL · **Category:** Engineering · **Domain:** AI / API Integration ## Overview Use this skill to design and ship production-ready MCP servers from API contracts instead of hand-written one-off tool wrappers. It focuses on fast scaffolding, schema quality, validation, and safe evolution. The workflow supports both Python and TypeScript MCP implementations and treats OpenAPI as the source of truth. ## Core Capabilities - Convert OpenAPI paths/operations into MCP tool definitions - Generate starter server scaffolds (Python or TypeScript) - Enforce naming, descriptions, and schema consistency - Validate MCP tool manifests for common production failures - Apply versioning and backward-compatibility checks - Separate transport/runtime decisions from tool contract design ## When to Use - You need to expose an internal/external REST API to an LLM agent - You are replacing brittle browser automation with typed tools - You want one MCP server shared across teams and assistants - You need repeatable quality checks before publishing MCP tools - You want to bootstrap an MCP server from existing OpenAPI specs ## Key Workflows ### 1. OpenAPI to MCP Scaffold 1.
- Overview
- Core Capabilities
- When to Use
- Key Workflows
- 1. OpenAPI to MCP Scaffold
- 2. Validate MCP Tool Definitions
- 3. Runtime Selection
- 4. Harden for Production
- Script Interfaces
- Reference Material
python3 scripts/openapi_to_mcp.py \ cat openapi.json | python3 scripts/openapi_to_mcp.py --server-name billing-mcp --language typescript python3 scripts/mcp_validator.py --input out/tool_manifest.json --strict --format text
What does the mcp-server-builder skill do?
Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch.
How do I install it?
Run `npx skills add alirezarezvani/claude-skills --skill mcp-server-builder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From alirezarezvani/claude-skills, a repository with 23,791 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.