MCP Server Builder skill

MCP Server Builder is an agent skill for AI coding assistants (Claude Code, OpenClaw, Cursor, Codex). Build production MCP servers: tool/resource/prompt schemas (Zod/Pydantic), Streamable HTTP + stdio (spec 2025-11-25, SSE legacy), OAuth 2.1 bearer auth, FastMCP (Python) and @modelcontextprotocol/sdk (TS), Stripe + x402 v2 monetization, deploy. Use when shipping, monetizing, or deploying an MCP server or wrapping a REST API as tools. Install with: npx skills-ws install mcp-server-builder.

devv1.11.0Updated
copied ✓
openclawclaude-codecursorcodex
0 installsSecurity scan: cleanSource code

MCP Server Builder — Production Skill

Pick the transport first. stdio for local-process servers (Claude Desktop, CLI). Streamable HTTP for everything remote/shared/monetized — StreamableHTTPServerTransport in TS (@modelcontextprotocol/sdk v1.x), FastMCP in Python. The two standard transports are stdio and Streamable HTTP. The old HTTP+SSE transport (/sse + /messages) is legacy/deprecated (replaced in spec 2025-03-26, current spec 2025-11-25); ship it only as a backward-compat appendix for old clients (see §2c).

Build production-grade Model Context Protocol servers that wrap any REST API into AI-callable tools, with three-tier auth, monetization, and battle-tested deployment.

Related skills: for the consuming side (connecting to / calling MCP servers) see mcp-client; for general agent architecture see ai-agent-building; for REST contract/versioning design see api-design; for the Stripe billing details behind §7 see stripe-billing; for the SSRF/secret-handling depth in §9 see security-hardening.

Reference guide

Read only the references needed for the current request: