본문으로 건너뛰기
제품 -> ERD가격문서블로그로그인EnglishERD 시작하기

MCP Tool Reference

Ainecto MCP 서버는 단일 namespace mcp__ainecto__ 아래 102개 tool을 제공합니다. 기존 product별 namespace prefix는 더 이상 등록되지 않습니다.

카탈로그는 다섯 그룹으로 나뉩니다.

그룹개수범위
Generic backbone37workspace, project, folder, document, version, share, attachment, search
ERD22ERD content: table, ref, table group, enum, batch apply, auto layout
Flow19flow diagram node, edge, group, LLM request handoff
Testcase22scenario, testcase, run, execution, step check
Readme2README append와 AI generation helper

정확한 기계 판본 JSON Schema는 MCP tools/list 응답이 단일 진실원입니다. 이 문서는 같은 카탈로그를 prompt 작성과 수동 확인에 맞게 요약합니다.


이름 규칙

  • 모든 tool 이름은 mcp__ainecto__로 시작합니다.
  • 문서 타입은 erd, flow_diagram, readme, testcase입니다.
  • 최상위 group 용어는 workspace로 통일되었습니다. workspaceUuid / workspaceId를 사용하며 workspace에 groupUuid를 쓰지 않습니다.
  • ERD 문서 자체의 생성/목록/수정/삭제는 generic document tool을 사용합니다: create_documents(type=erd), list_documents(type=erd), get_document, update_documents, delete_documents.
  • ERD content tool은 부모 ERD 문서를 documentUuid로 받습니다.
  • Flow residual tool은 부모 flow_diagram 문서를 diagramUuid로 받습니다.
  • Testcase scenario/testcase는 부모 testcase 문서를 documentUuid로 받습니다. run은 project-level이며 numeric projectId를 사용합니다.
  • public share는 enable_shares(targetType=project|folder|document, targetUuids)disable_shares(...)로 통합되었습니다.

Generic Backbone Tools (37)

Tool주요 input shape목적
mcp__ainecto__list_workspaces없음접근 가능한 workspace 목록
mcp__ainecto__get_workspaceuuidworkspace 단건 조회
mcp__ainecto__create_workspacesitems[]workspace 생성
mcp__ainecto__update_workspacesitems[].uuidworkspace 이름/속성 수정
mcp__ainecto__delete_workspacesuuids[]workspace archive
mcp__ainecto__unarchive_workspacesuuids[]archive된 workspace 복원
mcp__ainecto__list_projectsworkspaceUuid?project 목록
mcp__ainecto__get_projectuuidproject 단건 조회
mcp__ainecto__create_projectsitems[].workspaceUuid, items[].nameproject 생성
mcp__ainecto__update_projectsitems[].uuidproject 수정
mcp__ainecto__delete_projectsuuids[]project archive
mcp__ainecto__unarchive_projectsuuids[]archive된 project 복원
mcp__ainecto__list_foldersprojectUuid?, parentUuid?folder 목록
mcp__ainecto__create_foldersitems[].projectUuid, items[].namefolder 생성
mcp__ainecto__update_foldersitems[].uuidfolder 이름 수정
mcp__ainecto__move_foldersitems[].uuid, items[].parentUuid?folder 이동
mcp__ainecto__delete_foldersuuids[]folder archive
mcp__ainecto__unarchive_foldersuuids[]archive된 folder 복원
mcp__ainecto__list_documentsprojectUuid?, folderUuid?, type?, q?, limit?document 목록 또는 검색
mcp__ainecto__get_documentuuiddocument 단건 조회
mcp__ainecto__create_documentsitems[].projectUuid, items[].type, items[].title, items[].typePayload?ERD, flow, README, testcase document 생성
mcp__ainecto__update_documentsitems[].uuid, items[].title?, items[].typePayload?document metadata 또는 type payload 수정
mcp__ainecto__move_documentsitems[].uuid, items[].folderUuid?document 이동
mcp__ainecto__delete_documentsuuids[]document archive
mcp__ainecto__unarchive_documentsuuids[]archive된 document 복원
mcp__ainecto__list_trash선택 filterarchive된 resource 조회
mcp__ainecto__list_versionsdocumentUuiddocument version 목록
mcp__ainecto__get_versiondocumentUuid, versionversion snapshot 조회
mcp__ainecto__restore_versionsitems[].documentUuid, items[].version이전 version 복원
mcp__ainecto__enable_sharestargetType, targetUuids[]project/folder/document public share 활성화
mcp__ainecto__disable_sharestargetType, targetUuids[]public share 비활성화
mcp__ainecto__list_attachmentsprojectUuid?, documentUuid?attachment 목록
mcp__ainecto__get_attachmentuuidattachment metadata 조회
mcp__ainecto__upload_attachmentsitems[]attachment 업로드
mcp__ainecto__delete_attachmentsuuids[]attachment 삭제/archive
mcp__ainecto__request_upload_tokenpurpose, scopeJson?, maxBytes?, ttlSeconds?upload 또는 one-shot MCP call token 발급
mcp__ainecto__search_documentsq, type?, projectUuid?, limit?, offset?document full-text search

Document CUD Schema

document CUD는 복수형 tool을 사용합니다. 각 items[] 원소는 document type과 선택적 typePayload를 가집니다.

{
"items": [
{
"projectUuid": "<project-uuid>",
"folderUuid": "<optional-folder-uuid>",
"type": "erd",
"title": "Production schema",
"typePayload": {}
}
]
}

type별 payload:

TypetypePayload
erd보통 비워 둡니다. ERD content는 erd_* tool로 관리합니다.
flow_diagramdiagramSource?, sourceLanguage?, edgeStyle?, isModule?, metadata?
readmebody
testcasedefaultEnvironment?, defaultTestAccount?

README 본문이 크면 mcp__ainecto__request_upload_tokenpurpose=document.create, document.update, document.append 중 하나로 호출한 뒤, chat prompt가 아니라 upload endpoint로 직접 본문을 전송하세요.


ERD Tools (22)

ERD document lifecycle은 generic tool이 담당합니다. list_documents(type=erd)로 ERD document를 찾은 뒤, 해당 UUID를 documentUuid로 넘겨 아래 tool을 호출합니다.

Tool주요 input shape목적
mcp__ainecto__erd_apply_changesdocumentUuid, description, operations[], arrangeNewTables?ERD entity 일괄 create/update/delete
mcp__ainecto__erd_arrange_tablesdocumentUuid, full?신규 또는 전체 table 자동 정렬
mcp__ainecto__erd_list_tablesdocumentUuidtable 목록
mcp__ainecto__erd_get_tabledocumentUuid, tableUuidtable 단건 조회
mcp__ainecto__erd_create_tablesdocumentUuid, description, tables[]table 생성
mcp__ainecto__erd_update_tablesdocumentUuid, description, tables[].tableUuidtable 수정
mcp__ainecto__erd_delete_tablesdocumentUuid, description, tableUuids[]table 삭제
mcp__ainecto__erd_list_refsdocumentUuidrelationship 목록
mcp__ainecto__erd_get_refdocumentUuid, refUuidrelationship 단건 조회
mcp__ainecto__erd_create_refsdocumentUuid, description, refs[]relationship 생성
mcp__ainecto__erd_update_refsdocumentUuid, description, refs[].refUuidrelationship 수정
mcp__ainecto__erd_delete_refsdocumentUuid, description, refUuids[]relationship 삭제
mcp__ainecto__erd_list_table_groupsdocumentUuidtable group 목록
mcp__ainecto__erd_get_table_groupdocumentUuid, tableGroupUuidtable group 단건 조회
mcp__ainecto__erd_create_table_groupsdocumentUuid, description, tableGroups[]table group 생성
mcp__ainecto__erd_update_table_groupsdocumentUuid, description, tableGroups[].tableGroupUuidtable group 수정
mcp__ainecto__erd_delete_table_groupsdocumentUuid, description, tableGroupUuids[]table group 삭제
mcp__ainecto__erd_list_enumsdocumentUuidenum 목록
mcp__ainecto__erd_get_enumdocumentUuid, enumUuidenum 단건 조회
mcp__ainecto__erd_create_enumsdocumentUuid, description, enums[]enum 생성
mcp__ainecto__erd_update_enumsdocumentUuid, description, enums[].enumUuidenum 수정
mcp__ainecto__erd_delete_enumsdocumentUuid, description, enumUuids[]enum 삭제

주요 ERD schema:

  • erd_create_tables.tables[]: name 필수, 선택 schemaName, alias, note, headerColor, displayOrder.
  • erd_update_tables.tables[]: tableUuid 필수, 선택 name, schemaName, alias, note, headerColor, displayOrder.
  • erd_create_refs.refs[]: fromTableUuid, toTableUuid, refColumns[] 필수, 선택 name, relationship, onDelete, onUpdate.
  • refColumns[]: {fromColumnUuid, toColumnUuid}.
  • erd_apply_changes.operations[]: {op: create|update|delete, type, uuid?, data?}. typetable, column, index, index_column, ref, ref_column, enum, enum_value, table_group, table_group_table, table_group_note, filter, note 중 하나입니다.

Flow Tools (19)

Flow document lifecycle은 generic tool이 담당합니다. create_documents(type=flow_diagram) 또는 list_documents(type=flow_diagram)로 document를 다루고, residual flow_* tool에는 document UUID를 diagramUuid로 넘깁니다.

Tool주요 input shape목적
mcp__ainecto__flow_apply_changesdiagramUuid, description, nodes?, edges?, groups?node/edge/group 일괄 변경
mcp__ainecto__flow_list_nodesdiagramUuidnode 목록
mcp__ainecto__flow_get_nodediagramUuid, nodeUuidnode 단건 조회
mcp__ainecto__flow_create_nodesdiagramUuid, description, nodes[]node 생성
mcp__ainecto__flow_update_nodesdiagramUuid, description, nodes[].uuidnode 수정
mcp__ainecto__flow_delete_nodesdiagramUuid, description, nodeUuids[]node 삭제
mcp__ainecto__flow_list_edgesdiagramUuidedge 목록
mcp__ainecto__flow_get_edgediagramUuid, edgeUuidedge 단건 조회
mcp__ainecto__flow_create_edgesdiagramUuid, description, edges[]edge 생성
mcp__ainecto__flow_update_edgesdiagramUuid, description, edges[].uuidedge 수정
mcp__ainecto__flow_delete_edgesdiagramUuid, description, edgeUuids[]edge 삭제
mcp__ainecto__flow_list_groupsdiagramUuidgroup 목록
mcp__ainecto__flow_get_groupdiagramUuid, groupUuidgroup 단건 조회
mcp__ainecto__flow_create_groupsdiagramUuid, description, groups[]group 생성
mcp__ainecto__flow_update_groupsdiagramUuid, description, groups[].uuidgroup 수정
mcp__ainecto__flow_delete_groupsdiagramUuid, description, groupUuids[]group 삭제
mcp__ainecto__flow_get_pending_llm_requestsdiagramUuidpending LLM handoff request 목록
mcp__ainecto__flow_submit_llm_resultrequest-specific payloadLLM result 제출
mcp__ainecto__flow_update_llm_request_statusrequest-specific payloadLLM request status 수정

flow_apply_changes는 node/edge/group item마다 action: create|update|delete를 사용합니다. node field에는 type, text, shape, x, y, width, height, groupUuid, fillColor, strokeColor, textColor가 있고, edge field에는 fromUuid, toUuid, label, bridgeType, lineStyle, strokeColor, strokeWidth가 있습니다.


Testcase Tools (22)

testcase document는 generic document tool에서 type=testcase로 생성하거나 찾습니다. scenario/testcase tool은 documentUuid를 사용하고, run tool은 project-level numeric projectId를 사용합니다.

Tool주요 input shape목적
mcp__ainecto__testcase_list_scenariosdocumentUuidscenario 목록
mcp__ainecto__testcase_create_scenariositems[].documentUuid, items[].namescenario 생성
mcp__ainecto__testcase_update_scenariositems[].scenarioIdscenario 수정
mcp__ainecto__testcase_archive_scenariosscenarioIds[]scenario archive
mcp__ainecto__testcase_reorder_scenariosreorder payloadscenario 순서 변경
mcp__ainecto__testcase_list_testcasesdocumentUuidtestcase 목록
mcp__ainecto__testcase_get_testcasetestcaseIdtestcase 단건 조회
mcp__ainecto__testcase_create_testcasesitems[].scenarioId, items[].titletestcase 생성
mcp__ainecto__testcase_update_testcasesitems[].testcaseIdtestcase 수정
mcp__ainecto__testcase_delete_testcasestestcaseIds[]testcase 삭제
mcp__ainecto__testcase_reorder_testcasesreorder payloadtestcase 순서 변경
mcp__ainecto__testcase_list_runsprojectIdtest run 목록
mcp__ainecto__testcase_get_runrunIdrun 단건 조회
mcp__ainecto__testcase_create_runsitems[].projectId, items[].nametest run 생성
mcp__ainecto__testcase_update_runsitems[].runIdtest run 수정
mcp__ainecto__testcase_complete_runsrunIds[]run 완료 처리
mcp__ainecto__testcase_delete_runsrunIds[]run 삭제
mcp__ainecto__testcase_list_executionsrun/testcase filterexecution 목록
mcp__ainecto__testcase_record_executionsitems[].runId, items[].testCaseId, items[].resultexecution result 기록
mcp__ainecto__testcase_list_step_checkstestcase/step filterstep check 목록
mcp__ainecto__testcase_upsert_step_checksstep-check payloadstep check 생성/수정
mcp__ainecto__testcase_remove_run_casesrun/case payloadrun에서 testcase 제거

execution result 값은 PASSED, FAILED, BLOCKED, SKIPPED, UNTESTED, IN_PROGRESS입니다.


Readme Tools (2)

README document의 full-body create/update는 generic tool을 사용합니다. create_documents(type=readme) 또는 update_documents에서 typePayload.body를 넘기세요.

Tool주요 input shape목적
mcp__ainecto__readme_append_documentdocument append payload기존 README에 markdown append
mcp__ainecto__readme_generate_documentprompt/project payloadAI로 README document 생성

예시

ERD document 찾기

{
"name": "mcp__ainecto__list_documents",
"arguments": {
"type": "erd",
"q": "production schema",
"limit": 10
}
}

ERD document 생성

{
"name": "mcp__ainecto__create_documents",
"arguments": {
"items": [
{
"projectUuid": "<project-uuid>",
"type": "erd",
"title": "Billing schema"
}
]
}
}

ERD document에 table 생성

{
"name": "mcp__ainecto__erd_create_tables",
"arguments": {
"documentUuid": "<erd-document-uuid>",
"description": "Add notification tables",
"tables": [
{"name": "notifications"},
{"name": "notification_deliveries"}
]
}
}

외래 키 추가

먼저 mcp__ainecto__erd_get_table로 table/column UUID를 조회한 뒤 호출합니다.

{
"name": "mcp__ainecto__erd_create_refs",
"arguments": {
"documentUuid": "<erd-document-uuid>",
"description": "FK notifications.user_id to users.id",
"refs": [
{
"fromTableUuid": "<notifications-table-uuid>",
"toTableUuid": "<users-table-uuid>",
"relationship": ">",
"onDelete": "CASCADE",
"refColumns": [
{
"fromColumnUuid": "<notifications-user-id-column-uuid>",
"toColumnUuid": "<users-id-column-uuid>"
}
]
}
]
}
}

README document 생성

{
"name": "mcp__ainecto__create_documents",
"arguments": {
"items": [
{
"projectUuid": "<project-uuid>",
"type": "readme",
"title": "API notes",
"typePayload": {
"body": "# API notes\n\nInitial draft."
}
}
]
}
}

document 공유 활성화

{
"name": "mcp__ainecto__enable_shares",
"arguments": {
"targetType": "document",
"targetUuids": ["<document-uuid>"]
}
}

오류 처리

tool은 표준 JSON-RPC error response를 반환합니다.

Error원인
401 Unauthorizedtoken 누락 또는 만료. 재인증 필요
403 Forbiddenview/edit 권한 없음
404 Not Foundworkspace, project, folder, document 또는 entity UUID 오류
409 Conflict동시 편집 충돌. 현재 상태를 다시 읽고 재시도
429 Too Many Requestsrate limit. backoff 후 재시도

namespace 전환 후 tool call이 실패하면 먼저 tool 이름이 mcp__ainecto__로 시작하는지, document 작업이 새 복수형 CUD shape를 사용하는지 확인하세요.