Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLO_MCP_HOSTNoHost address for the CLO listener TCP socket127.0.0.1
CLO_MCP_PORTNoPort for the CLO listener TCP socket5005
CLO_MCP_TIMEOUTNoTimeout in seconds for long operations (simulate/render)600

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
clo_pingA

Check that CLO is open and the listener is reachable.

clo_shutdownA

Stop the in-CLO listener and hand control back to CLO's UI.

Needed for the blocking main-thread mode CLO uses when no Qt binding is available: the listener occupies CLO until this is called.

import_projectA

Open a CLO project or garment file (.zprj/.zpac/.avt) into the scene.

import_avatarC

Import an avatar file into the scene.

auto_hangC

Auto-hang a garment on a hanger. bottom=True uses bottom hangers.

simulateA

Run cloth simulation for the given number of frames.

add_fabricC

Add a .zfab fabric to the project. Returns its fabric index.

assign_fabricC

Assign an existing fabric to a pattern piece.

set_fabric_colorB

Set a fabric's PBR base color (0..1 floats) for a colorway/face.

copy_colorwayB

Duplicate a colorway. Returns the new colorway index.

set_colorwayC

Make a colorway current, optionally renaming it.

render_imageB

Render the current scene to image(s). Returns the saved file path(s).

export_zprjC

Save the current scene as a .zprj project file.

pattern_countA

Return the number of pattern pieces in the current scene.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Lilbonner/clo3d-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server