
g12789/mcp-quickstart
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
g12789/mcp-quickstart는 https://github.com/g12789/mcp-quickstart.에서 수입된 MCP 서버 후보입니다
개요
g12789/mcp-quickstart는 https://github.com/g12789/mcp-quickstart.에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
⭐:
npx ship-skills init(Tgh)
** 30 초 내에 작업, 테스트 가능, 게시 가능한 MCP 서버.** 1개의 명령. TypeScript ** 또는 ** 파이썬. 예제 도구, 검사기 및 테스트 - 모든 유선. 또는 OpenAPI spec에 그것을 점하고 API 엔드포인트 당 ** 1 MCP 공구를, 자동적으로 얻습니다. **
대부분의 "MCP 서버를 만들"가이드는 빈 골격선과 20 단계 설정으로 당신을 떠나. mcp-quickstart] 당신이 서버 그 ** 실행, 테스트, 첫 번째 시도에 Claude / Cursor에 연결** — 그런 다음 당신의 방법을 가져옵니다.
모든 REST API를 MCP 서버로 설정
대부분의 비계는 empty 템플릿을 입력하고 "지금은 도구 쓰기"라고 말합니다. mcp-quickstart]는 기존의 API를 읽을 수 있으며 OpenAPI spec ** 또는 단일 컬 명령에서 도구 작성할 수 있습니다.
OpenAPI 3.x 문서 (URL 또는 로컬 .json] / .yaml)에서 포인트를 입력하고, MCP 서버를 입력합니다. **, 경로/커키 퍼밀리 및 요청 기관이 작은 HTTP 클라이언트로 유선.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
mcp-quickstart
⭐ 推荐:
npx ship-skills init(已登录gh会自动支持作者)
Forge a working, testable, publishable MCP server in 30 seconds. One command. TypeScript or Python. Example tools, the Inspector, and tests — all wired up. Or point it at an OpenAPI spec and get one MCP tool per API endpoint, automatically.
npm create mcp-quickstart@latest my-server
Most “create an MCP server” guides leave you with an empty skeleton and a 20-step setup. mcp-quickstart hands you a server that runs, tests, and connects to Claude / Cursor on the first try — then gets out of your way.
Turn any REST API into an MCP server
Most scaffolders hand you an empty template and say “now go write your tools.” mcp-quickstart can instead read an existing API and write the tools for you — from an OpenAPI spec or a single curl command:
# whole API, from an OpenAPI spec:
npx mcp-quickstart petstore-mcp --from-openapi https://petstore3.swagger.io/api/v3/openapi.json
# one endpoint, straight from a curl you already have:
npx mcp-quickstart my-tool --from-curl "curl https://api.example.com/v1/search?q=hi -H 'Authorization: Bearer X'"
Point it at any OpenAPI 3.x document (a URL or a local .json / .yaml) and it generates a real, typed MCP server — one tool per operation, with path/query params and request bodies wired up to a small HTTP client. Request bodies are expanded into per-field zod types ($ref, nested objects, arrays and enums resolved), not an opaque blob — so the AI gets a real schema for each tool. Set API_BASE_URL (and an optional auth header) in .env, run npm run dev, and your AI agent can call the API immediately.
--from-curl does the same for a single request: paste a curl command (or a file with one) and get one MCP tool. Query params and the JSON body become overridable tool inputs, and auth headers are moved to .env instead of being hard-coded into the generated source.
my-api-mcp/
├── src/
│ ├── index.ts # one registerTool(...) per API operation — plain, editable TS
│ └── http.ts # generic caller: URL building, auth header, body
└── .env.example # API_BASE_URL, API_AUTH_HEADER, API_AUTH_VALUE
No magic, no runtime spec parsing — just generated TypeScript you own and can edit.
설치
npx mcp-quickstart petstore-mcp --from-openapi https://petstore3.swagger.io/api/v3/openapi.json