MCP Server Builder
Tier: POWERFUL
Category: Engineering
Domain: AI / API Integration
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.
python3 scripts/openapi_to_mcp.py \
--input openapi.json \
--server-name billing-mcp \
--language python \
--output-dir ./out \
--format text
Supports stdin as well:
cat openapi.json | python3 scripts/openapi_to_mcp.py --server-name billing-mcp --language typescript
Run validator before integration tests:
python3 scripts/mcp_validator.py --input out/tool_manifest.json --strict --format text
Checks include duplicate names, invalid schema shape, missing descriptions, empty required fields, and naming hygiene.
code, message, details) for agent recovery.python3 scripts/openapi_to_mcp.py --help
--inputpython3 scripts/mcp_validator.py --help
get__v1__users___id)operationId as canonical tool name when available.Choose the server approach per constraint:
Before publishing a manifest:
tool_manifest.json and review diffs in PR.