CLO3D MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CLO3D MCP ServerSwap the front bodice fabric to denim."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 <--> CLO3DQuick Start
1. Load the plugin in CLO3D
One Python file, no dependencies.
Open CLO3D
Script > Script Editor
Open
plugin/clo3d_mcp_plugin.pyHit Run
You'll see [CLO MCP] Plugin started in the console.
2. Connect your AI client
Claude Code:
claude mcp add clo3d -- uvx clo3d-mcpClaude Desktop (add to claude_desktop_config.json):
{
"mcpServers": {
"clo3d": {
"command": "uvx",
"args": ["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 (33 tools)
Scene
Tool | What it does |
| Project name, file path, CLO version, piece counts |
| Start fresh |
| Open .zprj, .zpac, .obj, .fbx, .avt |
| Save as .zprj |
| Dump full garment metadata to JSON |
Patterns
Tool | What it does |
| How many pieces |
| All pieces with names and indices |
| Full detail on one piece |
| Width and height |
| Rename a piece |
| Duplicate at a given position |
| Remove a piece |
| Flip horizontal or vertical |
| Build a new piece from vertex points |
| Get avatar arrangement points |
Fabrics
Tool | What it does |
| All fabrics with indices |
| Load a .zfab or .jfab |
| Swap an existing fabric |
| Put a fabric on a pattern piece |
| Set PBR base color (RGB) |
| Check which fabric is on a piece |
Export
Tool | What it does |
| OBJ with options |
| FBX |
| GLB (binary glTF) |
| glTF |
| 3D viewport screenshot |
| Multi-view snapshots |
| 360 turntable image sequence |
| Tech pack with JSON + images |
Import
Tool | What it does |
| Auto-detect and import any supported format |
Simulation
Tool | What it does |
| Run cloth sim for N steps |
Colorways
Tool | What it does |
| List all colorways |
| 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) │ │ │
└─────────────────┘ └──────────────────┘ └────────┘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.
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
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-mcpLicense
MIT. See LICENSE.
CLO3D SDK headers in sdk/ are provided by CLO Virtual Fashion for plugin development. You need your own CLO3D license.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ubani-Studio/clo3d-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server