Mandu MCP Index

SkillDev tools

MCP tool orchestration router (always-on). Selects the appropriate workflow skill from 108 MCP tools based on context, aggregation-over-granularity priority, anti-pattern catalog. Automatically referenced right before MCP tool calls.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Mandu MCP Index skill

What this skill tells your AI

The instructions your AI receives, as published by konamgil/mandu in docs/archive/skills/package-v0/mandu-mcp-index/SKILL.md and read by ahel’s review.

@mandujs/mcp 는 약 108 개의 MCP 도구를 노출합니다. 이 문서는 flat palette 가 아니라 tiered hierarchy 로 도구를 선택하도록 안내합니다.

핵심 원칙:

  1. Workflow skill 먼저. 개별 도구가 아닌 mandu-mcp-* workflow skill 을 먼저 본다.
  2. 집계 > 세분. 같은 일을 하는 집계 도구가 있으면 그걸 먼저. 실패했을 때만 세분 도구로 drill-down.
  3. 안전망 먼저. refactor_* / 마이그레이션은 mandu.history.snapshot + mandu.tx.begin 안에서만.
  4. 순서는 강제. mandu_create_contractmandu_generate, mandu.history.snapshotrefactor_*.

1. Situation -> Workflow Skill

상황먼저 열 workflow skill보조 task-shaped skill
세션 시작 / "현 상태?" / "무슨 일 있었어?"mandu-mcp-orient
"만들어줘" / 피처·리소스·라우트 추가mandu-mcp-create-flowmandu-create-feature, mandu-create-api
편집 직후 / stop-hook / "check 해줘"mandu-mcp-verifymandu-debug
마이그레이션 / 리팩터 / refactor_*mandu-mcp-safe-change
배포 / release / "deploy"mandu-mcp-deploymandu-deploy
에러 / 증상 기반 진단mandu-mcp-verify -> drill-downmandu-debug
Guard 위반mandu-mcp-verify -> mandu_guard_explainmandu-guard-guide
Island / Hydrationmandu-mcp-verifymandu-hydration, mandu-slot

2. Aggregate > Granular — 우선순위 표

한 번에 처리하는 집계 도구가 있으면 그걸 먼저. 실패/불충분할 때만 세분.

목적집계 (먼저 호출)세분 (drill-down 용도만)
테스트 파이프라인mandu.ate.auto_pipelinemandu.ate.extract, mandu.ate.generate, mandu.ate.run, mandu.ate.heal, mandu.ate.apply_heal
세션 오리엔테이션mandu.ai.briefmandu_get_architecture, mandu_get_decisions, mandu_list_routes
배포 준비mandu.deploy.checkmandu_guard_check, mandu_validate_contracts, mandu_validate_manifest
배포 미리보기mandu.deploy.previewmandu_preview_seo, mandu_write_seo_file
구조/진단mandu_doctormandu_check_import, mandu_check_location
스캐폴드mandu_generate_scaffold (negotiate → scaffold 묶음)mandu_add_route, mandu_create_contract, mandu_generate
피처 생성mandu.feature.createmandu_add_route × n + contract + generate
리소스 생성mandu.resource.createmandu.resource.addField, mandu_create_contract, mandu_generate

규칙:

  • 집계 도구 실패 시에만 개별 도구로 분해한다. "4번 부르면 뭐 하는지 알 수 있을 것 같아서" 라는 이유로 extract → generate → run → heal 을 수동으로 호출하지 않는다.
  • 집계 도구는 내부에서 올바른 순서 / 병렬화 / 실패 복구 를 이미 구현하고 있다. 손으로 재조립하면 그 보장을 잃는다.

3. Tiered Tool Hierarchy (108 tools)

전체 나열이 아니라 계층 이다. 각 티어 안에서 "먼저 볼 곳" 이 정해져 있다.

Tier 0 — Aggregate Orchestrators (먼저 본다)

  • mandu.ai.brief — 세션 진입용 종합 브리핑
  • mandu.ate.auto_pipeline — ATE 전체 파이프라인 (extract/generate/run/heal)
  • mandu.deploy.check — guard + contract + manifest 병렬 검사
  • mandu.deploy.preview — 프로덕션 빌드 사전 리허설
  • mandu_doctor (alias of mandu.brain.doctor) — 구조/임포트/위치 진단
  • mandu.feature.create, mandu.resource.create — 복합 스캐폴드
  • mandu_generate_scaffold (alias of mandu.negotiate.scaffold) — negotiate→scaffold 묶음

Tier 1 — Domain Entry Points

DomainEntry tool역할
Architecturemandu_get_architecture (alias mandu.brain.architecture)프리셋/레이어 규칙
Decisionsmandu_get_decisionsADR / 결정 이력
Contractmandu_list_contracts, mandu_create_contractZod 계약
Routesmandu_list_routes, mandu_add_routeFS 라우트
Islandmandu_list_islands, mandu_set_hydration하이드레이션
Slotmandu_read_slot, mandu_validate_slot서버 로더
SEOmandu_preview_seo, mandu_write_seo_file메타/sitemap/robots
Runtimemandu_get_runtime_config실행 구성
Guardmandu_guard_check, mandu_guard_heal, mandu_guard_explain아키텍처 강제
Historymandu.history.snapshot, mandu_list_history, mandu_prune_history스냅샷
Transactionmandu_begin, mandu_commit, mandu_rollback, mandu_tx_status트랜잭션
Kitchenmandu_kitchen_errors런타임 에러 스트림

Tier 2 — Granular Operations (drill-down 시에만)

  • ATE 개별: mandu.ate.extract, mandu.ate.generate, mandu.ate.run, mandu.ate.report, mandu.ate.heal, mandu.ate.apply_heal, mandu.ate.impact, mandu.ate.feedback
  • Brain 세분: mandu_check_import, mandu_check_location, mandu_watch_start, mandu_watch_stop, mandu_watch_status
  • Contract 세분: mandu_get_contract, mandu_update_route_contract, mandu_validate_contracts, mandu_sync_contract_slot, mandu_generate_openapi
  • Resource 세분: mandu.resource.list, mandu.resource.get, mandu.resource.addField, mandu.resource.removeField
  • SEO 세분: mandu_generate_sitemap_preview, mandu_generate_robots_preview, mandu_create_jsonld, mandu_seo_analyze

Tier 3 — Destructive / AI Refactor (항상 Safe-Change wrapper)

이 레이어의 도구는 반드시 mandu-mcp-safe-change 레시피 안에서만 호출한다. mandu.history.snapshot 선행 + mandu.tx.begin 래핑 필수.

  • mandu.refactor.rewriteGeneratedBarrel
  • mandu.refactor.migrateRouteConventions
  • mandu.refactor.extractContract

4. Anti-Pattern Catalog

다음 패턴이 감지되면 즉시 멈추고 대응 워크플로우로 전환한다.

AP-1 — ATE 수동 조합

  • 증상: mandu.ate.extractmandu.ate.generatemandu.ate.runmandu.ate.heal 를 개별 호출.
  • 왜 안 되나: mandu.ate.auto_pipeline 이 이 시퀀스를 내부에서 올바른 순서와 실패 복구로 실행한다. 수동 조합은 왕복 4배 + 오더링 버그 + 실패 지점에서 멈추지 못함.
  • 대응: mandu-mcp-verify 의 fast path (mandu.ate.auto_pipeline) 사용. 실패 응답이 개별 도구를 지시할 때만 분해.

AP-2 — Generate before Contract

  • 증상: mandu_generatemandu_create_contract 없이 호출.
  • 왜 안 되나: 생성물 (.mandu/generated/**) 의 타입이 unstable. Re-generate 시 매번 변경되고, API-호출 쪽 타입이 부유.
  • 대응: mandu-mcp-create-flow 순서 (negotiate → route/resource → contract → generate) 고정.

AP-3 — Refactor without Snapshot

  • 증상: mandu.refactor.* 또는 마이그레이션을 mandu.history.snapshot 없이 호출.
  • 왜 안 되나: 롤백 포인트가 없어 실패 시 수동 복구 불가. Git 이 있어도 .mandu/generated/** 같은 생성물은 추적 밖.
  • 대응: mandu-mcp-safe-change 레시피 (snapshot → tx_begin → edit+verify → commit/rollback).

AP-4 — Name-Match Tool Pick

  • 증상: "이름이 맞아 보여서" 108개 중 하나를 직접 호출. 예: "build 니까 mandu_build" "deploy 니까 mandu.deploy.*".
  • 왜 안 되나: 같은 도메인에 3-4개 도구가 있고 집계 도구가 우선한다. 잘못 고르면 효과가 없거나 순서가 깨진다.
  • 대응: 먼저 이 index 의 Situation → Workflow Skill 표에서 workflow skill 을 고르고, workflow skill 이 지시하는 도구만 호출.

AP-5 — Guard After Commit

  • 증상: mandu_guard_checkgit commit 후 실행.
  • 왜 안 되나: 위반을 커밋 안에 박음. CI 에서 reject 되거나 revert 부담.
  • 대응: mandu-mcp-verify fast path 를 편집 직후 / pre-commit hook 으로.

AP-6 — Parallel Mutation Without Transaction

  • 증상: mandu_add_route, mandu_create_contract, mandu_generatemandu.tx.begin 없이 독립적으로.
  • 왜 안 되나: 중간에 실패하면 반쯤 만들어진 상태가 남는다. (예: route 만 있고 contract 없음 → guard violation.)
  • 대응: 복합 스캐폴드는 mandu.resource.create / mandu.feature.create / mandu_generate_scaffold 집계로, 또는 mandu-mcp-safe-change 로.

AP-7 — Manual Build Pipeline

  • 증상: 배포 전에 mandu_build, mandu_guard_check, mandu_validate_contracts, mandu_validate_manifest, mandu_preview_seo 를 손으로 나열.
  • 왜 안 되나: mandu.deploy.check + mandu.deploy.preview 가 이 시퀀스를 올바른 순서와 병렬로 이미 처리한다.
  • 대응: mandu-mcp-deploy 레시피.

5. Escalation Flow

요청 도착
  → mandu-mcp-index (이 문서) 로 상황 매핑
  → 해당 workflow skill 오픈
    → 집계 도구 먼저 호출
      → 통과: 종료
      → 실패: workflow skill 의 drill-down 섹션으로만 진입
    → 필요시 task-shaped skill (mandu-debug, mandu-guard-guide, ...) 참조

이 순서를 뒤집지 않는다. 특히 108개 도구 목록을 직접 훑지 않는다 — workflow skill 이 고른 도구만 호출한다.

See Also

  • mandu-mcp-orient — 세션 시작 시 상태 파악
  • mandu-mcp-create-flow — 스펙 우선 생성
  • mandu-mcp-verify — 편집 후 검증
  • mandu-mcp-safe-change — 위험 변경 트랜잭션
  • mandu-mcp-deploy — 빌드/배포
  • mandu-create-feature, mandu-create-api, mandu-debug, mandu-guard-guide — 도메인 지식 skill

Signals

GitHub stars
46
Forks
3
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
mandu-mcp-index
Source
github.com/konamgil/mandu