
ubani-studio/clo3d-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
CLO3D를 위한 MCP 서버. Claude, Cursor, 또는 MCP 클라이언트에서 3D 의류 디자인을 제어하십시오.
개요
Claude, Cursor, 또는 MCP 클라이언트에서 CLO3D에 대해 이야기하십시오. 패턴 만들기, 스왑 직물, 시뮬레이션 실행, 수출 모델. 채팅 창에서 모두. CLO3D를 사용한다면 API docs를 통해 파기하지 않고 반복 작업을 스크립트 할 수 있습니다. 1. 오픈 CLO3D 2. 3. 오픈 플러그인 / 클로3d mcp plugin.py 4. 히트 [CLO MCP]를 볼 수 있습니다. 플러그인이 콘솔에서 시작되었습니다. 다음과 같은 것들을 물어보십시오 : - "이 프로젝트에서 어떤 패턴이 있습니까?" - "빨간색으로 정면 붕대 직물을 설정하십시오" - " GLB로 내보내기" - "모든 색도의 턴테이블" (plugin/clo3d mcp plugin.py)는 CLO3D 내부에서 실행됩니다. JSON 명령을 위한 공유된 임시 임시 직원 디렉토리를 polls하는 단일 Python 파일이며, CLO3D Python API를 호출하고 결과를 다시 작성합니다. 외부 의존도 없음, 소켓 없음, CLO3D의 내장 파이썬과 함께 작동합니다. (src/clo3d mcp/)는 디렉토리에 명령을 쓰고 응답을 읽는 Python 패키지입니다. 어떤 MCP 호환 클라이언트 (Claude, Cursor, 등) 그것을 사용할 수 있습니다.
개요(AI 번역)
Claude, Cursor, 또는 MCP 클라이언트에서 CLO3D에 대해 이야기하십시오. 패턴 만들기, 스왑 직물, 시뮬레이션 실행, 수출 모델. 채팅 창에서 모두.
CLO3D를 사용한다면 API docs를 통해 파기하지 않고 반복 작업을 스크립트 할 수 있습니다.
빠른 시작
##1. CLO3D 플러그인로드
하나의 파이썬 파일, 의존성 없음.
- 열려있는 CLO3D 2.Script > 스크립트 편집기
- 오픈
plugin/clo3d_mcp_plugin.py - 히트 ** 론 **
콘솔에서 [CLO MCP] Plugin started과 [CLO MCP] Listening for commands in: ...]를 볼 수 있습니다.
CLO3D 세션당 한 번 실행하십시오. Windows에서 플러그인은 CLO3D의 자체 이벤트 루프로 구동되는 네이티브 타이머를 통해 듣습니다. 그래서 CLO3D는 완전히 사용 가능합니다. 다른 플랫폼에서 차단 루프로 돌아갑니다. Script Editor는 플러그인이 듣는 동안 바빴습니다. 스크립트를 다시 실행 이전의 청취자를 대체합니다.
##2. AI 클라이언트 연결
Claude 코드:
Claude Desktop ([T3]]에 추가):
##3. 이동
다음과 같은 것들:
-
- “이 프로젝트에서 어떤 패턴이 있습니까?”*
- *“빨간색에 정면 bodice 직물을 놓으십시오” *
-
- “Run 100 단계 시뮬레이션 후 GLB로 내보내기”*
-
- “모든 색도의 턴테이블”*
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
CLO3D MCP Server
Talk to CLO3D from Claude, Cursor, or any MCP client. Create patterns, swap fabrics, run simulations, export models. All from a chat window.
If you use CLO3D and you’ve wished you could script repetitive tasks without digging through the API docs, this is for you.
Your AI assistant MCP Server CLO3D Plugin CLO3D
Quick Start
1. Load the plugin in CLO3D
One Python file, no dependencies.
- Open CLO3D
- Script > Script Editor
- Open
plugin/clo3d_mcp_plugin.py - Hit Run
You’ll see [CLO MCP] Plugin started and [CLO MCP] Listening for commands in: ... in the console.
Run it once per CLO3D session. On Windows the plugin listens through a native timer driven by CLO3D’s own event loop, so CLO3D stays fully usable. On other platforms it falls back to a blocking loop: the Script Editor stays busy while the plugin listens. Re-running the script replaces the previous listener.
2. Connect your AI client
Claude Code:
claude mcp add clo3d -- uvx --from git+https://github.com/Ubani-Studio/clo3d-mcp clo3d-mcp
Claude Desktop (add to claude_desktop_config.json):
{
"mcpServers": {
"clo3d": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Ubani-Studio/clo3d-mcp", "clo3d-mcp"]
}
}
}
3. Go
Ask things like:
- “What patterns are in this project?”
- “Set the front bodice fabric to red”
- “Run 100 steps of simulation then export as GLB”
- “Export a turntable of all colorways”
What you get (46 tools)
Scene
| Tool | What it does |
|---|---|
get_project_info |
Project name, file path, CLO version, piece counts |
new_project |
Start fresh |
open_file |
Open .zprj, .zpac, .obj, .fbx, .avt |
save_project |
Save as .zprj |
get_garment_info |
Dump full garment metadata to JSON |
Patterns
| Tool | What it does |
|---|---|
get_pattern_count |
How many pieces |
get_pattern_list |
All pieces with names and indices |
get_pattern_info |
Full detail on one piece |
get_pattern_bounding_box |
Width and height |
set_pattern_name |
Rename a piece |
copy_pattern |
Duplicate at a given position |
delete_pattern |
Remove a piece |
flip_pattern |
Flip horizontal or vertical |
create_pattern |
Build a new piece from vertex points |
get_arrangement_list |
Get avatar arrangement points |
Fabrics
| Tool | What it does |
|---|---|
get_fabric_list |
All fabrics with indices |
add_fabric |
Load a .zfab or .jfab |
replace_fabric |
Swap an existing fabric |
assign_fabric_to_pattern |
Put a fabric on a pattern piece |
set_fabric_color |
Set PBR base color (RGB) |
get_fabric_for_pattern |
Check which fabric is on a piece |
Export
| Tool | What it does |
|---|---|
export_obj |
OBJ with options |
export_fbx |
FBX |
export_glb |
GLB (binary glTF) |
설치
uvx --from git+https://github.com/Ubani-Studio/clo3d-mcp clo3d-mcp설정
{
"mcpServers": {
"clo3d": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Ubani-Studio/clo3d-mcp", "clo3d-mcp"]
}
}
}