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" + } + } +}