From 9a44abe84e35aba9c299d46a486d7d439c7e9739 Mon Sep 17 00:00:00 2001 From: kyeongmin Date: Thu, 2 Jul 2026 17:48:16 +0900 Subject: [PATCH] =?UTF-8?q?docs(#1):=20figma=5Fto=5Fhtml=5Fagent=20MCP=20?= =?UTF-8?q?=EC=9D=98=EC=A1=B4=EC=84=B1=20=EB=AC=B8=EC=84=9C=ED=99=94=20+?= =?UTF-8?q?=20mcp.sample.json=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 이슈 #1 점검 결과 figma_to_html_agent는 이미 main에 추적·push되어 있음을 확인 (9fbe3ac 등에서 커밋됨, origin/main에 408 files 존재). Front_test_v515/ 내 사본은 추적본과 동일 내용의 작업 사본. 남은 갭이던 MCP 의존성 문서화만 반영. Co-Authored-By: Claude Opus 4.8 (1M context) --- figma_to_html_agent/README.md | 25 +++++++++++++++++++++++++ figma_to_html_agent/mcp.sample.json | 8 ++++++++ 2 files changed, 33 insertions(+) create mode 100644 figma_to_html_agent/mcp.sample.json diff --git a/figma_to_html_agent/README.md b/figma_to_html_agent/README.md index c6ed17d..3cf47c7 100644 --- a/figma_to_html_agent/README.md +++ b/figma_to_html_agent/README.md @@ -163,3 +163,28 @@ STEP 10 인덱스 업데이트 — blocks_index.md 1줄 추가 ### 고정 슬라이드 배경 `templates/blocks/slide-base.html` — 16:9 (1280×720), 상단 제목 + 구분선 + 본문 영역 + 하단 결론 pill. + +--- + +## MCP 의존성 (통합 시 추가 — 2026-07-02) + +이 에이전트는 **Figma Desktop Dev Mode MCP 서버**가 필요하다. + +1. Figma Desktop 앱 실행 → Dev Mode MCP 서버 활성화 (기본: `http://127.0.0.1:3845/mcp`) +2. 프로젝트 루트 또는 이 디렉토리의 `mcp.sample.json`을 `.mcp.json`으로 복사: + +```json +{ + "mcpServers": { + "figma-desktop": { + "type": "http", + "url": "http://127.0.0.1:3845/mcp" + } + } +} +``` + +3. Python 도구: Selenium(headless Chrome), Pillow — 렌더 검증용 (선택) + +> 참고: `Front_test_v515/figma_to_html_agent/`(gitignore)에 동일 내용의 작업 사본이 존재한다. +> 2026-07-02 점검 결과 본 디렉토리는 이미 main에 추적·push되어 있음을 확인 (issue #1). diff --git a/figma_to_html_agent/mcp.sample.json b/figma_to_html_agent/mcp.sample.json new file mode 100644 index 0000000..437de5c --- /dev/null +++ b/figma_to_html_agent/mcp.sample.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "figma-desktop": { + "type": "http", + "url": "http://127.0.0.1:3845/mcp" + } + } +}