Skip to main content
Glama
egovframe-scaffold-mcp

egovframe-scaffold-mcp

by EricSeokgon

프로젝트 생성

create_egovframe_project

Scaffold a new eGovFrame project from official templates by applying project name, groupId, database type, and template; preview changes with dryRun and optionally align 5.x parent/RTE versions.

Instructions

전자정부 표준프레임워크 공식 템플릿으로 새 프로젝트 골격을 생성합니다. 공식 GitHub 템플릿을 내려받아 projectName/groupId/DB 타입을 적용합니다. dryRun=true로 먼저 미리보기할 수 있습니다. alignParent=true 면 생성 직후 5.x parent·RTE 버전을 최신 5.0.x 로 맞춥니다(공식 Initializr 템플릿은 parent 5.0.0·5.0.1). rteVersion 으로 다른 5.x 버전(예: 태그 전 5.1.0)을 고를 수 있습니다.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectName": "<projectName>",
      "groupId": "<groupId>",
      "outputDir": "<outputDir>"
    },
    "name": "create_egovframe_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo내려받을 브랜치/태그(미지정 시 템플릿 기본 브랜치). 예: main, v4.3.0
dryRunNotrue면 디스크에 쓰지 않고 생성 예정 내용만 미리보기
groupIdYes자바 groupId. 예: egovframework.example
databaseNoDB 타입 (템플릿 지원: hsql|mysql|oracle|altibase|tibero)hsql
templateNo템플릿 종류simple-backend
outputDirYes프로젝트를 생성할 상위 디렉터리(절대경로 권장)
rteVersionNo생성 직후 pom 의 5.x parent·RTE 버전을 이 버전으로(alignParent 함의). 5.1.0 은 태그 전 버전 — 기본값은 바꾸지 않음
alignParentNotrue면 생성 직후 pom 의 5.x parent·RTE 버전을 최신 5.0.x(공식 parent 기준)로 맞춤. 기본 false = 공식 템플릿 그대로(Initializr 템플릿은 parent 5.0.0·5.0.1)
projectNameYes프로젝트명(artifactId). 소문자·숫자·하이픈, 예: my-egov-app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.20.0
    • addedInput schema / properties / rteVersion
      Added value: +{
      +  "description": "생성 직후 pom 의 5.x parent·RTE 버전을 이 버전으로(alignParent 함의). 5.1.0 은 태그 전 버전 — 기본값은 바꾸지 않음",
      +  "enum": [
      +    "5.0.0",
      +    "5.0.1",
      +    "5.0.2",
      +    "5.1.0"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.6.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changedv0.46.0
    • addedInput schema / properties / alignParent
      Added value: +{
      +  "default": false,
      +  "description": "true면 생성 직후 pom 의 5.x parent·RTE 버전을 최신 5.0.x(공식 parent 기준)로 맞춤. 기본 false = 공식 템플릿 그대로(Initializr 템플릿은 parent 5.0.0·5.0.1)",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv0.36.1
    • changedInput schema / properties / template / enum
      Previous value: -[
      -  "simple-backend",
      -  "simple-react",
      -  "simple-homepage",
      -  "portal-site",
      -  "enterprise-business",
      -  "web-sample",
      -  "msa-edu"
      -]New value: +[
      +  "simple-backend",
      +  "simple-react",
      +  "simple-homepage",
      +  "portal-site",
      +  "enterprise-business",
      +  "web-sample",
      +  "msa-edu",
      +  "msa-common-components",
      +  "mobile-device-api",
      +  "ai-rag",
      +  "web",
      +  "boot-web",
      +  "batch-file-scheduler",
      +  "batch-file-commandline",
      +  "batch-file-web",
      +  "batch-db-scheduler",
      +  "batch-db-commandline",
      +  "batch-db-web",
      +  "mobile-web",
      +  "mobile-common-components",
      +  "msa-portal-backend",
      +  "msa-portal-frontend"
      +]
  5. Changed3 schema fields changedv0.19.0
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "default": false,
      +  "description": "true면 디스크에 쓰지 않고 생성 예정 내용만 미리보기",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / ref
      Added value: +{
      +  "description": "내려받을 브랜치/태그(미지정 시 템플릿 기본 브랜치). 예: main, v4.3.0",
      +  "type": "string"
      +}
    • changedInput schema / properties / template / enum
      Previous value: -[
      -  "simple-backend",
      -  "simple-react"
      -]New value: +[
      +  "simple-backend",
      +  "simple-react",
      +  "simple-homepage",
      +  "portal-site",
      +  "enterprise-business",
      +  "web-sample",
      +  "msa-edu"
      +]
  6. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses meaningful behavior: it downloads content from GitHub (consistent with openWorldHint=true), writes a project skeleton to a target directory, and dryRun skips disk writes entirely. It also reveals a post-generation mutation step where alignParent/rteVersion rewrite the pom's parent and RTE versions. It does not say what happens if outputDir already contains files.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and the preview option are front-loaded, then version-alignment behavior follows in a logical order. It is slightly repetitive with the schema, which restates the alignParent/rteVersion semantics almost verbatim, so a sentence could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter creation tool with no output schema, the description covers inputs and mutation behavior well but says nothing about what is returned (created paths, summary, errors) or about overwrite behavior when outputDir is non-empty. Those gaps matter for an agent that must chain this with build/diagnose tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description does add real semantics on top of the schema by explaining the interaction between rteVersion and alignParent (rteVersion implies alignParent) and by noting that official Initializr templates ship with parent 5.0.0/5.0.1 and that 5.1.0 is a pre-tag version. The remaining parameters add nothing beyond their schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and resource: it generates a new project skeleton from the official eGovFrame template, downloading it from GitHub and applying projectName/groupId/DB type. This is clearly distinct from siblings such as list_egovframe_templates or build_egovframe_project, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It offers a workflow hint (use dryRun=true to preview before writing) and explains when to set alignParent or rteVersion. However, it never states when to use this tool versus siblings like list_egovframe_templates for discovery or upgrade_egovframe_project for existing projects, and gives no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.