JSON 레시피, 타입 그래프, OpenAPI, GraphQL, Protobuf 또는 SQL DDL로부터 11개 언어에 대한 소스 코드, 모델 및 API 클라이언트를 생성합니다.
다른 이름 meta-engine/mcp-server, mcp-server, @metaengine/mcp-server
- 스타
- 0
- Tools
- 9
- 다운로드, 30일
- —
- 최신 버전
- 1.5.0
- 마지막 커밋
- 2026년 9월 15일
- 라이선스
- MIT
MetaEngine MCP란?
MetaEngine은(는) MCP server입니다. JSON 레시피, 타입 그래프, OpenAPI, GraphQL, Protobuf 또는 SQL DDL로부터 11개 언어에 대한 소스 코드, 모델 및 API 클라이언트를 생성합니다. 9개 도구를 제공합니다. 예: generate_from_recipe, generate_code, load_spec_from_file.
프로젝트 README에서 생성된 요약
MetaEngine MCP server 정보
MetaEngine은 Claude Desktop, Cursor, Cline과 같은 MCP 클라이언트를 사용하는 개발자가 다양한 스키마 형식으로부터 소스 코드, 모델 및 API 클라이언트를 생성할 수 있도록 지원합니다. 타입 그래프, JSON 레시피 또는 API 스키마를 제공하면 TypeScript, Python, Go, Rust, Java를 포함한 11가지 언어로 파일을 자동으로 생성할 수 있습니다. 서버는 압축된 레시피의 확장을 처리하고 페이로드를 호스팅 API로 전송하여 처리하며, 처리된 결과 파일은 로컬 출력 디렉토리에 작성됩니다.
이 도구는 특정 애플리케이션 아키텍처를 강제하지 않으면서 구조화된 클래스, 인터페이스, enum 및 서비스를 생성하도록 설계되었습니다. OpenAPI, GraphQL, Protobuf, SQL DDL 등 광범위한 입력 타입을 지원합니다. 개발자는 타입 클라이언트를 위한 generate_openapi 또는 모델 타입을 위한 generate_sql과 같은 특정 도구를 사용할 수 있습니다. 시스템은 커스텀 코드 통합을 허용하며 제네릭 및 상속과 같은 복잡한 관계를 처리합니다. 호스팅 서비스는 API key가 필요 없지만, 생성 요청당 카운트되는 타입의 수는 250개로 제한됩니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
MetaEngine MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 MetaEngine MCP 설치
$ claude mcp add mcp-server -- npx -y @metaengine/mcp-serverCursor에 MetaEngine MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@metaengine/mcp-server"
]
}
}
}VS Code에 MetaEngine MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@metaengine/mcp-server"
]
}
}
}VS Code CLI에 MetaEngine MCP 설치
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@metaengine/mcp-server"]}'Claude Desktop에 MetaEngine MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@metaengine/mcp-server"
]
}
}
}Codex에 MetaEngine MCP 설치
$ codex mcp add mcp-server -- npx -y @metaengine/mcp-serverCodex config.toml에 MetaEngine MCP 설치
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@metaengine/mcp-server"]
Gemini CLI에 MetaEngine MCP 설치
$ gemini mcp add -s user mcp-server npx -- -y @metaengine/mcp-serverGemini settings.json에 MetaEngine MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@metaengine/mcp-server"
]
}
}
}MetaEngine MCP 도구 9
README에서 감지됨generate_from_recipegenerate_codeload_spec_from_filegenerate_openapigenerate_graphqlgenerate_protobufgenerate_sqlmetaengine_initializedryRun
| generate_from_recipe | — | |
| generate_code | — | |
| load_spec_from_file | — | |
| generate_openapi | — | |
| generate_graphql | — | |
| generate_protobuf | — | |
| generate_sql | — | |
| metaengine_initialize | — | |
| dryRun | — |
구성
METAENGINE_API_URLOverride the MetaEngine generation API endpoint (defaults to https://api.metaengine.eu)
| 이름 | 설명 | 유형 |
|---|---|---|
| METAENGINE_API_URL | Override the MetaEngine generation API endpoint (defaults to https://api.metaengine.eu) |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능meta-engine/mcp-server is public and reachablegithub.com/meta-engine/mcp-server ↗통과
- 패키지가 이 저장소를 소스로 명시@metaengine/mcp-server names meta-engine/mcp-server as sourcenpmjs.com/package/@metaengine/mcp-server ↗통과
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-15github.com/meta-engine/mcp-server ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @metaengine/mcp-server통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음99 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음9 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨No tool named like delete, drop or exec통과
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기MetaEngine MCP Server
Generate related source files from a type graph, a compact JSON recipe, or an API schema through your MCP client.
MetaEngine combines structured classes, interfaces, enums, collections, and generics with target-language code supplied in customCode. Explicit references connect that code to the same type graph, so the generator can resolve names and imports across the batch. Use it for models, services, adapters, or other structures you describe; the format does not prescribe an application architecture.
Install
Node.js 18 or later is required. Add the server to your MCP client's configuration:
{
"mcpServers": {
"metaengine": {
"command": "npx",
"args": ["-y", "@metaengine/mcp-server@1.5.0"]
}
}
}
For Claude Code:
claude mcp add metaengine -- npx -y @metaengine/mcp-server@1.5.0
The hosted service requires no API key or account. MCP clients include Claude Code, Claude Desktop, Cursor, Cline, and others with stdio support.
Start with a recipe
Call generate_from_recipe with these arguments:
{
"recipe": {
"recipeVersion": 1,
"language": "typescript",
"typeScriptOptions": { "relativeImportExtension": "js" },
"classes": [
{ "name": "Customer", "id": "customer", "properties": { "id": "string", "name": "string" } },
{ "name": "Order", "properties": { "customer": { "ref": "customer" }, "total": "number", "note?": "string" } }
]
},
"outputPath": "src/models"
}
The local MCP server expands the recipe into the existing generation payload, sends that payload to the MetaEngine API, and writes the returned files. Add named templates and parameter rows when structures repeat. Existing customCode, templateRefs, imports, decorators, inheritance, and generic definitions remain available.
A version-controlled recipe can be invoked with {"recipeFilePath":"specs/models.recipe.json"}. Reading a file avoids resending its contents in the tool call. Files still need to be authored or maintained.
Recipe grammar and examples · Generation guide · Language examples
Tools
| Tool | Purpose |
|---|---|
generate_from_recipe |
Expand compact JSON fields, named templates, and local JSON input rows into the existing type graph, then generate files. |
generate_code |
Generate from the complete native JSON type graph, including arbitrary target-language code with explicit references. |
load_spec_from_file |
Read a native generate_code payload from a local JSON file. |
generate_openapi |
Generate a typed client from an OpenAPI document supplied inline or by URL. |
generate_graphql |
Generate a typed client from GraphQL SDL, with optional named fragments. |
generate_protobuf |
Generate a typed client from Protocol Buffers definitions. |
generate_sql |
Generate model types from SQL DDL. |
metaengine_initialize |
Load generation rules and language notes for the assistant. |
Type and model generation supports TypeScript, Python, Go, C#, Java, Kotlin, Groovy, Scala, Swift, PHP, and Rust. Client generation targets Angular, React, TypeScript Fetch, Go net/http, Java Spring, Python httpx, C# HttpClient, Kotlin Ktor, Rust Reqwest, and Swift URLSession.
generate_code, load_spec_from_file, and generate_from_recipe share generation and file-writing behavior:
outputPathchooses the local output directory; the default is the MCP server's working directory.skipExistingdefaults totrue. Set it tofalseto overwrite generated files.dryRun: truereturns generated file contents without writing them. Generation still calls the hosted API.- Related type references resolve within one batch. Include the complete graph in that call.
- The hosted limit is 250 counted types per generation request. The exact count is described in the recipe guide.
For Node16/NodeNext TypeScript ESM, use typeScriptOptions: {"relativeImportExtension":"js"}. Other TypeScript output retains extensionless relative imports by default.
Where recipes help
Field maps remove repeated property metadata. Templates describe repeated structure once and bind explicit parameter values. Local JSON inputs can supply those values from a file you already maintain. The adapter executes no JavaScript from a recipe.
Savings depend on the amount of repetition, the chosen model and tokenizer, and the surrounding agent workflow. Custom business logic still needs to be written. A recorded development fixture compares a 59-interface recipe with its expanded payload; it measures JSON bytes, not model tokens or usage-limit guarantees.
The compact format keeps one readable path for common declarations and the existing native fields for advanced code. Native type expressions and customCode remain specific to their target language. Review and compile generated code in your project, including its dependencies and compiler settings.
Privacy and execution
The local MCP server runs over stdio and performs recipe expansion, declared local file reads, and generated-file writes. The hosted MetaEngine API performs ephemeral processing of the expanded generation payload and returns source files.
The server does not automatically scan or upload existing project source files. Source or customCode content explicitly included in a generation request is part of that request and is sent to the hosted MetaEngine API. Values read from recipe inputs are included only when the recipe uses them in the expanded payload.
Submitted generation content and generated file contents are not persisted or logged; anonymous operational metadata is retained. See the Privacy Policy and Terms for the processing and retention details.
Recorded agent workflows
A single MCP call can produce many files, reducing required tool operations. Model responses are a separate measure: in the recorded TypeScript runs Opus often issued one Write per response, while Sonnet usually batched the Writes. The corrected benchmark findings separate those counts and retain output-token totals and pass rates.
For reproducible measurements across languages, models, and spec shapes, see benchmark/ — a self-contained harness with the prompts, judging tools, and 15 canonical result folders. Numbers there are illustrations from one author's runs at N=5 per cell; reproduce in your own environment to see what holds for you.
Links
License
MIT
About this repository
This repository contains public documentation, examples, benchmarks, and issue tracking for MetaEngine MCP Server. The compiled npm package is available at @metaengine/mcp-server. The server implementation is maintained in a private repository.
MetaEngine MCP 질문
MetaEngine MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add mcp-server -- npx -y @metaengine/mcp-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
MetaEngine MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
MetaEngine MCP는 어떤 도구를 제공하나요?
9개 도구를 제공합니다. 예: generate_from_recipe, generate_code, load_spec_from_file, generate_openapi, generate_graphql.
코드 생성 시 어떤 언어를 지원하나요?
TypeScript, Python, Go, C#, Java, Kotlin, Groovy, Scala, Swift, PHP, Rust를 지원합니다.
호스팅 서비스를 사용하려면 API key가 필요한가요?
아니요, 호스팅 서비스는 API key나 계정을 요구하지 않습니다.
서버가 프로젝트 전체를 업로드하나요?
아니요, 서버는 기존 프로젝트의 소스 파일을 자동으로 스캔하거나 업로드하지 않습니다. 요청에 명시적으로 포함된 콘텐츠만 API로 전송됩니다.