skills/openapi-tool-scaffold/SKILL.md
OpenAPI 3.x (JSON/YAML) 스펙을 MCP stdio 서버(Python) 코드로 자동 변환하는 스킬. 외부 REST API를 MCP tool로 빠르게 브릿지할 때 사용. 인증(Bearer, API Key, OAuth stub) 지원, endpoint별 tool 자동 생성. 트리거: OpenAPI→MCP 변환, 외부 API MCP 연동, REST API tool 자동화, Python MCP scaffold.
npx skillsauth add kjaylee/misskim-skills openapi-tool-scaffoldInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Research → Audit → Rewrite 패턴으로 재작성한 Python 3.10+ 기반 OpenAPI→MCP 생성 스킬.
외부 툴을 blind install 하지 않고, 공개 패턴을 흡수해 내부 재구현.
openapi-tool-scaffold/
├── SKILL.md
├── scripts/
│ └── openapi-to-mcp.py
├── templates/
│ └── mcp_server_stdio.py.tmpl
├── examples/
│ ├── README.md
│ ├── petstore-mcp-server.py
│ ├── todo-mini-openapi.yaml
│ └── todo-mini-mcp-server.py
└── references/
└── research-audit.md
# 1) Petstore OpenAPI -> MCP 서버 코드 생성
python3 skills/openapi-tool-scaffold/scripts/openapi-to-mcp.py \
"https://petstore3.swagger.io/api/v3/openapi.json" \
--output skills/openapi-tool-scaffold/examples/petstore-mcp-server.py \
--server-name petstore_mcp
# 2) 생성 코드 문법 검사
python3 -m py_compile skills/openapi-tool-scaffold/examples/petstore-mcp-server.py
# 3) MCP 서버 실행 (stdio)
python3 skills/openapi-tool-scaffold/examples/petstore-mcp-server.py
python3 scripts/openapi-to-mcp.py INPUT --output OUTPUT.py [options]
옵션:
--server-name : MCP 서버 이름 오버라이드--base-url : OpenAPI servers보다 우선하는 API base URL--template : 서버 템플릿 경로 변경--include-deprecated : deprecated operation 포함--max-tools N : 생성 tool 수 제한 (0=무제한)생성된 서버는 OpenAPI components.securitySchemes + operation/global security를 해석해
다음 환경변수를 자동 사용한다.
BEARER_TOKEN_<SCHEME_NAME>BEARER_TOKENAPI_KEY_<SCHEME_NAME>API_KEYin: header/query/cookie, name)에 맞게 자동 주입OAUTH_ACCESS_TOKEN_<SCHEME_NAME>OAUTH_ACCESS_TOKEN(추가) Basic auth도 지원:
BASIC_USERNAME_<SCHEME_NAME>, BASIC_PASSWORD_<SCHEME_NAME>BASIC_USERNAME, BASIC_PASSWORDinitializetools/listtools/callpingstdio 입력은 newline JSON-RPC를 기본으로 처리하며, Content-Length 프레이밍 입력도 수용한다.
출력은 newline JSON-RPC(기본)이며 MCP_USE_CONTENT_LENGTH=1로 Content-Length 출력 가능.
$ref URL dereference는 자동 fetch하지 않음 (로컬 #/... 중심)--max-tools로 초기 노출 범위를 좁히고 점진 확장세부 조사 결과는 references/research-audit.md 참고.
핵심 결론:
testing
게임 아이디어를 검토해 와우 팩터 5개를 추가하고, 스펙→TC→구현→QA→런칭까지 한 번에 밀어붙이는 일일 게임 런칭 써클. 기존 자동 게임 파이프라인을 대체/승격할 때 사용.
data-ai
Advanced YouTube analysis, transcripts, and metadata extraction.
development
Modern web design engineering skills including design tokens, advanced UI/UX methodologies, accessibility, and game-specific UI patterns. Use for building commercial-grade, performant, and accessible web interfaces.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".