clo3d-mcp
MCP server for CLO3D. Control 3D garment design from Claude, Cursor, or any MCP client.
Install / Use
claude mcp add Ubani-Studio -- npx -y github:Ubani-Studio/clo3d-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of clo3d-mcp
clo3d-mcp scores 82/100 on our quality scale, 3240th of 4,596 Development & Engineering skills we index.
Its MCP Server is 7.1 KB long, well organised into 24 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.
It has 43 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 5 days ago, so clo3d-mcp is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
clo3d-mcp compared with similar skills
All 4 of these similar skills score higher than clo3d-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| clo3d-mcp (this skill)by Ubani-Studio | 82 | 43 | 5d ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 101.7k | 3d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 101.4k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 77.7k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 64.2k | 3d ago | CLAUDE.md |
Frequently asked questions
- How do I install clo3d-mcp?
- Run
claude mcp add Ubani-Studio -- npx -y github:Ubani-Studio/clo3d-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does clo3d-mcp work with?
- It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
- Is clo3d-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is clo3d-mcp still maintained?
- The repository was last updated 5 days ago, so clo3d-mcp is actively maintained.
Skill content
View source on GitHubCLO3D 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) |
| export_gltf | glTF |
| export_thumbnail | 3D viewport screenshot |
| export_snapshot | Multi-view snapshots |
| export_turntable | 360 turntable image sequence |
| export_tech_pack | Tech pack with JSON + images |
Import
| Tool | What it does |
|------|-------------|
| import_file | Auto-detect and import any supported format |
Simulation
| Tool | What it does |
|------|-------------|
| simulate | Run cloth sim for N steps |
Colorways
| Tool | What it does |
|------|-------------|
| get_colorways | List all colorways |
| set_current_colorway | Switch the active colorway |
How it works
Two pieces:
The plugin (plugin/clo3d_mcp_plugin.py) runs inside CLO3D. It's a single Python file that polls a shared temp directory for JSON commands, calls the CLO3D Python API, and writes results back. No external dependencies, no sockets, works with CLO3D's built-in Python.
The MCP server (src/clo3d_mcp/) is a Python package that writes commands to that directory and reads responses. Any MCP-compatible client (Claude, Cursor, etc.) can use it.
┌─────────────────┐ file-based IPC ┌──────────────────┐ CLO3D API ┌────────┐
│ MCP Server │ ◄──────────────► │ CLO3D Plugin │ ◄──────────────► │ CLO3D │
│ (clo3d-mcp) │ %TEMP%/clo3d_mcp │ (Python script) │ │ │
└─────────────────┘ └──────────────────┘ └────────┘
Your own tools
Keep house tools (your blocks, your naming scheme, your grading rules) in your own folder, private if you like, and the server loads them beside the built-ins. No fork.
# my_tools/house.py
def register(ext):
@ext.tool()
def prefix_pieces(prefix: str) -> dict:
"""Prefix every pattern piece name."""
pieces = ext.send("get_pattern_list")["patterns"]
for p in pieces:
ext.send("set_pattern_name", {"pattern_index": p["index"], "name": f"{prefix}-{p['name']}"})
return {"renamed": len(pieces)}
Point the server at the folder:
claude mcp add clo3d -e CLO3D_MCP_EXTENSIONS=/path/to/my_tools -- uvx --from git+https://github.com/Ubani-Studio/clo3d-mcp clo3d-mcp
Several folders or files are separated by : (; on Windows). Files starting with _ are skipped, so helpers can sit beside the tools. ext.send uses the commands the plug-in already handles. A file that fails to load is named in the server's log and by the list_extensions tool, never skipped in silence, and an extension cannot replace a built-in tool.
Troubleshooting
"Cannot find CLO3D communication directory": Is CLO3D running? Did you run the plugin script?
Plugin errors: Check the Script Editor console in CLO3D for Python tracebacks.
Every call times out although the plugin says it started: CLO3D's embedded Python does not run background threads once a script returns. Make sure you run the current plugin, which does not rely on a background thread.
Simulation/export timeout: These can take a while. The default timeout is 180 seconds.
Custom comm directory: Set the CLO3D_MCP_DIR environment variable to override the default shared directory path.
Requirements
- CLO3D with Python scripting support
- Python 3.10+
- uv or pip
Testing
clo3d-mcp is tested by the people who use it, on the CLO3D versions they run. If you try it, working or not, file a Tested on report: your CLO3D version, OS, client and what happened. It takes two minutes, failures count as much as successes, and every tester is credited in the next release.
Questions, ideas and polls on what to build next live in Discussions.
Development
git clone https://github.com/Ubani-Studio/clo3d-mcp.git
cd clo3d-mcp
# Install dev dependencies
uv sync --dev
# Run tests (no CLO3D needed, uses a mock server)
uv run pytest tests/ -v
# Run the MCP server locally
uv run clo3d-mcp
License
MIT for the code authored here. See LICENSE.
This repository contains no CLO3D SDK material. The plugin uses only the Python API that ships inside CLO3D, so you need your own CLO3D licence and nothing else from CLO.
Related Skills
taste-skill
101.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
101.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
77.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
64.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
